Question: What is the connection between Alfred Newman (the one whose date of death is 1898-01-11) to lawyer?
Choices:
found
business division
basic form of government
signatory
cast member
executive producer
start point
contributor(s) to the creative work
public holiday
occupation
Program:
function: Find
inputs: Alfred Newman
function: FilterDate
dependencies: 0
inputs: date of death
1898-01-11
=
function: Find
inputs: lawyer
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alfred Newman" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1898-01-11"^^xsd:date . ?e_2 <pred:name> "lawyer" . ?e_1 ?p ?e_2 .  }
Answer: occupation