Question: What is the link between John Williams (whose date of birth is 1828-01-01) and New Orleans (that is the narrative location of Runaway Jury)?
Choices:
distributor
appears in the form of
place of birth
significant person
official language
home venue
medical treatment
family
grants
business division
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Williams" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1828-01-01"^^xsd:date . ?e_2 <pred:name> "New Orleans" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "Runaway Jury" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Williams
function: FilterDate
dependencies: 0
inputs: date of birth
1828-01-01
=
function: Find
inputs: Runaway Jury
function: Relate
dependencies: 2
inputs: narrative location
forward
function: Find
inputs: New Orleans
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5