Question: Does the person who is a cast member of The Young Victoria (the character role of this statement is Victoria), have a birth date before 1984?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "The Young Victoria" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> "Victoria" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1984 ) .  }
Program:
function: Find
inputs: The Young Victoria
function: Relate
dependencies: 0
inputs: cast member
forward
function: QFilterStr
dependencies: 1
inputs: character role
Victoria
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1984
<
Answer: yes