Question: How many historical counties have an ISO 3166-3 of DDDE or are replaced by the German Democratic Republic?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" .  { ?e <ISO_3166-3> ?pv . ?pv <pred:value> "DDDE" .  } UNION { ?e <replaced_by> ?e_1 . ?e_1 <pred:name> "German Democratic Republic" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-3
DDDE
function: FilterConcept
dependencies: 1
inputs: historical country
function: Find
inputs: German Democratic Republic
function: Relate
dependencies: 3
inputs: replaced by
backward
function: FilterConcept
dependencies: 4
inputs: historical country
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2