Question: What does Paddington (the birthplace of Emma Thompson) have to do with Marylebone?
Choices: shares border with
member of sports team
doctoral advisor
studied by
godparent
statistical leader
film crew member
has parts of the class
country for sport
genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Paddington" . ?e_3 <place_of_birth> ?e_1 . ?e_3 <pred:name> "Emma Thompson" . ?e_2 <pred:name> "Marylebone" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Emma Thompson
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Paddington
function: And
dependencies: 1
2
function: Find
inputs: Marylebone
function: QueryRelation
dependencies: 3
4
Answer: shares border with