Question: How many art schools are in Philadelphia (which has an above sea level elevation of 12 metres) or are a part of University of Essex?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: Find
inputs: Philadelphia
function: FilterNum
dependencies: 0
inputs: elevation above sea level
12 metre
=
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: art school
function: Find
inputs: University of Essex
function: Relate
dependencies: 4
inputs: part of
backward
function: FilterConcept
dependencies: 5
inputs: art school
function: Or
dependencies: 3
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "art school" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Philadelphia" . ?e_1 <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> "12"^^xsd:double .  } UNION { ?e <part_of> ?e_1 . ?e_1 <pred:name> "University of Essex" .  } }
Answer: 1