Question: Holly Marie as a cast member in Charmed (Eric Dane is the one cast member) What is the person's character role in the work?
Choices: Serena Kogan
Connor
Max Gibson
Qui-Gon Jinn
Indiana Jones
Jerry Lawson
Piper Halliwell
Rubeus Hagrid
Professor Vinick
King Claudius
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Charmed" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Eric Dane" . ?e_2 <pred:name> "Holly Marie Combs" . ?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: Eric Dane
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Charmed
function: And
dependencies: 1
2
function: Find
inputs: Holly Marie Combs
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role
Answer: Piper Halliwell