Question: Which person was nominated for the Grammy Award received by Daniel Lanois (the award-winning work of this statement is Court and Spark)?
Choices:
Vince Gill
John Mayer
Max Fleischer
David Foster
Shania Twain
Richard Gere
William Henry Harrison
Joni Mitchell
David Byrne
Sylvester Stallone
Program:
function: Find
inputs: Daniel Lanois
function: Relate
dependencies: 0
inputs: award received
forward
function: FilterConcept
dependencies: 1
inputs: Grammy Award
function: Relate
dependencies: 2
inputs: nominated for
backward
function: QFilterStr
dependencies: 3
inputs: for work
Court and Spark
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <nominated_for> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "Grammy Award" . ?e_2 <award_received> ?e_1 . ?e_2 <pred:name> "Daniel Lanois" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> "Court and Spark" .  }
Answer: Joni Mitchell