Question: How is Richard Price (the one that has the occupation of actor) related to The Bronx ?
Choices:
winner
airline hub
place of birth
rector
indigenous to
set in period
had as last meal
located in time zone
said to be the same as
sexual orientation
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Price" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "actor" . ?e_2 <pred:name> "The Bronx" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: actor
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Richard Price
function: And
dependencies: 1
2
function: Find
inputs: The Bronx
function: QueryRelation
dependencies: 3
4