Question: What is the connection between Neil Ross (the one whose date of birth is 1944-12-31) to London (the one that is the narrative location of The Iron Lady)?
Choices:
place of birth
said to be the same as
military rank
military conflicts
place of publication
soundtrack album
operator
field of this occupation
spouse
color
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Neil Ross" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1944-12-31"^^xsd:date . ?e_2 <pred:name> "London" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "The Iron Lady" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Neil Ross
function: FilterDate
dependencies: 0
inputs: date of birth
1944-12-31
=
function: Find
inputs: The Iron Lady
function: Relate
dependencies: 2
inputs: narrative location
forward
function: Find
inputs: London
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5