Question: What city has an area greater than 0 square kilometres and is an administrative division of Province of Como?
Choices:
Trieste
Kingston
Hong Kong
Kilkenny
Harbin
Edinburgh
Como
Oshawa
Cork
Innsbruck
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
0 square kilometre
>
function: FilterConcept
dependencies: 1
inputs: city
function: Find
inputs: Province of Como
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v > "0"^^xsd:double ) . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Province of Como" .  }
Answer: Como