Question: What is the number of administrative territorial entities that have a diplomatic relationship with Chad and total fertility rate not exactly 2.6
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> "Chad" .  ?e <total_fertility_rate> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "2.6"^^xsd:double ) .  }
Program:
function: Find
inputs: Chad
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: FindAll
function: FilterNum
dependencies: 3
inputs: total fertility rate
2.6
!=
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity
function: And
dependencies: 2
5
function: Count
dependencies: 6