Question: How is Cinderella (the one whose genre is glam metal) related to Mercury Records ?
Choices:
medical condition
sponsor
exclave of
taxon rank
has effect
performer
shares border with
art director
record label
item operated
Answer: record label
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cinderella" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "glam metal" . ?e_2 <pred:name> "Mercury Records" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: glam metal
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Cinderella
function: And
dependencies: 1
2
function: Find
inputs: Mercury Records
function: QueryRelation
dependencies: 3
4