Question: How many counties of Washington use http://www.kitsapgov.com as the official website or report the population of value different from 4.0 ?
Choices:
16
17
18
19
20
21
22
23
24
25
Answer: 16
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Washington" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.kitsapgov.com" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "4.0"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.kitsapgov.com
function: FilterConcept
dependencies: 1
inputs: county of Washington
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
4.0
!=
function: FilterConcept
dependencies: 4
inputs: county of Washington
function: Or
dependencies: 2
5
function: Count
dependencies: 6