Question: How many metropolitan areas have a population not equal to 0.7 or have the official website http://www.oregonmetro.gov?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan area" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "0.7"^^xsd:double ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.oregonmetro.gov" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
0.7
!=
function: FilterConcept
dependencies: 1
inputs: metropolitan area
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.oregonmetro.gov
function: FilterConcept
dependencies: 4
inputs: metropolitan area
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 9