Question: How many political parties have a member count of less than 84000000 or apply jurisdiction over the United Kingdom?
Choices:
16
17
18
19
20
21
22
23
24
25
Answer: 25
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political party" .  { ?e <member_count> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "84000000"^^xsd:double ) .  } UNION { ?e <applies_to_jurisdiction> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: member count
84000000
<
function: FilterConcept
dependencies: 1
inputs: political party
function: Find
inputs: United Kingdom
function: Relate
dependencies: 3
inputs: applies to jurisdiction
backward
function: FilterConcept
dependencies: 4
inputs: political party
function: Or
dependencies: 2
5
function: Count
dependencies: 6