Question: How many unitary states that are a part of the World Trade Organization have a life expectancy greater than 12.3 years?
Choices:
5
6
7
8
9
10
11
12
13
14
Program:
function: Find
inputs: World Trade Organization
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: unitary state
function: FindAll
function: FilterNum
dependencies: 3
inputs: life expectancy
12.3 year
>
function: FilterConcept
dependencies: 4
inputs: unitary state
function: And
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "unitary state" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "World Trade Organization" .  ?e <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v > "12.3"^^xsd:double ) .  }
Answer: 13