Question: How many historical countries dissolved prior to 1947 or have Andes as their namesake?
Choices:
18
19
20
21
22
23
24
25
26
27
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: dissolved, abolished or demolished
1947
<
function: FilterConcept
dependencies: 1
inputs: historical country
function: Find
inputs: Andes
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: historical country
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> "historical country" .  { ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1947 ) .  } UNION { ?e <named_after> ?e_1 . ?e_1 <pred:name> "Andes" .  } }
Answer: 19