Main.HowToDefineVisualQueries History

Hide minor edits - Show changes to output

January 31, 2008, at 10:02 AM by 129.20.167.23 -
Added lines 1-2:
!!! How to define visual queries (or ontology patterns)
Added line 5:
!! Instructions
Changed lines 38-39 from:

to:
!! FAQ
June 11, 2006, at 08:13 PM by 157.99.164.30 -
Changed lines 7-8 from:
%width=650px% http://www.sgtp.net/AndreaSplendiani/ext/rdfscape/VisualQuery2.jpg
to:
%width=700px% http://www.sgtp.net/AndreaSplendiani/ext/rdfscape/VisualQuery2.jpg
June 11, 2006, at 08:12 PM by 157.99.164.30 -
Changed lines 7-8 from:
%width=500px% http://www.sgtp.net/AndreaSplendiani/ext/rdfscape/VisualQuery2.jpg
to:
%width=650px% http://www.sgtp.net/AndreaSplendiani/ext/rdfscape/VisualQuery2.jpg
June 11, 2006, at 08:11 PM by 157.99.164.30 -
Changed lines 7-8 from:
http://www.sgtp.net/AndreaSplendiani/ext/rdfscape/VisualQuery2.jpg
to:
%width=500px% http://www.sgtp.net/AndreaSplendiani/ext/rdfscape/VisualQuery2.jpg
Changed lines 11-12 from:
%width=500px% http://www.sgtp.net/AndreaSplendiani/ext/rdfscape/VisualQuery3.jpg
to:
http://www.sgtp.net/AndreaSplendiani/ext/rdfscape/VisualQuery3.jpg
June 11, 2006, at 08:11 PM by 157.99.164.30 -
Changed lines 11-12 from:
http://www.sgtp.net/AndreaSplendiani/ext/rdfscape/VisualQuery3.jpg
to:
%width=500px% http://www.sgtp.net/AndreaSplendiani/ext/rdfscape/VisualQuery3.jpg
June 11, 2006, at 08:09 PM by 157.99.164.30 -
Added lines 1-36:
RDFScape provides a visual query system, integrated in its browsing mode.

http://www.sgtp.net/AndreaSplendiani/ext/rdfscape/VisualQuery1.jpg

'''1''' While browsing an ontology, select "Make Editable". The contectual menu will present more options:

http://www.sgtp.net/AndreaSplendiani/ext/rdfscape/VisualQuery2.jpg

'''3''' Make variable. Makes this node a variable. The resulting effect is shown below. Note that this menu options is present also for edges.

http://www.sgtp.net/AndreaSplendiani/ext/rdfscape/VisualQuery3.jpg

'''4''' Add filter. This is defined only for literals, and is selectable only when the corresponding node is declared as a variable. Allows the specification of a pattern the resulting literal should match (a substring that should be contained). Only specify the string and not the enclosing //. To get back, use "Restore node" ('''6''').
An example is shown below.

http://www.sgtp.net/AndreaSplendiani/ext/rdfscape/VisualQuery4.jpg

'''5''' Restore node (and "Restore edge" for edges). For a node or edge turned into a variable, restore the original URI.

'''2''' Get pattern. Get the pattern corresponding to the graph in the current Cytoscape window (prompts for a name). Nodes' attributes are not considered. If relevant, these should be visualized as edges and nodes (see [[How to tune visualization options]]).
Once a pattern is taken it becomes part of a library of patterns (that can be also saved and loaded in [[How to use analysis contexts | analysis context]]

http://www.sgtp.net/AndreaSplendiani/ext/rdfscape/VisualQuery5.jpg

'''6''' The list of available patterns is available under this panel.

'''7''' Each sub-panel corresponds to a pattern

'''8''' Each pattern has several views. The "graph" view is shown above. Below the "Pattern" view. The "Matches" view depends upon queries and it is illustrated in [[How to use visual queries]]

http://www.sgtp.net/AndreaSplendiani/ext/rdfscape/VisualQuery6.jpg

'''9''' Delete pattern. Eliminate the current pattern from the list (does not affect anaylsis context unless a "save analysis context" is performed).