Question: What is the number of human settlements that has a population not exactly 5.8 or that is coextensive with Israel Defense Forces
Choices: 12
13
14
15
16
17
18
19
20
21
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human settlement" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "5.8"^^xsd:double ) .  } UNION { ?e_1 <coextensive_with> ?e . ?e_1 <pred:name> "Israel Defense Forces" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
5.8
!=
function: FilterConcept
dependencies: 1
inputs: human settlement
function: Find
inputs: Israel Defense Forces
function: Relate
dependencies: 3
inputs: coextensive with
forward
function: FilterConcept
dependencies: 4
inputs: human settlement
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 14