Did you know ... Search Documentation:
Pack sparqlprog -- prolog/sparqlprog/search_util.pl
PublicShow source
 lmatch(+Pattern:atom, ?Object) is nondet
Uses swi-prolog rdf11 'like' matching:
  • case insensitive
  • '*' is wildcard
  • exact match unless wildcards specified
 lsearch(+Pattern, ?Object, ?Label, +Flags:str, ?Graph) is nondet
search for objects with an rdfs:label matching Pattern
 lsearch(+Pattern, ?Object, ?Pred, ?Label, +Flags:str) is nondet
search for objects with any property matching Pattern
 tsearch(+Pattern, ?Object, ?Label, +Flags:str, ?Graph) is nondet
term search: find objects with an rdfs:label or synonym-like property matching Pattern

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

 label_or_synonym_pred_hook(Arg1)
 psearch(Arg1, Arg2, Arg3, Arg4, Arg5)
 psearch(Arg1, Arg2, Arg3, Arg4)
 psearch(Arg1, Arg2, Arg3)
 tsearch(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6)
 tsearch(Arg1, Arg2, Arg3, Arg4)
 tsearch(Arg1, Arg2, Arg3)
 tsearch(Arg1, Arg2)
 lsearch(Arg1, Arg2)
 lsearch(Arg1, Arg2, Arg3)
 lsearch(Arg1, Arg2, Arg3, Arg4)