Question: What is the connection between experimental rock to Queens of the Stone Age (the one that has the record label Matador Records)?
Choices: location of discovery
programming paradigm
costume designer
depicted by
kit supplier
has cause
characters
continent
contains administrative territorial entity
famous people
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "experimental rock" . ?e_2 <pred:name> "Queens of the Stone Age" . ?e_2 <record_label> ?e_3 . ?e_3 <pred:name> "Matador Records" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: experimental rock
function: Find
inputs: Matador Records
function: Relate
dependencies: 1
inputs: record label
backward
function: Find
inputs: Queens of the Stone Age
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: famous people