Question: What is the relationship between Norman Foster, who died July 7, 1976 and film director?
Choices:
costume designer
applies to jurisdiction
sex or gender
conferred by
architect
public holiday
occupation
patron saint
religion
main food source
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Norman Foster" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1976-07-07"^^xsd:date . ?e_2 <pred:name> "film director" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Norman Foster
function: FilterDate
dependencies: 0
inputs: date of death
1976-07-07
=
function: Find
inputs: film director
function: QueryRelation
dependencies: 1
2