Question: What is the character role of Nicolas Cage in City of Angels (the one whose publication date is 1998-04-10)?
Choices:
Perry White
Howard Cosell
Louis C. Fraina
Seth
Cindy Campbell
Sailor Ripley
Jessie
Tai Lung
Ally McBeal
Arthur Hobbs
Program:
function: Find
inputs: City of Angels
function: FilterDate
dependencies: 0
inputs: publication date
1998-04-10
=
function: Find
inputs: Nicolas Cage
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "City of Angels" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1998-04-10"^^xsd:date . ?e_2 <pred:name> "Nicolas Cage" . ?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: Seth