Question: What is the relationship between Roger Taylor (the one that belongs to United Kingdom) and Wimbledon (the one that is the birthplace of Oliver Reed)?
Choices:
significant person
place of origin (Switzerland)
designated as terrorist by
source of income
residence
drug used for treatment
filming location
soundtrack album
health specialty
present in work
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country for sport
backward
function: Find
inputs: Roger Taylor
function: And
dependencies: 1
2
function: Find
inputs: Oliver Reed
function: Relate
dependencies: 4
inputs: place of birth
forward
function: Find
inputs: Wimbledon
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Roger Taylor" . ?e_1 <country_for_sport> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "Wimbledon" . ?e_4 <place_of_birth> ?e_2 . ?e_4 <pred:name> "Oliver Reed" . ?e_1 ?p ?e_2 .  }
Answer: residence