Question: How many video game developers do we know whose number of employees is different from 19,700 or that were founded before 2005 ?
Choices:
45
46
47
48
49
50
51
52
53
54
Answer: 48
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game developer" .  { ?e <employees> ?pv . ?pv <pred:unit> "reservist" . ?pv <pred:value> ?v . FILTER ( ?v != "19700"^^xsd:double ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2005 ) .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: employees
19700 reservist
!=
function: FilterConcept
dependencies: 1
inputs: video game developer
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
2005
<
function: FilterConcept
dependencies: 4
inputs: video game developer
function: Or
dependencies: 2
5
function: Count
dependencies: 6