"Seegrid will be due for a migration to confluence on the 1st of August. Any update on or after the 1st of August will NOT be migrated"

Linked Data API (LDA) Specification File & Configuring Elda


Adding configuration - By editing web.xml

Edit the webapps/elda/WEB-INF/web.xml and find the servlet configuration

<servlet>
  <servlet-name>loader-init</servlet-name>
  <servlet-class>com.epimorphics.lda.routing.Loader</servlet-class>
  <init-param>
    <param-name>com.epimorphics.api.initialSpecFile</param-name>
    <param-value>specs/education.ttl</param-value>
  </init-param>
  <load-on-startup>1</load-on-startup>
</servlet>

The example configuration specs/education.ttl may be replaced with a comma separated list of LDA specification files you wish to load.

Once you have altered WEB-INF/web.xml, you will need to reload the servlet or restart the container.
  • sudo service tomcat6 restart

SISSVoc Specifications

Incoming requests to the API layer must be mapped through to an Endpoint that describes further processing of the request. The endpoints associated with the API can be identified through the api:endpoint property. The

SISSVoc vocabularies are stored in the Sesame OpenRDF triple store.

If we have a Sesame repository called SISSVocExample (that contains RDF/XML or TTL etc), and Sesame server running at http://example.org:8084/openrdf-sesame/.

Sesame SPARQL endpoint is acessible through the address http://example.org:8084/openrdf-sesame/repositories/SISSVocExample.

See below for the Linked Data Configuration:
<#MyAPI> a api:API ;
    rdfs:label "Test API"@en ;
    api:maxPageSize "50";
    api:defaultPageSize "10" ;
    api:endpoint
        <#conceptSchemeEndpoint>;
    api:sparqlEndpoint <http://services-test.auscope.org/openrdf-sesame/repositories/ischart> ;
    api:defaultViewer api:describeViewer 
    .

For more information please see: http://elda.googlecode.com/hg/deliver-elda/src/main/docs/index.html
Topic attachments
I Attachment Action Size Date Who Comment
explain_ttl.pngpng explain_ttl.png manage 122.0 K 01 Feb 2012 - 14:11 JacquelineGithaiga  
gf1.jpgjpg gf1.jpg manage 172.4 K 10 Jan 2012 - 10:49 JacquelineGithaiga  
gf2.jpgjpg gf2.jpg manage 203.7 K 10 Jan 2012 - 10:49 JacquelineGithaiga  
gf3.jpgjpg gf3.jpg manage 160.1 K 10 Jan 2012 - 10:49 JacquelineGithaiga  
Topic revision: r31 - 02 May 2012, TerryRankine
 

Current license: All material on this collaboration platform is licensed under a Creative Commons Attribution 3.0 Australia Licence (CC BY 3.0).