
eu.fbk.knowledgestore.server.http.jaxrs.lookup.mustache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ks-server-http Show documentation
Show all versions of ks-server-http Show documentation
The HTTP server module (ks-server-http) implements the Web API of
the KnowledgeStore, which includes the two CRUD and SPARQL endpoints.
The CRUD Endpoint supports the retrieval and manipulation of
semi-structured data about resource, mention, entity and axiom records
(encoded in RDF, possibly using JSONLD), and the upload / download of
resource representation. The SPARQL Endpoint supports SPARQL SELECT,
CONSTRUCT, DESCRIBE and ASK queries according to the W3C SPARQL
protocol. The two endpoints are implemented on top of a component
implementing the KnowledgeStore Java API (the Store interface), which
can be either the the KnowledgeStore frontend (ks-frontend) or the Java
Client. The implementation of the module is based on the Jetty Web sever
(run in embedded mode) and the Jersey JAX-RS implementation. Reference
documentation of the Web API is automatically generated using the
Enunciate tool.
{{
Resource text
Download
Select resource metadata
{{#resourceEntitiesCount}}
Select entity ({{resourceEntitiesCount}})
{{/resourceEntitiesCount}}
{{#resourceMentionsCount}}
Select mention ({{resourceMentionsCount}})
{{/resourceMentionsCount}}
{{#resourcePrettyPrint}}
Highlight syntax
{{/resourcePrettyPrint}}
{{{resourceText}}}
{{{resourceDetailsTitle}}}
{{{resourceDetailsBody}}}
Mention resource (excerpt): {{{mentionResourceLink}}}
{{{mentionResourceExcerpt}}}
Mention data
{{{mentionData}}}
{{#mentionEntityLink}}
Mention referent: {{{mentionEntityLink}}}
{{/mentionEntityLink}}
{{^mentionEntityLink}}
Mention referents: {{{mentionEntityLinks}}} - first one shown
{{/mentionEntityLink}}
({{mentionEntityTriplesShown}} triples out of {{mentionEntityTriplesTotal}})
{{{mentionEntityTriples}}}
Resources mentioning the entity ({{entityResourcesShown}} out of {{entityResourcesCount}}) - {{entityMentionsCount}} mentions total
{{{entityResources}}}
Triples describing the entity ({{entityTriplesShown}} out of {{entityTriplesTotal}})
{{{entityTriples}}}
Graph associated to the entity ({{entityGraphShown}} triples out of {{entityGraphTotal}})
{{{entityGraph}}}