Question: How many states are an administrative division of the administrative territorial entity using Croatian as the official language starting on the date 2013-07-01?
Choices:
9
10
11
12
13
14
15
16
17
18
Answer: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "administrative territorial entity" . ?e_1 <official_language> ?e_2 . ?e_2 <pred:name> "Croatian" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <official_language> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv . ?qpv <pred:date> "2013-07-01"^^xsd:date .   }
Program:
function: Find
inputs: Croatian
function: Relate
dependencies: 0
inputs: official language
backward
function: QFilterDate
dependencies: 1
inputs: start time
2013-07-01
=
function: FilterConcept
dependencies: 2
inputs: administrative territorial entity
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: state
function: Count
dependencies: 5