Question: Tell me the relationship between hannibal (which was published on 1959-01-01) to Italy
Choices:
place of publication
rector
parent club
eye color
commander of
twinned administrative body
office held by head of the organisation
country of origin
office contested
characters
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hannibal" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1959-01-01"^^xsd:date . ?e_2 <pred:name> "Italy" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Hannibal
function: FilterDate
dependencies: 0
inputs: publication date
1959-01-01
=
function: Find
inputs: Italy
function: QueryRelation
dependencies: 1
2