Question: What is the connection between Christopher Wren (the one that has the occupation of urban planner) to urban planner?
Choices:
used by
narrator
military casualty classification
occupation
commander of
from fictional universe
stated in
location of formation
rector
screenwriter
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Christopher Wren" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "urban planner" . ?e_2 <pred:name> "urban planner" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: urban planner
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Christopher Wren
function: And
dependencies: 1
2
function: Find
inputs: urban planner
function: QueryRelation
dependencies: 3
4