Question: Which has more area, South Somerset or Great Yarmouth established on 1974-04-01?
Choices:
Carlisle
Chichester
Woking
South Somerset
Kettering
West Dorset
Guildford
North Norfolk
Craven
King's Lynn and West Norfolk
Program:
function: Find
inputs: South Somerset
function: Find
inputs: Great Yarmouth
function: FilterDate
dependencies: 1
inputs: inception
1974-04-01
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "South Somerset" . } UNION { ?e <pred:name> "Great Yarmouth" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1974-04-01"^^xsd:date . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: South Somerset