Question: What number of businesses have more than 8700 employees?
Choices:
49
50
51
52
53
54
55
56
57
58
Answer: 57
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "business" . ?e <employees> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "8700"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: employees
8700
>
function: FilterConcept
dependencies: 1
inputs: business
function: Count
dependencies: 2