Question: What is the relation between John Broome who was born in the USA to John Broome born in Kuala Lumpur?
Choices:
material used
publisher
head coach
inspired by
hair color
voice actor
contributing factor of
different from
executive producer
political ideology
Answer: different from
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Broome" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "John Broome" . ?e_2 <place_of_birth> ?e_4 . ?e_4 <pred:name> "Kuala Lumpur" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: John Broome
function: And
dependencies: 1
2
function: Find
inputs: Kuala Lumpur
function: Relate
dependencies: 4
inputs: place of birth
backward
function: Find
inputs: John Broome
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7