Did you know ... Search Documentation:
Pack prolog_rdf -- prolog/rdf_deref.pl
PublicShow source
 rdf_deref_file(+FileSpec:term, :Goal_3) is det
 rdf_deref_file(+FileSpec:term, :Goal_3, +Options:options) is det
Arguments:
Options- allows the following options to be set.
  • base_iri(+atom) By default, the base IRI is the file URI.
  • Other options are passed to rdf_defer_stream/4.
  • Tries to set the ‘media_type’ option based on the file name, if this option is not explicitly specified by the caller.
 rdf_deref_stream(+BaseIri:iri, +In:istream, :Goal_3) is det
 rdf_deref_stream(+BaseIri:iri, +In:istream, :Goal_3, +Options:options) is det
The following call will be made:
call(:Goal_3, +BaseIri:iri, +Tuples:list(rdf_tuple), ?GraphName:rdf_graph_name)

The following options are supported:

bnode_prefix(+atom)
The default is a well-known IRI as per RDF 1.1.
content_type(+MediaType:media_type)
The parsed value of the HTTP ‘Content-Type’ header, if any.
media_type(+MediaType:media_type)
Overrules the RDF serialization format.
 rdf_deref_uri(+Uri:uri, :Goal_3) is det
 rdf_deref_uri(+Uri:uri, :Goal_3, +Options:options) is det
Arguments:
Options- The following options are supported:
accept(+MediaTypes:list(compound))
The value of the HTTP Accept header, from high to low precedence. The default value is a list of all and only standardized Media Types.

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

 rdf_deref_file(Arg1, Arg2, Arg3)
 rdf_deref_stream(Arg1, Arg2, Arg3, Arg4)
 rdf_deref_uri(Arg1, Arg2, Arg3)