Question: How is Amazing Grace, performed by Rod Stewart, related to Whitney Houston?
Choices:
performer
narrative location
operating system
military conflicts
place served by transport hub
different from
signatory
edition or translation of
operator
conferred by
Program:
function: Find
inputs: Rod Stewart
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: Amazing Grace
function: And
dependencies: 1
2
function: Find
inputs: Whitney Houston
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Amazing Grace" . ?e_1 <performer> ?e_3 . ?e_3 <pred:name> "Rod Stewart" . ?e_2 <pred:name> "Whitney Houston" . ?e_1 ?p ?e_2 .  }
Answer: performer