Question: What is the character role of Morgan Freeman in Along Came a Spider (the one whose official website is http://www.alongcameaspidermovie.com/)?
Choices:
Dobby
Alex Cross
Archdeacon
Havelock Vetinari
Doc Samson
Donna Moss
Dienekes
Tomáš
Gabriel Van Helsing
Mei Ling
Answer: Alex Cross
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Along Came a Spider" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.alongcameaspidermovie.com/" . ?e_2 <pred:name> "Morgan Freeman" . ?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: Along Came a Spider
function: FilterStr
dependencies: 0
inputs: official website
http://www.alongcameaspidermovie.com/
function: Find
inputs: Morgan Freeman
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role