- library
- semweb
- rdf_db.pl -- Core RDF database
- rdf_cache.pl -- Cache RDF triples
- rdfs.pl -- RDFS handling
- rdf_persistency.pl -- RDF persistency plugin
- rdf_litindex.pl -- Search literals
- rdf_ntriples.pl -- Process files in the RDF N-Triples format
- rdf11.pl -- RDF 1.1 API
- sparql_client.pl -- SPARQL client library
- turtle.pl -- Turtle: Terse RDF Triple Language
- rdf_turtle_write.pl -- Turtle - Terse RDF Triple Language writer
- rdf_http_plugin.pl -- RDF HTTP Plugin
- rdf_library.pl -- RDF Library Manager
- rdf_portray.pl -- Portray RDF resources
- rdf_sandbox.pl -- Declare RDF API sandbox-safe
- rdf_zlib_plugin.pl -- RDF compressed-data plugin
- semweb
- rdf_attach_db(+Directory, +Options) is det
- Start persistent operations using Directory as place to store
files. There are several cases:
- Empty DB, existing directory Load the DB from the existing directory
- Full DB, empty directory Create snapshots for all sources in directory
Options:
- access(+AccessMode)
- One of
auto
(default),read_write
orread_only
. Read-only access implies that the RDF store is not locked. It is read at startup and all modifications to the data are temporary. The defaultauto
mode isread_write
if the directory is writeable and the lock can be acquired. Otherwise it reverts toread_only
. - concurrency(+Jobs)
- Number of threads to use for loading the initial
database. If not provided it is the number of CPUs
as optained from the flag
cpu_count
. - max_open_journals(+Count)
- Maximum number of journals kept open. If not provided, the default is 10. See limit_fd_pool/0.
- directory_levels(+Count)
- Number of levels of intermediate directories for storing the graph files. Default is 2.
- silent(+BoolOrBrief)
- If
true
(defaultfalse
), do not print informational messages. Finally, ifbrief
it will show minimal feedback. - log_nested_transactions(+Boolean)
- If
true
, nested log transactions are added to the journal information. By default (false
), no log-term is added for nested transactions.\\
- Errors
- -
existence_error(source_sink, Directory)
- -
permission_error(write, directory, Directory)