Did you know ... Search Documentation:
Pack sparqlprog -- prolog/sparqlprog/labelutils.pl
PublicShow source

Convenience predicate for attaching labels to simple or compound entities.

 label_atom(+Input, ?Output, +Opts:list) is det
 term_labelify(+Term, ?LabeledTerm) is det
If Term is a compound term, LabeledTerm is the same term but with all atomic components A replaced with A-LabelA

where LabelA is the rdfs:label for A

 row_labelify(+Row, ?LabeledRow) is det
given a row term Foo(V1,V2,...,Vn) add an extra argument for the label for each

Undocumented predicates

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

 label_atom(Arg1, Arg2)