Question: How is Norman Foster, who was born on 1921-03-12, related to being a politician?
Choices:
occupation
sex or gender
broadcast by
art director
child astronomical body
godparent
director/manager
location of discovery
distributor
located on astronomical location
Program:
function: Find
inputs: Norman Foster
function: FilterDate
dependencies: 0
inputs: date of birth
1921-03-12
=
function: Find
inputs: politician
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Norman Foster" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1921-03-12"^^xsd:date . ?e_2 <pred:name> "politician" . ?e_1 ?p ?e_2 .  }
Answer: occupation