Question: What are the number of video games that is designed by Steven Spielberg or whose publication date is in 2007 ?
Choices:
13
14
15
16
17
18
19
20
21
22
Program:
function: Find
inputs: Steven Spielberg
function: Relate
dependencies: 0
inputs: designed by
backward
function: FilterConcept
dependencies: 1
inputs: video game
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
2007
=
function: FilterConcept
dependencies: 4
inputs: video game
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game" .  { ?e <designed_by> ?e_1 . ?e_1 <pred:name> "Steven Spielberg" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> 2007 .  } }
Answer: 15