Sponsored by BMBF Logo

Querying Stellaris with SPARQL

The AstroGrid-D Information Service Stellaris is queries by using SPARQL, the W3C recommended Query Language for RDF. Here is an example to display the number of jobs in a fixed time interval:
PREFIX ur: <http://www.gridforum.org/2003/ur-wg#>
PREFIX x2r: <http://www.astrogrid-d.org/2007/08/14-xml2rdf#>
SELECT count(?job_id)
WHERE {?n1 ur:JobIdentity ?job_id . ?n1 ur:StartTime ?start .
FILTER (?start > "2008-03-01T00:00:00" && ?start < "2008-04-01T00:00:00")}
To run this query, just copy and paste it to the Stellaris query client below. For AstroGrid-D members, further details are available at the internal SPARQL pages.