Question: Is the larger area occupied by Nicosia or Istanbul, classified by Dewey Decimal Classification as 2--49618?
Choices:
Nicosia
New Delhi
Lausanne
Mexico City
Doha
Moscow
Riga
Manila
Istanbul
Tallinn
Program:
function: Find
inputs: Nicosia
function: Find
inputs: Istanbul
function: FilterStr
dependencies: 1
inputs: Dewey Decimal Classification
2--49618
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nicosia" . } UNION { ?e <pred:name> "Istanbul" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> "2--49618" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Istanbul