Question: What state is the main subject of  The Ten Commandments (the one whose distributor is American Broadcasting Company) ?
Choices:
Joe Jackson
Greece
Tony Award for Best Actress in a Play
chess
Adam Smith
Fiji
Gabon
poverty
Port Vale F.C.
slavery
Answer: slavery
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> "The Ten Commandments" . ?e_1 <distributor> ?e_2 . ?e_2 <pred:name> "American Broadcasting Company" .   }
Program:
function: Find
inputs: American Broadcasting Company
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: The Ten Commandments
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: main subject
forward
function: FilterConcept
dependencies: 4
inputs: state
function: What
dependencies: 5