<Subject> <Predicate> <Object> .
<http://csarven.ca/#i> <http://dbpedia.org/property/height> "1.65m" .
<http://dbpedia.org/resource/Montreal> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/City> .
<p about="http://csarven.ca/#i"> Sarven is <span property="dbp:height">1.65m</span></p>
<p about="dbr:Montreal"> typeof="dbo:City">Montreal is a city.</p>
<p about="http://csarven.ca/#i"> Sarven is in <a rel="foaf:based_near" href="dbr:Montreal">Montreal</a>.</p>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="http://dbpedia.org/resource/Montreal"> <rdf:type rdf:resource="http://dbpedia.org/ontology/City"> </rdf:Description> </rdf:RDF>
SELECT ?city WHERE { ?city a <http://dbpedia.org/ontology/City> . }
city |
---|
http://dbpedia.org/resource/Montreal |
... |
PREFIX dbo: <http://dbpedia.org/ontology/> SELECT ?name ?birth ?death ?person WHERE { ?person dbo:birthPlace :Montreal . ?person dbo:birthDate ?birth . ?person foaf:name ?name . ?person dbo:deathDate ?death . FILTER (?birth < "1900-01-01"^^xsd:date) . } ORDER BY ?name
See results from DBpedia
CONSTRUCT { .. } WHERE { { SERVICE <http://data.linkedmdb.org/sparql> { SELECT * WHERE { .. } } } UNION { SERVICE <http://dbpedia.org/sparql> { SELECT * WHERE { .. } } } }