Question: How many Academy Awards are won by the person who is the partner of Beverly D'Angelo until the ending date 2003-01-01?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Academy Awards" . ?e <winner> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <partner> ?e_1 . ?e_2 <pred:name> "Beverly D'Angelo" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <partner> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:date> "2003-01-01"^^xsd:date .   }
Program:
function: Find
inputs: Beverly D'Angelo
function: Relate
dependencies: 0
inputs: partner
forward
function: QFilterDate
dependencies: 1
inputs: end time
2003-01-01
=
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: winner
backward
function: FilterConcept
dependencies: 4
inputs: Academy Awards
function: Count
dependencies: 5