Question: Of Italian provinces in Piedmont, classified by Dewey Decimal as 2--451, which occupies the biggest area?
Choices:
Province of Cagliari
Province of Como
Province of Brescia
Province of Naples
Province of Turin
Province of Salerno
Province of Cuneo
Province of Potenza
Province of Palermo
province of Milan
Answer: Province of Cuneo
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Italy" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Piedmont" . ?e_1 <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> "2--451" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Piedmont
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--451
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: province of Italy
function: SelectAmong
dependencies: 3
inputs: area
largest