Question: How many Indiana counties have a population other than 3.8 or border Butler County, which occupies 1218 square km?
Choices:
10
11
12
13
14
15
16
17
18
19
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
3.8
!=
function: FilterConcept
dependencies: 1
inputs: county of Indiana
function: Find
inputs: Butler County
function: FilterNum
dependencies: 3
inputs: area
1218 square kilometre
=
function: Relate
dependencies: 4
inputs: shares border with
forward
function: FilterConcept
dependencies: 5
inputs: county of Indiana
function: Or
dependencies: 2
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Indiana" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "3.8"^^xsd:double ) .  } UNION { ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Butler County" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "1218"^^xsd:double .  } }
Answer: 13