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