Question: What is the connection between Beastie Boys (the one whose genre is hip hop music) to Def Jam Recordings?
Choices:
participant of
record label
statistical leader
heritage designation
head of government
derivative work
head of state
noble title
position played on team / speciality
child astronomical body
Answer: record label
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Beastie Boys" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "hip hop music" . ?e_2 <pred:name> "Def Jam Recordings" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: hip hop music
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Beastie Boys
function: And
dependencies: 1
2
function: Find
inputs: Def Jam Recordings
function: QueryRelation
dependencies: 3
4