Did you know ... | Search Documentation: |
Predicate rdf_load/2 |
:- use_module(library(semweb/rdf_db)).
if(changed)
=.
Options provides additional processing options. Defined options are:
share
(default),
equivalent blank nodes are shared in the same resource.library(semweb/turtle)
extend the
set of recognised extensions.file://
URL when loading a file or, if the
specification is a URL, its normalized version without the optional #fragment.true
, changed
(default) or
not_loaded
.not_modified
, cached(File)
,
last_modified(Stamp)
or unknown
.false
, do not use or create a cache file.true
(default false
), register xmlns
namespace declarations or Turtle @prefix
prefixes using
rdf_register_prefix/3
if there is no conflict.true
, the message reporting completion is printed using
level silent
. Otherwise the level is informational
.
See also print_message/2.Boolean+
Other options are forwarded to process_rdf/3. By default, rdf_load/2 only loads RDF/XML from files. It can be extended to load data from other formats and locations using plugins. The full set of plugins relevant to support different formats and locations is below:
:- use_module(library(semweb/turtle)). % Turtle and TriG :- use_module(library(semweb/rdf_ntriples)). :- use_module(library(semweb/rdf_zlib_plugin)). :- use_module(library(semweb/rdf_http_plugin)). :- use_module(library(http/http_ssl_plugin)).
library(semweb/rdf_persistency)
and
library(semweb/rdf_cache)