-
Notifications
You must be signed in to change notification settings - Fork 0
Using ricordo rdfstore ws
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.
http://www.ebi.ac.uk/ricordo-rdfstore-ws/service/search/getResources
Figure 1: Lists all Resources
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: getResourcesByType
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: 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/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: getResourceForAnnotation
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: 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/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: 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/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: getAnnotationOfElementOfResource