Question: Tell me the relation between Monsters, Inc. (the one that is released for PlayStation 3) and platform game
Choices:
notable work
culture
lifestyle
contains settlement
uses
soundtrack album
public holiday
genre
geography of topic
lowest point
Program:
function: Find
inputs: PlayStation 3
function: Relate
dependencies: 0
inputs: platform
backward
function: Find
inputs: Monsters, Inc.
function: And
dependencies: 1
2
function: Find
inputs: platform game
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Monsters, Inc." . ?e_1 <platform> ?e_3 . ?e_3 <pred:name> "PlayStation 3" . ?e_2 <pred:name> "platform game" . ?e_1 ?p ?e_2 .  }
Answer: genre