Question: How is Spider-Man 3, with Topher Grace as a voice actor, related to PlayStation 3?
Choices:
game mode
voice type
cites
movement
replaced by
said to be the same as
parent astronomical body
location of formation
student of
platform
Answer: platform
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Spider-Man 3" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> "Topher Grace" . ?e_2 <pred:name> "PlayStation 3" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Topher Grace
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Spider-Man 3
function: And
dependencies: 1
2
function: Find
inputs: PlayStation 3
function: QueryRelation
dependencies: 3
4