Question: What is the number of the independent cities that have ISNI of 0000 0004 0390 9631 or that has a population of under 710000000
Choices: 20
21
22
23
24
25
26
27
28
29
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city" .  { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0004 0390 9631" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "710000000"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0004 0390 9631
function: FilterConcept
dependencies: 1
inputs: independent city
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
710000000
<
function: FilterConcept
dependencies: 4
inputs: independent city
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 22