/usr/lib/swipl/library/ext/RDF/rdf_triple.pl
All Application Manual Name SummaryHelp

  • RDF
    • rdf_triple.pl -- Create triples from intermediate representation
      • rdf_triples/2
      • rdf_triples/3
      • rdf_start_file/2
      • rdf_end_file/1
      • anon_prefix/1
      • rdf_reset_ids/0
 rdf_triples(+Term, -Triples) is det
 rdf_triples(+Term, -Tridpples, +Tail) is det
Convert an object as parsed by rdf.pl into a list of rdf/3 triples. The identifier of the main object created is returned by rdf_triples/3.

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.