Question: What is the connection between Downton Abbey (the one whose producer is Julian Fellowes) to Yorkshire?
Choices:
main subject
narrative location
license
academic degree
professorship
public holiday
series spin-off
writing system
culture
has part
Program:
function: Find
inputs: Julian Fellowes
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Downton Abbey
function: And
dependencies: 1
2
function: Find
inputs: Yorkshire
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Downton Abbey" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> "Julian Fellowes" . ?e_2 <pred:name> "Yorkshire" . ?e_1 ?p ?e_2 .  }
Answer: narrative location