Question: Who has been the 5th president of the United States of America?
SPARQL:
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { ?uri dbo:orderInOffice '5th President of the United States'@en . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }