-
Notifications
You must be signed in to change notification settings - Fork 1
API Guide: REST and SPARQL
Lorenzo edited this page Aug 29, 2015
·
17 revisions
- Retrieve all the planets:
/ds?query=SELECT * WHERE { ?planet <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ontology.projectchronos.eu/astronomy/Planet>. }
- Retrieve all the planetary bodies (satellites)
/ds?query=SELECT * WHERE { ?satellites <http://ontology.projectchronos.eu/astronomy/orbitsPlanet> ?planet}
- Retrieve other bodies orbiting Sun
/ds?query=SELECT * WHERE{?s <http://ontology.projectchronos.eu/astronomy/orbiting> <http://ontology.projectchronos.eu/solarsystem/Sun>.?s a ?type .FILTER (?type != <http://ontology.projectchronos.eu/astronomy/Planet>)}
REST interface version 0.1 for components implemented! With some hypermedia flavour also (:
Check these URLs: