Question: Who was Tom Hanks married to?
SPARQL:
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX prop: <http://dbpedia.org/property/> SELECT DISTINCT ?uri ?string WHERE { ?person rdfs:label 'Tom Hanks'@en . ?person prop:spouse ?string . OPTIONAL { ?uri rdfs:label ?string . } }