| Did you know ... | Search Documentation: |
| rdf_triple.pl -- Create triples from intermediate representation |
Convert the output of xml_to_rdf/3 from library(rdf) into a list of triples of the format described below. The intermediate representation should be regarded a proprietary representation.
rdf(Subject, Predicate, Object).
Where `Subject' is
And `Predicate' is
And `Object' is
rdf_triples(+Term, -Triples) is det
rdf_triples(+Term, -Tridpples, +Tail) is det
Input is the `content' of the RDF element in the format as
generated by load_structure(File, Term, [dialect(xmlns)]).
rdf_triples/3 can process both individual descriptions as
well as the entire content-list of an RDF element. The first
mode is suitable when using library(sgml) in `call-back' mode.
rdf_start_file(+Options, -Cleanup) is det
rdf_end_file(:Cleanup) is det
anon_prefix(-Prefix) is semidet
rdf_reset_ids is detrdf_test.pl).The following predicates are exported from this file while their implementation is defined in imported modules or non-module files loaded by this module.
rdf_triples(+Term, -Triples) is det
rdf_triples(+Term, -Tridpples, +Tail) is det
Input is the `content' of the RDF element in the format as
generated by load_structure(File, Term, [dialect(xmlns)]).
rdf_triples/3 can process both individual descriptions as
well as the entire content-list of an RDF element. The first
mode is suitable when using library(sgml) in `call-back' mode.