Question: Is the smaller area covered by Wiltshire or by North Yorkshire, established in 1974?
Choices:
North Yorkshire
Derbyshire
Cumbria
Norfolk
Warwickshire
Wiltshire
Northumberland
Essex
West Midlands
Somerset
Program:
function: Find
inputs: Wiltshire
function: Find
inputs: North Yorkshire
function: FilterYear
dependencies: 1
inputs: inception
1974
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wiltshire" . } UNION { ?e <pred:name> "North Yorkshire" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1974 . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Wiltshire