ClioPatria APIs

An API is an HTTP handler with accompagnying predicate, but unlike applications (see ../applications), APIs are targetted on machine-to-machine interaction. The response-type from an API is typically either XML or JSON.

The choice between XML and JSON is sometimes described by standards. JSON is often the preferred format if the intended client is a web-browser (using AJAX interaction).

Prolog files

export.pl  -- Export data from the serverShow source
journal.pl  -- RDF DB journal-APIShow source
json.plShow source
lod.pl  -- LOD - Linked Open Data serverShow source
lod_api/2Reply to a Linked Data request.Source
triple_in/5Lookup a triple in the graph RDF, represented as a list of rdf(S,P,O).Source
lod_crawler.plShow source
lod_uri_graph/2Determine the graph in which to dump LOD from URI.Source
pengines.pl  -- Provide pengines Prolog and JavaScript APIShow source
rdflib.pl  -- Provide access to the ontology libraryShow source
library_ontology/1True if Name is the name of an ontology from the library.Source
sesame.plShow source
api_action/4Perform some -modifying- goal, reporting time, triples and subject statistics.Source
create_tmp_file/3Called from library(http/http_multipart_plugin) to process uploaded file from a form.Source
ssl_verify/5Currently we accept all certificates.Source
sparql.plShow source
void.pl  -- Void vocabulary description of the serverShow source