Question: How many former French regions have a population that is not 390000 and are an administrative division of France?
Choices: 5
6
7
8
9
10
11
12
13
14
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "former French region" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "390000"^^xsd:double ) . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "France" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
390000
!=
function: FilterConcept
dependencies: 1
inputs: former French region
function: Find
inputs: France
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: former French region
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 11