Question: What occupation that is the main topic of Pirates of the Caribbean: The Curse of the Black Pearl and Pirates of the Caribbean: At World's End (that was nominated for a Saturn Award for Best Costume)?
Choices:
partner
samurai
contestant
pirate
all-rounder
environmentalist
singer-songwriter
small forward
defenceman
lead vocalist
Answer: pirate
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "occupation" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Pirates of the Caribbean: The Curse of the Black Pearl" .  ?e_2 <main_subject> ?e . ?e_2 <pred:name> "Pirates of the Caribbean: At World's End" . ?e_2 <nominated_for> ?e_3 . ?e_3 <pred:name> "Saturn Award for Best Costume" .  }
Program:
function: Find
inputs: Pirates of the Caribbean: The Curse of the Black Pearl
function: Relate
dependencies: 0
inputs: main subject
forward
function: FilterConcept
dependencies: 1
inputs: occupation
function: Find
inputs: Saturn Award for Best Costume
function: Relate
dependencies: 3
inputs: nominated for
backward
function: Find
inputs: Pirates of the Caribbean: At World's End
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: main subject
forward
function: FilterConcept
dependencies: 7
inputs: occupation
function: And
dependencies: 2
8
function: What
dependencies: 9