Question: What does Peter Gabriel of the world music genre have to do with Somerset of the country United Kingdom?
Choices:
territory claimed by
residence
has edition
opposite of
indigenous to
chairperson
business division
director
participant
place of publication
Program:
function: Find
inputs: world music
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Peter Gabriel
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: Relate
dependencies: 4
inputs: country
backward
function: Find
inputs: Somerset
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Gabriel" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "world music" . ?e_2 <pred:name> "Somerset" . ?e_2 <country> ?e_4 . ?e_4 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Answer: residence