Question: How is rock music related to hard rocker Peter Frampton ?
Choices:
presenter
occupant
illustrator
nominated for
basic form of government
connects with
nutrient
used by
does not have part
famous people
Program:
function: Find
inputs: rock music
function: Find
inputs: hard rock
function: Relate
dependencies: 1
inputs: famous people
forward
function: Find
inputs: Peter Frampton
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "rock music" . ?e_2 <pred:name> "Peter Frampton" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> "hard rock" . ?e_1 ?p ?e_2 .  }
Answer: famous people