Question: Which movie's cast includes both Christina Applegate and Sarah Jessica Parker?
Choices:
Anchorman: The Legend of Ron Burgundy
A Prairie Home Companion
Mars Attacks!
Ed Wood
Sex and the City
Pleasantville
New Year's Eve
Talk to Her
The Fifth Element
Rebecca
Answer: Mars Attacks!
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Christina Applegate" .  ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Sarah Jessica Parker" .  }
Program:
function: Find
inputs: Christina Applegate
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Sarah Jessica Parker
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6