Question: How is single-player video game Batman Forever related to action game?
Choices:
named after
programming language
quotes work
head of state
medical treatment
located on astronomical location
location
art director
genre
foundational text
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Batman Forever" . ?e_1 <game_mode> ?e_3 . ?e_3 <pred:name> "single-player video game" . ?e_2 <pred:name> "action 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: Batman Forever
function: And
dependencies: 1
2
function: Find
inputs: action game
function: QueryRelation
dependencies: 3
4