Question: Which has more area, Woking whose area is 63.6 square kilometers or Great Yarmouth whose TOID is 7000000000006392?
Choices:
King's Lynn and West Norfolk
Woking
West Dorset
South Somerset
Great Yarmouth
Kettering
North Norfolk
Carlisle
Craven
Guildford
Program:
function: Find
inputs: Woking
function: FilterNum
dependencies: 0
inputs: area
63.6 square kilometre
=
function: Find
inputs: Great Yarmouth
function: FilterStr
dependencies: 2
inputs: TOID
7000000000006392
function: SelectBetween
dependencies: 1
3
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Woking" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "63.6"^^xsd:double . } UNION { ?e <pred:name> "Great Yarmouth" . ?e <TOID> ?pv_2 . ?pv_2 <pred:value> "7000000000006392" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Great Yarmouth