Question: what is the number of political parties that has member count not equal to 40 country or that has a short name of PPP
Choices: 0
1
2
3
4
5
6
7
8
9
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> "country" . ?pv <pred:value> ?v . FILTER ( ?v != "40"^^xsd:double ) .  } UNION { ?e <short_name> ?pv . ?pv <pred:value> "PPP" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: member count
40 country
!=
function: FilterConcept
dependencies: 1
inputs: political party
function: FindAll
function: FilterStr
dependencies: 3
inputs: short name
PPP
function: FilterConcept
dependencies: 4
inputs: political party
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1