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