Additional code can be added using a notation close to the Prolog DCG notation. Here is the rule for a description, producing properties both using propAttrs and propertyElts . The parser is designed to operate on various environments and therefore provides interfaces at various levels. Please note these are not asserted into the database because it is not necessarily the final format the user wishes to reason with and it is not clean how the user wants to deal with multiple RDF documents. Some options are using global URI's in one pool, in Prolog modules or using an additional argument.
Options defines additional processing options.
If NameSpace is the defined RDF name space it is returned as the atom rdf . The initial definition of this predicate is given below. For example, it cannot deal with documents where the RDF statement is embedded an XML document. Exploits the call-back interface of sgml2pl , calling OnTriples with the list of triples resulting from a single top level RDF object for each RDF element in the file. To run these tests, load this file into Prolog in the distribution directory.