Question: What is Gillian Anderson´s character role in The X-Files (the one whose duration is 121 minutes)?
Choices: Cindy Campbell
Marmaduke
John Paul Jones
Henry VIII of England
Dana Scully
Kestrel
Cyclops
Doctor Manhattan
John Conroy
Dylan Sanders
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The X-Files" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "121"^^xsd:double . ?e_2 <pred:name> "Gillian Anderson" . ?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: The X-Files
function: FilterNum
dependencies: 0
inputs: duration
121 minute
=
function: Find
inputs: Gillian Anderson
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
Answer: Dana Scully