Question: How many big cities have a Wikidata property arms industry or a population that is not equal to 4.8?
Choices: 66
67
68
69
70
71
72
73
74
75
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" .  { ?e_1 <Wikidata_property> ?e . ?e_1 <pred:name> "arms industry" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "4.8"^^xsd:double ) .  } }
Program:
function: Find
inputs: arms industry
function: Relate
dependencies: 0
inputs: Wikidata property
forward
function: FilterConcept
dependencies: 1
inputs: big city
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
4.8
!=
function: FilterConcept
dependencies: 4
inputs: big city
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 66