Advanced Annotation Search

From Protege Wiki

Revision as of 18:34, July 17, 2012 by Mark Helenurm (Talk | contribs)

Jump to: navigation, search

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

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

(order of operations corresponds to table position)

Examples

lots of text
Personal tools