Question: How many United States states are in the geographic distribution of Lebanese Americans or have populations that are not 450000000?
Choices:
50
51
52
53
54
55
56
57
58
59
Program:
function: Find
inputs: Lebanese American
function: Relate
dependencies: 0
inputs: geographic distribution
forward
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
450000000
!=
function: FilterConcept
dependencies: 4
inputs: state of the United States
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" .  { ?e_1 <geographic_distribution> ?e . ?e_1 <pred:name> "Lebanese American" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "450000000"^^xsd:double ) .  } }
Answer: 50