Question: Portland, occupying 179.85166 square km, is the capital of which Maine county?
Choices:
Oxford County
Cumberland County
Hancock County
Kennebec County
Penobscot County
Franklin County
Washington County
Somerset County
Aroostook County
York County
Program:
function: Find
inputs: Portland
function: FilterNum
dependencies: 0
inputs: area
179.85166 square kilometre
=
function: Relate
dependencies: 1
inputs: capital
backward
function: FilterConcept
dependencies: 2
inputs: county of Maine
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Maine" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Portland" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "179.85166"^^xsd:double .   }
Answer: Cumberland County