Question: How is Porto (area 41.42 square kilometres) classified by the Dewey Decimal system?
Choices:
320.54
516
2--492382
2--434313
2--46915
2--436
2--4322
364
2--4798
2--77321
Answer: 2--46915
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Porto" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "41.42"^^xsd:double . ?e <Dewey_Decimal_Classification> ?pv .  }
Program:
function: Find
inputs: Porto
function: FilterNum
dependencies: 0
inputs: area
41.42 square kilometre
=
function: QueryAttr
dependencies: 1
inputs: Dewey Decimal Classification