Question: How many Oregon counties -- with the Anne Hathaway who died in Stratford-upon-Avon as their namesake -- occupy more than 6500 square miles?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
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> "Anne Hathaway" . ?e_1 <place_of_death> ?e_2 . ?e_2 <pred:name> "Stratford-upon-Avon" .  ?e <area> ?pv . ?pv <pred:unit> "square mile" . ?pv <pred:value> ?v . FILTER ( ?v > "6500"^^xsd:double ) .  }
Program:
function: Find
inputs: Stratford-upon-Avon
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: Anne Hathaway
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: county of Oregon
function: FindAll
function: FilterNum
dependencies: 6
inputs: area
6500 square mile
>
function: FilterConcept
dependencies: 7
inputs: county of Oregon
function: And
dependencies: 5
8
function: Count
dependencies: 9