Question: What is the character role of Benjamin Bratt in Law & Order (the one whose official website is http://www.nbc.com/Law_and_Order/index.shtml)?
Choices:
Saul Berenson
Alvin Karpis
Fix-it Felix
Rey Curtis
Kestrel
Alex Kelly
Cindy Campbell
Cyclops
Becky Sharp
Wai Lin
Answer: Rey Curtis
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Law & Order" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.nbc.com/Law_and_Order/index.shtml" . ?e_2 <pred:name> "Benjamin Bratt" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Law & Order
function: FilterStr
dependencies: 0
inputs: official website
http://www.nbc.com/Law_and_Order/index.shtml
function: Find
inputs: Benjamin Bratt
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role