Question: What is the relation between Angel (the one written by Madonna) with Warner Bros. Records?
Choices:
successful candidate
symptom of
record label
location
continent
field of work
seed team
has dialect (DEPRECATED)
doctoral student
next higher rank
Program:
function: Find
inputs: Madonna
function: Relate
dependencies: 0
inputs: lyrics by
backward
function: Find
inputs: Angel
function: And
dependencies: 1
2
function: Find
inputs: Warner Bros. Records
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Angel" . ?e_1 <lyrics_by> ?e_3 . ?e_3 <pred:name> "Madonna" . ?e_2 <pred:name> "Warner Bros. Records" . ?e_1 ?p ?e_2 .  }
Answer: record label