Question: for the series ordinal is 1 or whose name is stycznia, has how many calendar month?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "calendar month" .  { ?e <series_ordinal> ?pv . ?pv <pred:value> "1" .  } UNION { ?e <name> ?pv . ?pv <pred:value> "stycznia" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: series ordinal
1
function: FilterConcept
dependencies: 1
inputs: calendar month
function: FindAll
function: FilterStr
dependencies: 3
inputs: name
stycznia
function: FilterConcept
dependencies: 4
inputs: calendar month
function: Or
dependencies: 2
5
function: Count
dependencies: 6