Question: What is the relationship between Ratatouille (whose game mode is single-player video game) and single-player video game?
Choices:
licensed to broadcast to
game mode
airline alliance
replaced by
language of work or name
medical treatment
set in period
organizer
allegiance
participant of
Answer: game mode
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ratatouille" . ?e_1 <game_mode> ?e_3 . ?e_3 <pred:name> "single-player video game" . ?e_2 <pred:name> "single-player video game" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: single-player video game
function: Relate
dependencies: 0
inputs: game mode
backward
function: Find
inputs: Ratatouille
function: And
dependencies: 1
2
function: Find
inputs: single-player video game
function: QueryRelation
dependencies: 3
4