Question: What is the character role of Adam West (whose official website is http://www.adamwest.com) as a cast member in Batman (that has Joan Collins as a cast member)?
Choices:
Samantha Jones
"Priest" Vallon
Nicky
Sue Sylvester
Betty Draper
Clara Clayton
Batman
Superman
Storm
Ethan Kanin
Program:
function: Find
inputs: Joan Collins
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Batman
function: And
dependencies: 1
2
function: Find
inputs: Adam West
function: FilterStr
dependencies: 4
inputs: official website
http://www.adamwest.com
function: QueryRelationQualifier
dependencies: 3
5
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Batman" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Joan Collins" . ?e_2 <pred:name> "Adam West" . ?e_2 <official_website> ?pv . ?pv <pred:value> "http://www.adamwest.com" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Answer: Batman