Question: What is the platform of Blu-ray Disc, the distribution format of Shrek Forever After (which is released for iOS)?
Choices:
87400000 United States dollar
Xbox 360
Nintendo Entertainment System
1966
Pacific War
Palace of Versailles
PlayStation 3
PlayStation 2
Microsoft Windows
767
Answer: PlayStation 3
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Shrek Forever After" . ?e_1 <platform> ?e_3 . ?e_3 <pred:name> "iOS" . ?e_2 <pred:name> "Blu-ray Disc" . ?e_1 <distribution> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <distribution> ; <pred:fact_t> ?e_2 ] <platform> ?qpv .  }
Program:
function: Find
inputs: iOS
function: Relate
dependencies: 0
inputs: platform
backward
function: Find
inputs: Shrek Forever After
function: And
dependencies: 1
2
function: Find
inputs: Blu-ray Disc
function: QueryRelationQualifier
dependencies: 3
4
inputs: distribution
platform