Question: What is the relationship between Edward G. Boyle and Ontario (the one whose postal code is P)?
Choices: grants
place of birth
practiced by
health specialty
executive producer
twinned administrative body
instrument
rector
has cause
ancestral home
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Edward G. Boyle" . ?e_2 <pred:name> "Ontario" . ?e_2 <postal_code> ?pv . ?pv <pred:value> "P" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Edward G. Boyle
function: Find
inputs: Ontario
function: FilterStr
dependencies: 1
inputs: postal code
P
function: QueryRelation
dependencies: 0
2
Answer: place of birth