Question: How many historical countries have the head Simon Callow or a dissolution date is after 1859?
Choices: 13
14
15
16
17
18
19
20
21
22
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" .  { ?e <head_of_state> ?e_1 . ?e_1 <pred:name> "Simon Callow" .  } UNION { ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1859 ) .  } }
Program:
function: Find
inputs: Simon Callow
function: Relate
dependencies: 0
inputs: head of state
backward
function: FilterConcept
dependencies: 1
inputs: historical country
function: FindAll
function: FilterYear
dependencies: 3
inputs: dissolved, abolished or demolished
1859
>
function: FilterConcept
dependencies: 4
inputs: historical country
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 18