Question: How many unitary states there are whose Human Development Index is less than 0.6 or that is the residence place of Jack Bruce?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "unitary state" .  { ?e <Human_Development_Index> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "0.6"^^xsd:double ) .  } UNION { ?e_1 <residence> ?e . ?e_1 <pred:name> "Jack Bruce" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: Human Development Index
0.6
<
function: FilterConcept
dependencies: 1
inputs: unitary state
function: Find
inputs: Jack Bruce
function: Relate
dependencies: 3
inputs: residence
forward
function: FilterConcept
dependencies: 4
inputs: unitary state
function: Or
dependencies: 2
5
function: Count
dependencies: 6