Question: How is The Lord of the Rings: The Two Towers which was released for PlayStation 2 related to Electronic Arts?
Choices:
educated at
editor
location of formation
place of birth
country
commissioned by
fabrication method
official religion
has effect
publisher
Answer: publisher
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Lord of the Rings: The Two Towers" . ?e_1 <platform> ?e_3 . ?e_3 <pred:name> "PlayStation 2" . ?e_2 <pred:name> "Electronic Arts" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: PlayStation 2
function: Relate
dependencies: 0
inputs: platform
backward
function: Find
inputs: The Lord of the Rings: The Two Towers
function: And
dependencies: 1
2
function: Find
inputs: Electronic Arts
function: QueryRelation
dependencies: 3
4