Question: How many video game console models are either followed by the PlayStation 3 or was the platform of the single player game The Chronicles of Narnia: The Voyage of the Dawn Treader?
Choices:
2
3
4
5
6
7
8
9
10
11
Program:
function: Find
inputs: PlayStation 3
function: Relate
dependencies: 0
inputs: followed by
backward
function: FilterConcept
dependencies: 1
inputs: video game console model
function: Find
inputs: single-player video game
function: Relate
dependencies: 3
inputs: game mode
backward
function: Find
inputs: The Chronicles of Narnia: The Voyage of the Dawn Treader
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: platform
forward
function: FilterConcept
dependencies: 7
inputs: video game console model
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game console model" .  { ?e <followed_by> ?e_1 . ?e_1 <pred:name> "PlayStation 3" .  } UNION { ?e_1 <platform> ?e . ?e_1 <pred:name> "The Chronicles of Narnia: The Voyage of the Dawn Treader" . ?e_1 <game_mode> ?e_2 . ?e_2 <pred:name> "single-player video game" .  } }
Answer: 4