Question: What number of public companies have an employee count that's other than 1100000 or a Pinterest username of oracle?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "public company" .  { ?e <Pinterest_username> ?pv . ?pv <pred:value> "oracle" .  } UNION { ?e <employees> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "1100000"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Pinterest username
oracle
function: FilterConcept
dependencies: 1
inputs: public company
function: FindAll
function: FilterNum
dependencies: 3
inputs: employees
1100000
!=
function: FilterConcept
dependencies: 4
inputs: public company
function: Or
dependencies: 2
5
function: Count
dependencies: 6