Question: Which work was awarded when Nickelodeon (the one that broadcasts SpongeBob SquarePants originally) received the Golden Raspberry Award for Worst Picture?
Choices:
A Dry White Season
The Last Airbender
Austin Powers: International Man of Mystery
The Counterlife
Knock on Wood
There's Something About Mary
The Blind Assassin
The Alamo
I, Daniel Blake
Bad Lieutenant
Answer: The Last Airbender
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Nickelodeon" . ?e_3 <original_network> ?e_1 . ?e_3 <pred:name> "SpongeBob SquarePants" . ?e_2 <pred:name> "Golden Raspberry Award for Worst Picture" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: SpongeBob SquarePants
function: Relate
dependencies: 0
inputs: original network
forward
function: Find
inputs: Nickelodeon
function: And
dependencies: 1
2
function: Find
inputs: Golden Raspberry Award for Worst Picture
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
for work