Question: What number of people are not 5.5 foot or did not start working in 1994?
Choices:
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
Answer: 1202
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" .  { ?e <height> ?pv . ?pv <pred:unit> "foot" . ?pv <pred:value> ?v . FILTER ( ?v != "5.5"^^xsd:double ) .  } UNION { ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1994 ) .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: height
5.5 foot
!=
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterYear
dependencies: 3
inputs: work period (start)
1994
!=
function: FilterConcept
dependencies: 4
inputs: human
function: Or
dependencies: 2
5
function: Count
dependencies: 6