Difference between revisions of "Advanced Annotation Search"

From Protege Wiki

Jump to: navigation, search
(Operators)
(Logical Operators)
Line 46: Line 46:
 
=== Logical Operators ===
 
=== Logical Operators ===
  
table
+
The order of precedence corresponds to it's position in the table
 +
 
 +
{| class="wikitable"
 +
|-
 +
! Logical Operation !! Operator Symbols
 +
|-
 +
| Groupers || <FONT FACE="courier" SIZE=2>(, )</FONT>
 +
|-
 +
| And || <FONT FACE="courier" SIZE=2>and, &, &&</FONT>
 +
|-
 +
| Exclusive Or || <FONT FACE="courier" SIZE=2>exclusiveor, ^</FONT>
 +
|-
 +
| Or || <FONT FACE="courier" SIZE=2><NOWIKI>or, |, ||</NOWIKI></FONT>
 +
|}
  
 
=== Examples ===
 
=== Examples ===
  
 
lots of text
 
lots of text

Revision as of 18:33, July 17, 2012

Advanced Annotation Search

by Mark Helenurm

Screenshot

Type View
Author(s) Mark Helenurm
Last Update July 17, 2012
License not available
Homepage not available
For Application
Topic(s)
Affiliation

A search function to find entities based on annotation data.

Contents


Versions & Compatibility

This section lists available versions of Advanced Annotation Search.

Version Compatible with Dependencies
Advanced Annotation Search 1.0.1

If you click on the button below to add a new version of Advanced Annotation Search, you will be asked to define a page title for the new version. Please adhere to the naming convention of Advanced Annotation Search X.X.X when you define the new page!

Changelog

Version Changes in this version
Advanced Annotation Search 1.0.1 Initial Release


Usage Guide

Basic Syntax

Expressions you type in the text field are broken down into "terms". A term is either a single word, or an item separated by quotation marks (""). For a basic search, you can type a single term into the box (e.g. "dorsal fin" or puppies). For a more complex expression, you use groups of three terms (called triples), which are broken down into the annotation type, the operator, and the search term. For example, if you want all comment annotations that contain the term "dermal bone", you would search: comment contains "dermal bone". If you want to search for an even more complex expression (for example, you know the comment annotation contains the phrase "phenoscape" and the age annotation is greater than 19), you break the two search terms up with a logical operator (and, or, exclusiveor). So in this example, your search string would be: comment contains phenoscape and age > 19.

Operators

Operation Operator Symbols Domain
Contains contains, ~ Strings
Doesn't Contain doesntcontain, !~ Strings
Equals equals, isequalto, =, == Strings, Numbers
Doesn't Equal doesntequal, != Strings, Numbers
Greater Than greaterthan, > Numbers
Less Than lessthan, < Numbers
Greater Than or Equal to greaterthanorequalto, gequalto, gequal, >= Numbers
Less Than or Equal to lessthanorequalto, lequalto, lequal, <= Numbers

Logical Operators

The order of precedence corresponds to it's position in the table

Logical Operation Operator Symbols
Groupers (, )
And and, &, &&
Exclusive Or exclusiveor, ^
Or or, |, ||

Examples

lots of text
Personal tools