Question: What is the relationship between classic rock and Led Zeppelin (the one whose genre is rock music)?
Choices:
after a work by
famous people
mother
territory overlaps
military conflicts
librettist
highest judicial authority
filming location
producer
parent club
Program:
function: Find
inputs: classic rock
function: Find
inputs: rock music
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Led Zeppelin
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "classic rock" . ?e_2 <pred:name> "Led Zeppelin" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> "rock music" . ?e_1 ?p ?e_2 .  }
Answer: famous people