Question: What is the number of entertainment systems whose release date is not in 2005 or Nintendo GameID is RNNY4Q?
Choices:
174
175
176
177
178
179
180
181
182
183
Answer: 174
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "entertainment" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2005 ) .  } UNION { ?e <Nintendo_GameID> ?pv . ?pv <pred:value> "RNNY4Q" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2005
!=
function: FilterConcept
dependencies: 1
inputs: entertainment
function: FindAll
function: FilterStr
dependencies: 3
inputs: Nintendo GameID
RNNY4Q
function: FilterConcept
dependencies: 4
inputs: entertainment
function: Or
dependencies: 2
5
function: Count
dependencies: 6