Question: What is the relation between electric folk and Richard Thompson, who is famous for psychedelic rock?
Choices:
rector
art director
patron saint
industry
named after
famous people
foundational text
costume designer
occupant
present in work
Program:
function: Find
inputs: electric folk
function: Find
inputs: psychedelic rock
function: Relate
dependencies: 1
inputs: famous people
forward
function: Find
inputs: Richard Thompson
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "electric folk" . ?e_2 <pred:name> "Richard Thompson" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> "psychedelic rock" . ?e_1 ?p ?e_2 .  }
Answer: famous people