Question: How many military branches were not dissolved in 1991 or had an inception time before 1918?
Choices: 3
4
5
6
7
8
9
10
11
12
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "military branch" .  { ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1991 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1918 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: dissolved, abolished or demolished
1991
!=
function: FilterConcept
dependencies: 1
inputs: military branch
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1918
<
function: FilterConcept
dependencies: 4
inputs: military branch
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 10