Question: Who is a cast member of Speed Racer (the one that has Susan Sarandon as a cast member) and has the Instagram username of riccigrams?
Choices:
William Henry Harrison
David Byrne
Richard Gere
Ariel Winter
Susan Sarandon
Rahul Dev Burman
Max Fleischer
Simon Cowell
Christina Ricci
John Goodman
Program:
function: Find
inputs: Susan Sarandon
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Speed Racer
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
forward
function: FilterConcept
dependencies: 4
inputs: human
function: FindAll
function: FilterStr
dependencies: 6
inputs: Instagram username
riccigrams
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Speed Racer" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Susan Sarandon" .  ?e <Instagram_username> ?pv . ?pv <pred:value> "riccigrams" .  }
Answer: Christina Ricci