Question: Was the person who differs from Richard Brooks (the one that has the occupation of musician) born after 1901?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: musician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Richard Brooks
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: different from
forward
function: FilterConcept
dependencies: 4
inputs: human
function: QueryAttr
dependencies: 5
inputs: date of birth
function: VerifyYear
dependencies: 6
inputs: 1901
>
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <different_from> ?e . ?e_1 <pred:name> "Richard Brooks" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "musician" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1901 ) .  }
Answer: yes