Question: How many Virginia counties whose population is not 880000 or that contain McLean?
Choices:
6
7
8
9
10
11
12
13
14
15
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
880000
!=
function: FilterConcept
dependencies: 1
inputs: county of Virginia
function: Find
inputs: McLean
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: county of Virginia
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> "county of Virginia" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "880000"^^xsd:double ) .  } UNION { ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "McLean" .  } }
Answer: 15