Did you know ... | Search Documentation: |
Pack sparqlprog -- prolog/sparqlprog/owl_search_viz.pl |
Convenience wrapper that combines search_util and owl_edge/4 from owl_util
The main predicate is owl_search_and_display/2
requires og2dot - https://www.npmjs.com/package/obographviz
SearchTerms:
Each term in the list is an atom that is a regex used to search.
Search is determined by search_property. By default this is label
, to
search using rdfs:label
In place of a regex, a prolog query term can be used, e.g
'q//label_of(shape,R)
,rdfs_subclass_of(Q,R)
' to get all subclasses of 'shape'
Opts:
s
is a shorthand for rdfs:subClassOfExamples:
owl_search_and_display([nucleus],[])
show any terms text matching '.*nucleus.*'owl_search_and_display(['^nucleus$'],[relations([s])])
exact match, show superclassesowl_search_and_display(['GO:0005634'],[search_property(id)])
search by IDThe following predicates are exported, but not or incorrectly documented.