Question: How many Ireland counties have the licence plate code CE and are in the country of Ireland (whose population is 3511009)?
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 <licence_plate_code> ?pv . ?pv <pred:value> "CE" . ?e <country> ?e_1 . ?e_1 <pred:name> "Ireland" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "3511009"^^xsd:double .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: licence plate code
CE
function: FilterConcept
dependencies: 1
inputs: county of Ireland
function: Find
inputs: Ireland
function: FilterNum
dependencies: 3
inputs: population
3511009
=
function: Relate
dependencies: 4
inputs: country
backward
function: FilterConcept
dependencies: 5
inputs: county of Ireland
function: And
dependencies: 2
6
function: Count
dependencies: 7