Question: What is the association of John Hughes (whose date of birth is 1882-05-23) to Los Angeles?
Choices:
award received
author
next lower rank
place of publication
patron saint
costume designer
is a list of
place of death
field of work
industry
Answer: place of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Hughes" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1882-05-23"^^xsd:date . ?e_2 <pred:name> "Los Angeles" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Hughes
function: FilterDate
dependencies: 0
inputs: date of birth
1882-05-23
=
function: Find
inputs: Los Angeles
function: QueryRelation
dependencies: 1
2