Question: What does Regina (the birthplace of Leslie Nielsen) have to do with Bucharest?
Choices: owned by
from fictional universe
work location
contributing factor of
medical condition
signatory
item operated
operating area
official religion
twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Regina" . ?e_3 <place_of_birth> ?e_1 . ?e_3 <pred:name> "Leslie Nielsen" . ?e_2 <pred:name> "Bucharest" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Leslie Nielsen
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Regina
function: And
dependencies: 1
2
function: Find
inputs: Bucharest
function: QueryRelation
dependencies: 3
4
Answer: twinned administrative body