Question: Tell me the relationship between Gary Conway (the one playing the instrument drum kit) and Jethro Tull.
Choices:
illustrator
basic form of government
official language
educated at
original language of film or TV show
place of birth
eye color
member of
derivative work
instrumentation
Program:
function: Find
inputs: drum kit
function: Relate
dependencies: 0
inputs: instrument
backward
function: Find
inputs: Gerry Conway
function: And
dependencies: 1
2
function: Find
inputs: Jethro Tull
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gerry Conway" . ?e_1 <instrument> ?e_3 . ?e_3 <pred:name> "drum kit" . ?e_2 <pred:name> "Jethro Tull" . ?e_1 ?p ?e_2 .  }
Answer: member of