Question: Is Heiress the title of the film that received an Academy Award for Best Actress (the winner of this statement is Olivia de Havilland)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Actress" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv . ?qpv <pred:value> "Olivia de Havilland" . ?e <title> ?pv . ?pv <pred:value> "The Heiress" .  }
Program:
function: Find
inputs: Academy Award for Best Actress
function: Relate
dependencies: 0
inputs: award received
backward
function: QFilterStr
dependencies: 1
inputs: winner
Olivia de Havilland
function: FilterConcept
dependencies: 2
inputs: film
function: QueryAttr
dependencies: 3
inputs: title
function: VerifyStr
dependencies: 4
inputs: The Heiress