Question: How is Spider-Man 2 (the one that has Tobey Maguire as a voice actor) related to Microsoft Windows ?
Choices:
has edition
tributary
member of political party
language of work or name
filming location
manufacturer
field of work
platform
permanent resident of
doctoral student
Answer: platform
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Spider-Man 2" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> "Tobey Maguire" . ?e_2 <pred:name> "Microsoft Windows" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Tobey Maguire
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Spider-Man 2
function: And
dependencies: 1
2
function: Find
inputs: Microsoft Windows
function: QueryRelation
dependencies: 3
4