Question: Annapolis, filmed in New Jersey, has what connection to Walt Disney Studios Motion Pictures?
Choices:
practiced by
named after
continent
distributor
source of material
owned by
film release region
place served by transport hub
model item
grants
Answer: distributor
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Annapolis" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> "New Jersey" . ?e_2 <pred:name> "Walt Disney Studios Motion Pictures" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: New Jersey
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Annapolis
function: And
dependencies: 1
2
function: Find
inputs: Walt Disney Studios Motion Pictures
function: QueryRelation
dependencies: 3
4