Question: How is Menlo Park related to Palo Arto (birth place of Amy Irving) ?
Choices: shares border with
editor
interested in
legislative body
worshipped by
airline alliance
member of
dedicated to
chief executive officer
product or material produced
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Menlo Park" . ?e_2 <pred:name> "Palo Alto" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Amy Irving" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Menlo Park
function: Find
inputs: Amy Irving
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Palo Alto
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: shares border with