Question: Which video game is the game mode of The Da Vinci Code (the one whose publisher is 2K Games) and that is the game mode of Saw (the one that is released for Xbox 360) ?
Choices:
beat 'em up
Batman
Shrek Forever After
Salem
Battleship
single-player video game
Harry Potter and the Half-Blood Prince
music video game
Spider-Man 3
G.I. Joe: The Rise of Cobra
Answer: single-player video game
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game" . ?e_1 <game_mode> ?e . ?e_1 <pred:name> "The Da Vinci Code" . ?e_1 <publisher> ?e_2 . ?e_2 <pred:name> "2K Games" .  ?e_3 <game_mode> ?e . ?e_3 <pred:name> "Saw" . ?e_3 <platform> ?e_4 . ?e_4 <pred:name> "Xbox 360" .  }
Program:
function: Find
inputs: 2K Games
function: Relate
dependencies: 0
inputs: publisher
backward
function: Find
inputs: The Da Vinci Code
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: game mode
forward
function: FilterConcept
dependencies: 4
inputs: video game
function: Find
inputs: Xbox 360
function: Relate
dependencies: 6
inputs: platform
backward
function: Find
inputs: Saw
function: And
dependencies: 7
8
function: Relate
dependencies: 9
inputs: game mode
forward
function: FilterConcept
dependencies: 10
inputs: video game
function: And
dependencies: 5
11
function: What
dependencies: 12