Question: How many human settlements are not like Belleville (whose population is 44478) or are the headquarters location of the Academy of Television Arts & Sciences?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Belleville
function: FilterNum
dependencies: 0
inputs: population
44478
=
function: Relate
dependencies: 1
inputs: different from
forward
function: FilterConcept
dependencies: 2
inputs: human settlement
function: Find
inputs: Academy of Television Arts & Sciences
function: Relate
dependencies: 4
inputs: headquarters location
forward
function: FilterConcept
dependencies: 5
inputs: human settlement
function: Or
dependencies: 3
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human settlement" .  { ?e_1 <different_from> ?e . ?e_1 <pred:name> "Belleville" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "44478"^^xsd:double .  } UNION { ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Academy of Television Arts & Sciences" .  } }
Answer: 2