- semweb
- semweb
- rdf_db.pl -- Core RDF database
- rdf_prefixes.pl -- RDF prefixes management
- rdfs.pl -- RDFS handling
- rdf11.pl -- RDF 1.1 API
- rdf_persistency.pl -- RDF persistency plugin
- rdf_litindex.pl -- Search literals
- rdf_ntriples.pl -- Process files in the RDF N-Triples format
- sparql_client.pl -- SPARQL client library
- rdf_http_plugin.pl -- RDF HTTP Plugin
- rdf_turtle_write.pl -- Turtle - Terse RDF Triple Language writer
- turtle.pl -- Turtle: Terse RDF Triple Language
- rdf_library.pl -- RDF Library Manager
- rdf_turtle.pl -- Turtle reader
- rdf_cache.pl -- Cache RDF triples
- 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)