Question: What is the association between Great Expectations (whose last date is 1999-04-12) and Edinburgh?
Choices: territory claimed by
penalty
nominated for
voice actor
filming location
airline hub
substitute/deputy/replacement of office/officeholder
field of work
military branch
diaspora
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Great Expectations" . ?e_1 <end_time> ?pv . ?pv <pred:date> "1999-04-12"^^xsd:date . ?e_2 <pred:name> "Edinburgh" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Great Expectations
function: FilterDate
dependencies: 0
inputs: end time
1999-04-12
=
function: Find
inputs: Edinburgh
function: QueryRelation
dependencies: 1
2
Answer: filming location