Question: How many historical countries whose demonym is tedeschi orientali or were dissolved after 1806?
Choices:
12
13
14
15
16
17
18
19
20
21
Answer: 21
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" .  { ?e <demonym> ?pv . ?pv <pred:value> "tedeschi orientali" .  } UNION { ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1806 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
tedeschi orientali
function: FilterConcept
dependencies: 1
inputs: historical country
function: FindAll
function: FilterYear
dependencies: 3
inputs: dissolved, abolished or demolished
1806
>
function: FilterConcept
dependencies: 4
inputs: historical country
function: Or
dependencies: 2
5
function: Count
dependencies: 6