Question: What is the relationship between Angel (the one that has Madonna as a performer) and Sire Records?
Choices:
use
production company
next lower rank
collection
operator
different from
languages spoken, written or signed
record label
parent club
noble title
Answer: record label
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Angel" . ?e_1 <performer> ?e_3 . ?e_3 <pred:name> "Madonna" . ?e_2 <pred:name> "Sire Records" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Madonna
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: Angel
function: And
dependencies: 1
2
function: Find
inputs: Sire Records
function: QueryRelation
dependencies: 3
4