Question: How many video games have a publication date before 2009 or an origin from the name Alvin and the Chipmunks: The Squeakquel?
Choices: 133
134
135
136
137
138
139
140
141
142
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2009 ) .  } UNION { ?e_1 <named_after> ?e . ?e_1 <pred:name> "Alvin and the Chipmunks: The Squeakquel" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2009
<
function: FilterConcept
dependencies: 1
inputs: video game
function: Find
inputs: Alvin and the Chipmunks: The Squeakquel
function: Relate
dependencies: 3
inputs: named after
forward
function: FilterConcept
dependencies: 4
inputs: video game
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 140