Question: What piece of entertainment did Adam Sandler voice act for and was published by Ubisoft?
Choices:
Alexander
G.I. Joe: The Rise of Cobra
music video game
Guitar Hero 5
Shrek Forever After
Batman
Battleship
Prince of Persia: The Sands of Time
Charlie's Angels
Little Nicky
Answer: Little Nicky
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "entertainment" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Adam Sandler" .  ?e <publisher> ?e_2 . ?e_2 <pred:name> "Ubisoft" .  }
Program:
function: Find
inputs: Adam Sandler
function: Relate
dependencies: 0
inputs: voice actor
backward
function: FilterConcept
dependencies: 1
inputs: entertainment
function: Find
inputs: Ubisoft
function: Relate
dependencies: 3
inputs: publisher
backward
function: FilterConcept
dependencies: 4
inputs: entertainment
function: And
dependencies: 2
5
function: What
dependencies: 6