Question: How many departments of France contain Lancaster (the one that contains University of Lancaster), and have an area greater than 27000000 square metres?
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> "departments of France" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Lancaster" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "University of Lancaster" .  ?e <area> ?pv . ?pv <pred:unit> "square metre" . ?pv <pred:value> ?v . FILTER ( ?v > "27000000"^^xsd:double ) .  }
Program:
function: Find
inputs: University of Lancaster
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Lancaster
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: departments of France
function: FindAll
function: FilterNum
dependencies: 6
inputs: area
27000000 square metre
>
function: FilterConcept
dependencies: 7
inputs: departments of France
function: And
dependencies: 5
8
function: Count
dependencies: 9