Question: Does the Normandy with the Twitter name RegionNormandie or the Brittany of ISO 3166-2 code FR-BRE occupy a smaller area?
Choices:
Normandy
Corsica
Bethel Census Area
Brittany
Shanghai
A Christmas Carol
Beauty and the Beast
Japan national football team
John Oliver
Martinique
Program:
function: Find
inputs: Normandy
function: FilterStr
dependencies: 0
inputs: Twitter username
RegionNormandie
function: Find
inputs: Brittany
function: FilterStr
dependencies: 2
inputs: ISO 3166-2 code
FR-BRE
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Normandy" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "RegionNormandie" . } UNION { ?e <pred:name> "Brittany" . ?e <ISO_3166-2_code> ?pv_2 . ?pv_2 <pred:value> "FR-BRE" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Brittany