Question: What is the connection between Eddie Murphy (the one that was born in Glasgow) to association football?
Choices:
commander of
sport
connects with
located on astronomical location
place of origin (Switzerland)
child
drafted by
basic form of government
record label
owned by
Answer: sport
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Eddie Murphy" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Glasgow" . ?e_2 <pred:name> "association football" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Glasgow
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Eddie Murphy
function: And
dependencies: 1
2
function: Find
inputs: association football
function: QueryRelation
dependencies: 3
4