Question: What is the relationship between David Kaye (the one that is the citizen of United Kingdom) and association football?
Choices:
ethnic group
theme music
located in or next to body of water
film crew member
designed by
next lower rank
said to be the same as
award disciplines or subjects
relative
sport
Answer: sport
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "David Kaye" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "association football" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: David Kaye
function: And
dependencies: 1
2
function: Find
inputs: association football
function: QueryRelation
dependencies: 3
4