Content-type: text/html rdf_parser.pl

rdf_parser.pl

rdf_name_space(?URL) is nondet
True if URL must be handled as rdf: Determines special handling of rdf:about, rdf:resource, etc.
xml_to_plrdf(+RDFElementOrObject, -RDFTerm, +State)
Translate an XML (using namespaces) term into an Prolog term representing the RDF data. This term can then be fed into rdf_triples/[2,3] to create a list of RDF triples. State is an instance of an rdf_state record.
element_to_plrdf(+DOM, -RDFTerm, +State)
Rewrite a single XML element.

Undocumented predicates

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

make_rdf_state(Arg1, Arg2, Arg3)
rdf_modify_state(Arg1, Arg2, Arg3)