|Did you know ...||Search Documentation:|
:- use_module(library(rdf)).(can be autoloaded)
, local identifiers are not tagged.
share(default), blank-node properties (i.e. complex properties without identifier) are reused if they result in exactly the same triple-set. Two descriptions are shared if their intermediate description is the same. This means they should produce the same set of triples in the same order. The value
nosharecreates a new resource for each blank node.
rdf:aboutEachinto a set of triples. By default the parser generates
rdf(each(Container), Predicate, Subject).
xml:langdeclaration in an enclosing element).
xml:langdeclarations in the document are ignored. This is mostly for compatibility with older versions of this library that did not support language identifiers.
rdf:datatype=Type attribute, call
ConvertPred(+Type, +Content, -Literal). Content is the XML element contentas returned by the XML parser (a list). The predicate must unify Literal with a Prolog representation of Content according to Type or throw an exception if the conversion cannot be made.
This option servers two purposes. First of all it can be used to
ignore type declarations for backward compatibility of this library.
Second it can be used to convert typed literals to a meaningful Prolog
representation. E.g. convert’42' to the Prolog integer 42 if the
xsd:int or a related type.
xmlns:NS=URL declaration found in the source.
The Triples list is a list of
Predicate, Object) triples. Subject is either a plain
resource (an atom), or one of the terms
with the obvious meaning. Predicate is either a plain atom
for explicitely non-qualified names or a term
NameSpace:Name. If NameSpace is
the defined RDF name space it is returned as the atom
Finally, Object is a URI, a Predicate or a term of
literal(Value) for literal values. Value
is either a plain atom or a parsed XML term (list of atoms and