Question: How is the Dublin born John Byrne related to association football?
Choices:
drug used for treatment
sport
voice type
headquarters location
production designer
film distribute region
language of work or name
medical condition
programming language
godparent
Answer: sport
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Byrne" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Dublin" . ?e_2 <pred:name> "association football" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Dublin
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: John Byrne
function: And
dependencies: 1
2
function: Find
inputs: association football
function: QueryRelation
dependencies: 3
4