Main»How To Work With Visual Queries Or Patterns

How To Work With Visual Queries Or Patterns

How to work with visual queries (or ontology patterns)

Once a collection of visual queries (or patterns) is present (see How to define visual queries and How to work with analysis contexts), each pattern can be used in 4 distinct modes. We illustrate this through a naif example. Advanced usages are shwon in How to use inference.

Instructions

1 Add patterns. Add all the matches of the entire pattern in teh knowledge base to the current graph. An example of a result is shown here (note that a yCircle layout is automatically performed):

2 Add variables. As the above, but add only variables, and not all the patterns. The corresponding result is illustrated below (note that a yCircle layout is automatically performed):

3 Search Variables. Search (and select) in the current graph the variables for which there is a specific match in teh ontology. In the above examples, it searches in the current graph all elements that in the ontology are known to of rdf:type bp-exp-2:protein. When the current graph is the result of 1, this obviously leads to the fallowing selection:

Actual variables matches are also shown in a pattern panel:

4 Search patterns. As for 3, but search for whole patterns instead of varibles only. A pattern searched on the graph generated through itself (1) obviously selects all the graph:

FAQ