Did you know ... Search Documentation:
Pack prolog_rdf -- prolog/rdf_export.pl
PublicShow source

RDF export predicates that are backend-independent.

 rdf_write_iri(+Out:stream, +Iri:rdf_iri) is det
 rdf_write_literal(+Out:stream, +Literal:rdf_literal) is det
 rdf_write_name(+Out:stream, +Name:rdf_name) is det
 rdf_write_quad(+Out:stream, +Quad:rdf_quad) is det
 rdf_write_quad(+Out:stream, +Triple:rdf_triple, +G:rdf_graph) is det
 rdf_write_quad(+Out:stream, +S:rdf_subject, +P:iri, +O:rdf_term, +G:rdf_graph) is det
Quad must be a quadruple (denoted by compound term rdf/4). Triples (denoted by compound term rdf/3) are not supported.
 rdf_write_triple(+Out:stream, +Tuple:rdf_tuple) is det
 rdf_write_triple(+Out, +S:rdf_subject, +P:rdf_iri, +O:rdf_term) is det
rdf_write_triple/2 also accepts quadrupleds (denoted by compound term rdf/4), but writes them as triples.
 rdf_write_tuple(+Out:stream, +Tuple:rdf_tuple) is det
If Tuple is a triple (denoted by compound term rdf/3), it is written as a triple. If Tuple is a quadrupled (denoted by compound term rdf/4), it is written as a quadruple.

Undocumented predicates

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

 rdf_write_quad(Arg1, Arg2, Arg3)
 rdf_write_quad(Arg1, Arg2, Arg3, Arg4, Arg5)
 rdf_write_triple(Arg1, Arg2, Arg3, Arg4)