Question: Is the date of birth for the person who plays the character of John Carter on ER 1898-02-21?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "ER" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> "John Carter" . ?e <date_of_birth> ?pv . ?pv <pred:date> "1898-02-21"^^xsd:date .  }
Program:
function: Find
inputs: ER
function: Relate
dependencies: 0
inputs: cast member
forward
function: QFilterStr
dependencies: 1
inputs: character role
John Carter
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyDate
dependencies: 4
inputs: 1898-02-21
=