Question: What is the relationship between Gerry Conway (who has the Island Records label) and folk rock?
Choices:
genre
theme music
risk factor
substitute/deputy/replacement of office/officeholder
performer
airline alliance
father
present in work
basin country
candidate
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gerry Conway" . ?e_1 <record_label> ?e_3 . ?e_3 <pred:name> "Island Records" . ?e_2 <pred:name> "folk rock" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Island Records
function: Relate
dependencies: 0
inputs: record label
backward
function: Find
inputs: Gerry Conway
function: And
dependencies: 1
2
function: Find
inputs: folk rock
function: QueryRelation
dependencies: 3
4