Question: How many in jazz originate from the sovereign state with a life expectancy equal to 76.58293 years (the point in time of this statement is 1999)?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "jazz" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_1 <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> "76.58293"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <life_expectancy> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1999 .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: life expectancy
76.58293 year
=
function: QFilterYear
dependencies: 1
inputs: point in time
1999
=
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: Relate
dependencies: 3
inputs: country of origin
backward
function: FilterConcept
dependencies: 4
inputs: jazz
function: Count
dependencies: 5