Question: What is the connection between Puss in Boots (the one whose publisher is THQ) to single-player video game?
Choices: cause of death
medical treatment
notable people with this condition
geographic distribution
organisation directed from the office or person
diaspora
doctoral student
located in time zone
game mode
director of photography
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Puss in Boots" . ?e_1 <publisher> ?e_3 . ?e_3 <pred:name> "THQ" . ?e_2 <pred:name> "single-player video game" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: THQ
function: Relate
dependencies: 0
inputs: publisher
backward
function: Find
inputs: Puss in Boots
function: And
dependencies: 1
2
function: Find
inputs: single-player video game
function: QueryRelation
dependencies: 3
4
Answer: game mode