Question: Which people have as their given name Jimmy?
SPARQL:
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri ?string WHERE { ?uri a foaf:Person. ?uri rdf:type onto:Person. ?uri foaf:givenName "Jimmy"@en . OPTIONAL {?uri rdfs:label ?string .} FILTER (lang(?string) = "en") }