Question: What is the connection between Peter Gabriel (the one that lives in Wiltshire) to Geffen Records?
Choices:
located on terrain feature
operator
academic degree
has contributing factor
medical treatment
record label
mountain range
after a work by
depicts
copyright representative
Program:
function: Find
inputs: Wiltshire
function: Relate
dependencies: 0
inputs: residence
backward
function: Find
inputs: Peter Gabriel
function: And
dependencies: 1
2
function: Find
inputs: Geffen Records
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Gabriel" . ?e_1 <residence> ?e_3 . ?e_3 <pred:name> "Wiltshire" . ?e_2 <pred:name> "Geffen Records" . ?e_1 ?p ?e_2 .  }
Answer: record label