Question: What is the relationship between Harry Potter and the Order of the Phoenix (the one whose publication date is 2007-07-11) and Hertfordshire?
Choices:
donated by
participant of
geographic distribution
contributing factor of
filming location
architectural style
board member
based on
distributor
musical conductor
Answer: filming location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harry Potter and the Order of the Phoenix" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2007-07-11"^^xsd:date . ?e_2 <pred:name> "Hertfordshire" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Harry Potter and the Order of the Phoenix
function: FilterDate
dependencies: 0
inputs: publication date
2007-07-11
=
function: Find
inputs: Hertfordshire
function: QueryRelation
dependencies: 1
2