|Did you know ...||Search Documentation:|
|rdf_write.pl -- Write RDF/XML from a list of triples|
This module writes an RDF/XML document from a list of triples of the
rdf(Subject, Predicate, Object). It is primarily intended for
communicating computed RDF model fragments to external programs using
When used from the HTTP library, use the following code:
reply_graph(RDF) :- format('Content-type: application/rdf+xml; charset=UTF-8~n~n'), rdf_write_xml(current_output, RDF).