Skip to content

Using ricordo rdfstore ws

sarala edited this page Sep 14, 2012 · 8 revisions

Services to support template based querying over RDF metadata store. SPAQL queries are constructed using the templates and user inputs to query the metadata store.

An example instance is running at http://www.ebi.ac.uk/ricordo-rdfstore-ws/. This documentation uses screenshots from the example instance. The metadata store consists of all curated BioModels in RDF.

Lists all Resources

http://www.ebi.ac.uk/ricordo-rdfstore-ws/service/search/getResources

Figure 1

Figure 1: Lists all Resources

getResourcesByType

Using curl:

curl -i -X POST -HContent-type:application/xml --data "<query><query>http://www.ebi.ac.uk/ricordo/toolbox/sbmlo#SBMLModel</query></query>" http://www.ebi.ac.uk/ricordo-rdfstore-ws/service/search/getResourcesByType

Using RESTClient

Method: POST
URL: http://www.ebi.ac.uk/ricordo-rdfstore-ws/service/search/getResourcesByType
Headers: Content-Type application/xml
Body: <query><query>http://www.ebi.ac.uk/ricordo/toolbox/sbmlo#SBMLModel</query></query>

Figure 2

Figure 2: getResourcesByType

getResourceForAnnotationOfElement

Using curl:

curl -i -X POST -HContent-type:application/xml --data "<query><query>http://identifiers.org/obo.go/GO:0031594</query></query>" http://www.ebi.ac.uk/ricordo-rdfstore-ws/service/search/getResourceForAnnotationOfElement

Using RESTClient

Method: POST
URL: http://www.ebi.ac.uk/ricordo-rdfstore-ws/service/search/getResourceForAnnotationOfElement
Headers: Content-Type application/xml
Body: <query><query>http://identifiers.org/obo.go/GO:0031594</query></query>

Figure 3

Figure 3: getResourceForAnnotationOfElement

getResourceForAnnotation

Using curl:

curl -i -X POST -HContent-type:application/xml --data "<query><query>http://identifiers.org/obo.go/GO:0031594</query></query>" http://www.ebi.ac.uk/ricordo-rdfstore-ws/service/search/getResourceForAnnotation

Using RESTClient

Method: POST
URL: http://www.ebi.ac.uk/ricordo-rdfstore-ws/service/search/getResourceForAnnotation
Headers: Content-Type application/xml
Body: <query><query>http://identifiers.org/obo.go/GO:0031594</query></query>

Figure 4

Figure 4: getResourceForAnnotation

getElementOfResource

Using curl:

curl -i -X POST -HContent-type:application/xml --data "<query><query>http://www.ebi.ac.uk/ricordo/toolbox/sbmlo#BIOMD0000000001</query></query>" http://www.ebi.ac.uk/ricordo-rdfstore-ws/service/search/getElementOfResource

Using RESTClient

Method: POST
URL: http://www.ebi.ac.uk/ricordo-rdfstore-ws/service/search/getElementOfResource
Headers: Content-Type application/xml
Body: <query><query>http://www.ebi.ac.uk/ricordo/toolbox/sbmlo#BIOMD0000000001</query></query>

Figure 5

Figure 5: getElementOfResource

getAnnotationOfResource

Using curl:

curl -i -X POST -HContent-type:application/xml --data "<query><query>http://www.ebi.ac.uk/ricordo/toolbox/sbmlo#BIOMD0000000001</query></query>" http://www.ebi.ac.uk/ricordo-rdfstore-ws/service/search/getAnnotationOfResource

Using RESTClient

Method: POST
URL: http://www.ebi.ac.uk/ricordo-rdfstore-ws/service/search/getAnnotationOfResource
Headers: Content-Type application/xml
Body: <query><query>http://www.ebi.ac.uk/ricordo/toolbox/sbmlo#BIOMD0000000001</query></query>

Figure 6

Figure 6: getAnnotationOfResource

getAnnotationOfElementOfResource

Using curl:

curl -i -X POST -HContent-type:application/xml --data "<query><query>http://www.ebi.ac.uk/ricordo/toolbox/sbmlo#BIOMD0000000001</query></query>" http://www.ebi.ac.uk/ricordo-rdfstore-ws/service/search/getAnnotationOfElementOfResource

Using RESTClient

Method: POST
URL: http://www.ebi.ac.uk/ricordo-rdfstore-ws/service/search/getAnnotationOfElementOfResource
Headers: Content-Type application/xml
Body: <query><query>http://www.ebi.ac.uk/ricordo/toolbox/sbmlo#BIOMD0000000001</query></query>

Figure 7

Figure 7: getAnnotationOfElementOfResource

Clone this wiki locally