Question: Who is the nominee for the Academy Award for Best Actress for which Sabrina (whose color is black-and-white) was nominated?
Choices:
Robert Duvall
Felicity Huffman
Anne Spielberg
Ken Ralston
Al Overton, Jr.
Nikki Gooley
Buck Sanders
Chris Sanders
Robert Strauss
Audrey Hepburn
Answer: Audrey Hepburn
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Sabrina" . ?e_1 <color> ?e_3 . ?e_3 <pred:name> "black-and-white" . ?e_2 <pred:name> "Academy Award for Best Actress" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Sabrina
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Actress
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee