Question: What is the relationship between The Little Mermaid (the one whose genre is action game) to Nintendo Entertainment System?
Choices:
occupant
series spin-off
platform
drug used for treatment
location of discovery
owned by
lowest point
continent
librettist
work location
Answer: platform
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Little Mermaid" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "action game" . ?e_2 <pred:name> "Nintendo Entertainment System" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: action game
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Little Mermaid
function: And
dependencies: 1
2
function: Find
inputs: Nintendo Entertainment System
function: QueryRelation
dependencies: 3
4