Question: What is the relationship between Goa (the one whose publication date is 2010-01-01) and India (the one that has a citizen Amrish Puri)?
Choices: country of origin
located in time zone
military branch
afflicts
main subject
stated in
contains administrative territorial entity
game mode
industry
narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Goa" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2010-01-01"^^xsd:date . ?e_2 <pred:name> "India" . ?e_3 <country_of_citizenship> ?e_2 . ?e_3 <pred:name> "Amrish Puri" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Goa
function: FilterDate
dependencies: 0
inputs: publication date
2010-01-01
=
function: Find
inputs: Amrish Puri
function: Relate
dependencies: 2
inputs: country of citizenship
forward
function: Find
inputs: India
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
Answer: country of origin