Question: Andy Hallett famously plays which character on Angel, which also includes Julie Benz as a cast member?
Choices: Rodney Copperbottom
Foggy Nelson
Batgirl
Mary Todd Lincoln
Lorne
Harry Morgan
Madam Medusa
White Rabbit
John Paul Jones
Jamie Williams
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Andy Hallett" . ?e_2 <pred:name> "Angel" . ?e_2 <cast_member> ?e_3 . ?e_3 <pred:name> "Julie Benz" . ?e_1 <notable_work> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <notable_work> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Andy Hallett
function: Find
inputs: Julie Benz
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Angel
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: notable work
character role
Answer: Lorne