Question: How RoboCop is related to Nintendo Entertainment System?
Choices:
home venue
appointed by
different from
depicted by
conferred by
sibling
replaced by
platform
publisher
screenwriter
Answer: platform
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "RoboCop" . ?e_1 <platform> ?e_3 . ?e_3 <pred:name> "Nintendo Entertainment System" . ?e_2 <pred:name> "Nintendo Entertainment System" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Nintendo Entertainment System
function: Relate
dependencies: 0
inputs: platform
backward
function: Find
inputs: RoboCop
function: And
dependencies: 1
2
function: Find
inputs: Nintendo Entertainment System
function: QueryRelation
dependencies: 3
4