Question: How many administrative territorial entities are the location of Breaker Morant (the one that belongs to the allegiance of British Empire)'s death or were founded before 2009 ?
Choices: 161
162
163
164
165
166
167
168
169
170
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" .  { ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Breaker Morant" . ?e_1 <allegiance> ?e_2 . ?e_2 <pred:name> "British Empire" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2009 ) .  } }
Program:
function: Find
inputs: British Empire
function: Relate
dependencies: 0
inputs: allegiance
backward
function: Find
inputs: Breaker Morant
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of death
forward
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
2009
<
function: FilterConcept
dependencies: 7
inputs: administrative territorial entity
function: Or
dependencies: 5
8
function: Count
dependencies: 9
Answer: 163