Question: How many of the counties in Washington have either the official website of http://www.co.grays-harbor.wa.us or a population of less than 5100000000?
Choices: 15
16
17
18
19
20
21
22
23
24
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.co.grays-harbor.wa.us" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "5100000000"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.co.grays-harbor.wa.us
function: FilterConcept
dependencies: 1
inputs: county of Washington
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
5100000000
<
function: FilterConcept
dependencies: 4
inputs: county of Washington
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 16