Question: How many metropolitan areas are there whose population is greater than 58000 or that comprise the terrain feature of New Orleans (the one that is the death place of J. Michael Riva)   ?
Choices:
4
5
6
7
8
9
10
11
12
13
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
58000
>
function: FilterConcept
dependencies: 1
inputs: metropolitan area
function: Find
inputs: J. Michael Riva
function: Relate
dependencies: 3
inputs: place of death
forward
function: Find
inputs: New Orleans
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: located on terrain feature
forward
function: FilterConcept
dependencies: 7
inputs: metropolitan area
function: Or
dependencies: 2
8
function: Count
dependencies: 9
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 > "58000"^^xsd:double ) .  } UNION { ?e_1 <located_on_terrain_feature> ?e . ?e_1 <pred:name> "New Orleans" . ?e_2 <place_of_death> ?e_1 . ?e_2 <pred:name> "J. Michael Riva" .  } }
Answer: 9