|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
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
search using rdfs:label
In place of a regex, a prolog query term can be used, e.g
rdfs_subclass_of(Q,R)' to get all subclasses of 'shape'
sis a shorthand for rdfs:subClassOf
owl_search_and_display([nucleus],)show any terms text matching '.*nucleus.*'
owl_search_and_display(['^nucleus$'],[relations([s])])exact match, show superclasses
owl_search_and_display(['GO:0005634'],[search_property(id)])search by ID
The following predicates are exported, but not or incorrectly documented.