Question: What is the connection between Greenwich Village (the one whose distributor is 20th Century Fox) to New York City?
Choices:
successful candidate
film distribute region
manufacturer
has part
office held by head of the organisation
office held by head of state
narrative location
composer
influenced by
language used
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Greenwich Village" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "20th Century Fox" . ?e_2 <pred:name> "New York City" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Greenwich Village
function: And
dependencies: 1
2
function: Find
inputs: New York City
function: QueryRelation
dependencies: 3
4