Question: How many political parties there are whose Giphy username is cdu or whose number of members is more than 48000?
Choices: 23
24
25
26
27
28
29
30
31
32
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political party" .  { ?e <Giphy_username> ?pv . ?pv <pred:value> "cdu" .  } UNION { ?e <member_count> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "48000"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Giphy username
cdu
function: FilterConcept
dependencies: 1
inputs: political party
function: FindAll
function: FilterNum
dependencies: 3
inputs: member count
48000
>
function: FilterConcept
dependencies: 4
inputs: political party
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 24