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. | ![]() |
lod_description/2 | RDF is list of triples describing URI. | |
redirect_uri/3 | Compose a RedirectionURL based on the output Format and the URI that is in our RDF database. | |
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. | ![]() |
sparql.pl![]() | ||
void.pl -- Void vocabulary description of the server![]() |