
 sesame.pl
sesame.pl
 http_login(+Request)[private] http_login(+Request)[private]
- HTTP handler to associate the current session with a local user. If the login succeeds a 200 reply according to the resultFormat parameters is sent. If the result fails due to a wrong user/password, the server responds with a 403 (forbidden) message. Other failures result in a 500 (server error).
 http_logout(+Request)[private] http_logout(+Request)[private]
- HTTP handler to logout current user.
 evaluate_query(+Request) is det[private] evaluate_query(+Request) is det[private]
- HTTP handler for both SeRQL and SPARQL queries. This handler deals with interactive queries. Machines typically access /sparql/ to submit queries and process result compliant to the SPARQL protocol.
 evaluate_graph_query(+Request)[private] evaluate_graph_query(+Request)[private]
- Handle CONSTRUCT queries.
 evaluate_table_query(+Request)[private] evaluate_table_query(+Request)[private]
- Handle SELECT queries.
 compile(+Language, +Query, -Compiled, +Options)[private] compile(+Language, +Query, -Compiled, +Options)[private]
- Compile a query and validate the query-type
 run(+Language, +Compiled, -Reply)[private] run(+Language, +Compiled, -Reply)[private]
 extract_rdf(+Request)[private] extract_rdf(+Request)[private]
- HTTP handler to extract RDF from the database. This handler
separates the data into schema data and non-schema data, where
schema data are triples whose subject is an rdfs:Class or
rdf:Property. By default both are off, so one needs to pass either or both of theschemaanddataoptions ason.
 export_triple(+Schema, +Data, +ExplicitOnly, -RDF)[private] export_triple(+Schema, +Data, +ExplicitOnly, -RDF)[private]
 list_repositories(+Request)[private] list_repositories(+Request)[private]
- List the available repositories. This is only defaultfor now
 clear_repository(+Request)[private] clear_repository(+Request)[private]
- Clear the repository.
 unload_source(+Request)[private] unload_source(+Request)[private]
- Remove triples loaded from a specified source
 unload_graph(+Request)[private] unload_graph(+Request)[private]
- Remove a named graph.
 flush_journal(+Request)[private] flush_journal(+Request)[private]
- Flush the journal of the requested graph
 modify_persistency(+Request)[private] modify_persistency(+Request)[private]
- Change the persistent properties for the requested graph
 upload_data(Request)[private] upload_data(Request)[private]
- Sesame compliant method to upload data to the repository,
typically used to handle a POST-form from a web-browser (e.g.,
Load local file in the ClioPatria menu). If dataFormatis omitted, the format of the data is guessed from the data itself. Currently, this possitively identifies valid RDF/XML and assumes that anything else is Turtle.
 create_tmp_file(+Stream, -Out, +Options) is det create_tmp_file(+Stream, -Out, +Options) is det
- Called from library(http/http_multipart_plugin) to process uploaded file from a form.
 upload_data_file(+Request, +FormData, +TempFile, +FileOptions)[private] upload_data_file(+Request, +FormData, +TempFile, +FileOptions)[private]
- Load RDF from TempFile with additional form data provided in
FormData. Options are the options passed from the uploaded file
and include filename(Name)and optionallymedia(Type, Params).
 upload_url(+Request)[private] upload_url(+Request)[private]
- Load data from an HTTP server. This API is compatible to Sesame,
although the verifyDataoption is not implemented (data is always checked for syntax). Unlike Sesame, the default format is notrdfxml, but derived from the Content-type reported by the server.
 ssl_verify(+SSL, +ProblemCert, +AllCerts, +FirstCert, +Error) ssl_verify(+SSL, +ProblemCert, +AllCerts, +FirstCert, +Error)
- Currently we accept all certificates. We organise our own security using SHA1 signatures, so we do not care about the source of the data.
 remove_statements(+Request)[private] remove_statements(+Request)[private]
- Remove statements from the database
 remove_triples(+List)[private] remove_triples(+List)[private]
- Remove indicated triples from the database.
 rdf_ntriple_part(+Type, -Value)//[private] rdf_ntriple_part(+Type, -Value)//[private]
- Parse one of the fields of an ntriple. This is used for the SWI-Prolog Sesame (rdf4j.org) implementation to realise /servlets/removeStatements. I do not think public use of this predicate should be stimulated.
 add_prefix(+Request)[private] add_prefix(+Request)[private]
- Register a new prefix
 attribute_decl(+OptionName, -Options)[private] attribute_decl(+OptionName, -Options)[private]
- Default options for specified attribute names. See http_parameters/3.
 result_format(+Request, ?Format) is det[private] result_format(+Request, ?Format) is det[private]
 api_action(+Request, :Goal, +Format, +Message) api_action(+Request, :Goal, +Format, +Message)
- Perform some -modifying- goal, reporting time, triples and subject statistics.
 result_table(+CPU, +SubDiff, +TripleDiff)// is det[private] result_table(+CPU, +SubDiff, +TripleDiff)// is det[private]
- HTML component that summarises the result of an operation.
 authorized_api(+Action, +ResultFormat) is det[private] authorized_api(+Action, +ResultFormat) is det[private]