Question: Was the screenwriter on Brothers, with Patrick Stewart as a cast member, born later than 1910 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: Patrick Stewart
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Brothers
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: screenwriter
forward
function: FilterConcept
dependencies: 4
inputs: human
function: QueryAttr
dependencies: 5
inputs: date of birth
function: VerifyYear
dependencies: 6
inputs: 1910
>
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> "Brothers" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Patrick Stewart" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1910 ) .  }
Answer: yes