Question: How many former French regions are replaced by Martinique and whose ISO 3166-2 code is FR-O?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "former French region" . ?e <replaced_by> ?e_1 . ?e_1 <pred:name> "Martinique" .  ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "FR-O" .  }
Program:
function: Find
inputs: Martinique
function: Relate
dependencies: 0
inputs: replaced by
backward
function: FilterConcept
dependencies: 1
inputs: former French region
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISO 3166-2 code
FR-O
function: FilterConcept
dependencies: 4
inputs: former French region
function: And
dependencies: 2
5
function: Count
dependencies: 6