Question: How is hard rock band Toto related to Sony BMG Music Entertainment?
Choices:
affiliation
record label
operating area
natural product of taxon
subject has role
has contributing factor
uses
legal form
film release region
derivative work
Answer: record label
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Toto" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "hard rock" . ?e_2 <pred:name> "Sony BMG Music Entertainment" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: hard rock
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Toto
function: And
dependencies: 1
2
function: Find
inputs: Sony BMG Music Entertainment
function: QueryRelation
dependencies: 3
4