Question: Who is the person that was in the cast of Spider-Man 3, in which J.K. Simmons also appeared, and has the Twitter username LucyLiu?
Choices:
Richard Gere
Lucy Liu
William Henry Harrison
Max Fleischer
Topher Grace
James Cromwell
David Byrne
Elizabeth Banks
Rahul Dev Burman
Sylvester Stallone
Program:
function: Find
inputs: J. K. Simmons
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Spider-Man 3
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: Twitter username
LucyLiu
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> "Spider-Man 3" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "J. K. Simmons" .  ?e <Twitter_username> ?pv . ?pv <pred:value> "LucyLiu" .  }
Answer: Lucy Liu