Question: How many civil wars are ended before 1922 or have a participant Federated States of Micronesia?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "civil war" .  { ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1922 ) .  } UNION { ?e_1 <participant_of> ?e . ?e_1 <pred:name> "Federated States of Micronesia" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: end time
1922
>
function: FilterConcept
dependencies: 1
inputs: civil war
function: Find
inputs: Federated States of Micronesia
function: Relate
dependencies: 3
inputs: participant of
forward
function: FilterConcept
dependencies: 4
inputs: civil war
function: Or
dependencies: 2
5
function: Count
dependencies: 6