Question: How many Irish counties are the current residence of a person nominated for Academy Award for Best Actor (the award-winning work of this statement is This Sporting Life)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Ireland" . ?e_1 <residence> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Actor" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_3 ] <for_work> ?qpv . ?qpv <pred:value> "This Sporting Life" .   }
Program:
function: Find
inputs: Academy Award for Best Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: QFilterStr
dependencies: 1
inputs: for work
This Sporting Life
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: residence
forward
function: FilterConcept
dependencies: 4
inputs: county of Ireland
function: Count
dependencies: 5