Question: How many independent German cities have a population different from 930000000 or correspond to ISNI 0000 0004 0399 8638?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city of Germany" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "930000000"^^xsd:double ) .  } UNION { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0004 0399 8638" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
930000000
!=
function: FilterConcept
dependencies: 1
inputs: independent city of Germany
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISNI
0000 0004 0399 8638
function: FilterConcept
dependencies: 4
inputs: independent city of Germany
function: Or
dependencies: 2
5
function: Count
dependencies: 6