Question: How many political parties were either involved in the Lebanon War or were a part of the Labour Party, the one with 201293 members?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: Find
inputs: Lebanon War
function: Relate
dependencies: 0
inputs: participant
forward
function: FilterConcept
dependencies: 1
inputs: political party
function: Find
inputs: Labour Party
function: FilterNum
dependencies: 3
inputs: member count
201293
=
function: Relate
dependencies: 4
inputs: part of
backward
function: FilterConcept
dependencies: 5
inputs: political party
function: Or
dependencies: 2
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political party" .  { ?e_1 <participant> ?e . ?e_1 <pred:name> "Lebanon War" .  } UNION { ?e <part_of> ?e_1 . ?e_1 <pred:name> "Labour Party" . ?e_1 <member_count> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "201293"^^xsd:double .  } }
Answer: 2