Question: What is the subject of this statement who was nominated for Academy Award for Best Story. Liam O'Brien (the one who died on 1996-03-24)
Choices:
China–Laos border
Pakistan–Yemen relations
24th Academy Awards
Kosovo–Switzerland relations
Lebanon–Uruguay relations
Saudi Arabia–Singapore relations
France–Malaysia relations
Saudi Arabia–North Korea relations
Iceland–Taiwan relations
42nd Tony Awards
Answer: 24th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Liam O'Brien" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1996-03-24"^^xsd:date . ?e_2 <pred:name> "Academy Award for Best Story" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: Liam O'Brien
function: FilterDate
dependencies: 0
inputs: date of death
1996-03-24
=
function: Find
inputs: Academy Award for Best Story
function: QueryRelationQualifier
dependencies: 1
2
inputs: nominated for
statement is subject of