Question: How many video games are followed by Guitar Hero III: Legends of Rock or have a publication date outside of 2006?
Choices:
171
172
173
174
175
176
177
178
179
180
Answer: 175
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game" .  { ?e_1 <follows> ?e . ?e_1 <pred:name> "Guitar Hero III: Legends of Rock" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2006 ) .  } }
Program:
function: Find
inputs: Guitar Hero III: Legends of Rock
function: Relate
dependencies: 0
inputs: follows
forward
function: FilterConcept
dependencies: 1
inputs: video game
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
2006
!=
function: FilterConcept
dependencies: 4
inputs: video game
function: Or
dependencies: 2
5
function: Count
dependencies: 6