7 library(semweb/rdfa): Extract RDF from an HTML or XML DOM
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog Semantic Web Library 3.0
        • library(semweb/rdfa): Extract RDF from an HTML or XML DOM
          • read_rdfa/3
          • xml_rdfa/3
          • rdf_db:rdf_load_stream/3
Availability::- use_module(library(semweb/rdfa)).
xml_rdfa(+DOM, -RDF, +Options)
True when RDF is a list of rdf(S,P,O) terms extracted from DOM according to the RDFa specification. Options processed:
base(+BaseURI)
URI to use for” . Normally set to the document URI.
anon_prefix(+AnnonPrefix)
Prefix for blank nodes.
lang(+Lang)
Default for lang
vocab(+Vocab)
Default for vocab
markup(+Markup)
Markup language processed (xhtml, xml, ...)