Question: What visual artwork's director is Walt Disney who is a member of political party called the Republican Party)?
Choices:
Ponyo on the Cliff by the Sea
Scary Movie 4
The Greatest Show on Earth
Tucker: The Man and His Dream
Puss in Boots
Hope Springs
Changeling
Beginners
Magic Knight Rayearth
Superman
Answer: Puss in Boots
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <director> ?e_1 . ?e_1 <pred:name> "Walt Disney" . ?e_1 <member_of_political_party> ?e_2 . ?e_2 <pred:name> "Republican Party" .   }
Program:
function: Find
inputs: Republican Party
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: Walt Disney
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: director
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: What
dependencies: 5