Question: What is the relationship between punk rock and The Damned (the one whose genre is punk rock)?
Choices:
permanent resident of
candidacy in election
has edition
has parts of the class
taxon rank
licensed to broadcast to
famous people
student of
editor
followed by
Program:
function: Find
inputs: punk rock
function: Find
inputs: punk rock
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: The Damned
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "punk rock" . ?e_2 <pred:name> "The Damned" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> "punk rock" . ?e_1 ?p ?e_2 .  }
Answer: famous people