Question: How many Oregon counties are named for Michael Bay or have a population other than 760,000?
Choices: 11
12
13
14
15
16
17
18
19
20
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Oregon" .  { ?e <named_after> ?e_1 . ?e_1 <pred:name> "Michael Bay" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "760000"^^xsd:double ) .  } }
Program:
function: Find
inputs: Michael Bay
function: Relate
dependencies: 0
inputs: named after
backward
function: FilterConcept
dependencies: 1
inputs: county of Oregon
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
760000
!=
function: FilterConcept
dependencies: 4
inputs: county of Oregon
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 14