Question: Tell me the amount of administrative territorial entities that have Slovakia as a member or that have a population not exactly 81000.
Choices:
162
163
164
165
166
167
168
169
170
171
Answer: 170
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" .  { ?e_1 <member_of> ?e . ?e_1 <pred:name> "Slovakia" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "81000"^^xsd:double ) .  } }
Program:
function: Find
inputs: Slovakia
function: Relate
dependencies: 0
inputs: member of
forward
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
81000
!=
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity
function: Or
dependencies: 2
5
function: Count
dependencies: 6