Question: How many regions of France replaced Upper Normandy or whose ISO 3166-1 alpha-3 code is MTQ?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: Find
inputs: Upper Normandy
function: Relate
dependencies: 0
inputs: replaces
backward
function: FilterConcept
dependencies: 1
inputs: region of France
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISO 3166-1 alpha-3 code
MTQ
function: FilterConcept
dependencies: 4
inputs: region of France
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "region of France" .  { ?e <replaces> ?e_1 . ?e_1 <pred:name> "Upper Normandy" .  } UNION { ?e <ISO_3166-1_alpha-3_code> ?pv . ?pv <pred:value> "MTQ" .  } }
Answer: 2