Question: How many administrative territorial divisions of Indonesia were founded in a year other than 1780?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Indonesia" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1780 ) .  }
Program:
function: Find
inputs: Indonesia
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1780
!=
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity
function: And
dependencies: 2
5
function: Count
dependencies: 6