Question: How many US cities have the demonym Angeleno or have a founding year besides 1830?
Choices:
477
478
479
480
481
482
483
484
485
486
Answer: 478
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1830 ) .  } UNION { ?e <demonym> ?pv . ?pv <pred:value> "Angeleno" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1830
!=
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: FindAll
function: FilterStr
dependencies: 3
inputs: demonym
Angeleno
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: Or
dependencies: 2
5
function: Count
dependencies: 6