Question: How many republics have the demonym is كولومبية or have out-of-school children with a number greater than 9200000?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "republic" .  { ?e <demonym> ?pv . ?pv <pred:value> "كولومبية" .  } UNION { ?e <number_of_out-of-school_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "9200000"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
كولومبية
function: FilterConcept
dependencies: 1
inputs: republic
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of out-of-school children
9200000
>
function: FilterConcept
dependencies: 4
inputs: republic
function: Or
dependencies: 2
5
function: Count
dependencies: 6