Question: What is Alyssa Milano's role in Charmed that ended on 2006-05-21?
Choices:
Xerxes
Phoebe Halliwell
Angelo Dundee
Grandmother Fa
Sheriff Woody
Kim Bauer
Nikola Tesla
Holly the Angel
Owl
Steve Jobs
Program:
function: Find
inputs: Charmed
function: FilterDate
dependencies: 0
inputs: end time
2006-05-21
=
function: Find
inputs: Alyssa Milano
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Charmed" . ?e_1 <end_time> ?pv . ?pv <pred:date> "2006-05-21"^^xsd:date . ?e_2 <pred:name> "Alyssa Milano" . ?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: Phoebe Halliwell