Question: How is John Williams related to Greater London, the place of his birth?
Choices:
place of birth
signatory
record label
after a work by
military branch
penalty
military rank
home world
educated at
doctoral student
Program:
function: Find
inputs: Greater London
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: John Williams
function: And
dependencies: 1
2
function: Find
inputs: Greater London
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Williams" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Greater London" . ?e_2 <pred:name> "Greater London" . ?e_1 ?p ?e_2 .  }
Answer: place of birth