Question: What is the connection between post-punk to Robert Smith (the one whose genre is rock music)?
Choices:
mouth of the watercourse
domain of saint or deity
copyright representative
narrative location
head of government
fictional universe described in
production company
famous people
depicted by
record label
Answer: famous people
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "post-punk" . ?e_2 <pred:name> "Robert Smith" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> "rock music" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: post-punk
function: Find
inputs: rock music
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Robert Smith
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4