Question: Linda Perry has what connection to Springfield, where Mike Scully was born?
Choices: connects with
stated in
nutrient
place of birth
used by
position played on team / speciality
grants
foundational text
medical condition
film editor
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Linda Perry" . ?e_2 <pred:name> "Springfield" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Mike Scully" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Linda Perry
function: Find
inputs: Mike Scully
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Springfield
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: place of birth