Question: How many Arizona counties have a population more than 45 and whose official website is http://www.mohavecounty.us?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Arizona" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "45"^^xsd:double ) . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.mohavecounty.us" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
45
>
function: FilterConcept
dependencies: 1
inputs: county of Arizona
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.mohavecounty.us
function: FilterConcept
dependencies: 4
inputs: county of Arizona
function: And
dependencies: 2
5
function: Count
dependencies: 6