Question: What is the relationship between John Hughes (the one that belongs to Wales) and association football?
Choices:
award disciplines or subjects
derivative work
doctoral advisor
notable people with this condition
member of political party
academic degree
grants
replaced by
discoverer or inventor
sport
Program:
function: Find
inputs: Wales
function: Relate
dependencies: 0
inputs: country for sport
backward
function: Find
inputs: John Hughes
function: And
dependencies: 1
2
function: Find
inputs: association football
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Hughes" . ?e_1 <country_for_sport> ?e_3 . ?e_3 <pred:name> "Wales" . ?e_2 <pred:name> "association football" . ?e_1 ?p ?e_2 .  }
Answer: sport