Question: How many agents have less than 29700 active duty military personnel or more than 9200 employees?
Choices: 60
61
62
63
64
65
66
67
68
69
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" .  { ?e <employees> ?pv . ?pv <pred:unit> "active duty military personnel" . ?pv <pred:value> ?v . FILTER ( ?v < "29700"^^xsd:double ) .  } UNION { ?e <employees> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "9200"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: employees
29700 active duty military personnel
<
function: FilterConcept
dependencies: 1
inputs: agent
function: FindAll
function: FilterNum
dependencies: 3
inputs: employees
9200
>
function: FilterConcept
dependencies: 4
inputs: agent
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 62