SPARQL endpoint
Located at:
http://phylodiversity.net/xmalesia/cgi/sparql
Method:
HTTP GET, with two key-value-pairs:
Output type (optional). `output=ttl' will return a turtle
representation of the data. `output=rdf' (the default) will
return a RDF representation of the data.
SPARQL query: `sparql=...'
Example:
SPARQL:
PREFIX dwc: <http://rs.tdwg.org/dwc/terms/>
CONSTRUCT {
?x dwc:genus ?g .
?x dwc:specificEpithet ?s .
?x dwc:Location _:l .
_:l dwc:decimalLongitude ?lo .
_:l dwc:decimalLatitude ?la .
}
WHERE {
?x dwc:genus "Syzygium" .
?x dwc:genus ?g .
?x dwc:Location [ dwc:decimalLongitude ?lo ] .
?x dwc:Location [ dwc:decimalLatitude ?la ] .
?x dwc:specificEpithet ?s .
}
with output in turtle gives:
http://phylodiversity.net/xmalesia/cgi/sparql?sparql=PREFIX%20dwc:
%20%3Chttp://rs.tdwg.org/dwc/terms/%3ECONSTRUCT%20{?x%20dwc:genus%
20?g%20.?x%20dwc:specificEpithet%20?s%20.?x%20dwc:Location%20_:l%2
0._:l%20dwc:decimalLongitude%20?lo%20._:l%20dwc:decimalLatitude%20
?la%20.}%20WHERE%20{?x%20dwc:genus%20%22Syzygium%22%20.?x%20dwc:ge
nus%20?g%20.?x%20dwc:Location%20[%20dwc:decimalLongitude%20?lo%20]
%20.?x%20dwc:Location%20[%20dwc:decimalLatitude%20%20?la%20]%20.?x
%20dwc:specificEpithet%20?s%20.}&output=ttl
Try it!