Question: What province of Italy is an administrative division of Sardinia whose area is 23949 square kilometers?
Choices:
province of Milan
Province of Potenza
Province of Cuneo
Province of Cagliari
Province of Palermo
Trentino
Province of Rome
Province of Como
Province of Salerno
Province of Turin
Program:
function: Find
inputs: Sardinia
function: FilterNum
dependencies: 0
inputs: area
23949 square kilometre
=
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: province of Italy
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Italy" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Sardinia" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "23949"^^xsd:double .   }
Answer: Province of Cagliari