Question: Which occupies more space, Wiltshire or Gloucestershire (official website http://www.gloucestershire.gov.uk/)?
Choices:
Derbyshire
Cumbria
Somerset
Norfolk
Wiltshire
Warwickshire
Essex
West Midlands
Northumberland
Gloucestershire
Program:
function: Find
inputs: Wiltshire
function: Find
inputs: Gloucestershire
function: FilterStr
dependencies: 1
inputs: official website
http://www.gloucestershire.gov.uk/
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wiltshire" . } UNION { ?e <pred:name> "Gloucestershire" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.gloucestershire.gov.uk/" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Wiltshire