Question: Is the college, that is Richard Brooks' (the one that is the spouse of Jean Simmons) school, established before 2005?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "higher education institution" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Richard Brooks" . ?e_2 <spouse> ?e_1 . ?e_2 <pred:name> "Jean Simmons" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2005 ) .  }
Program:
function: Find
inputs: Jean Simmons
function: Relate
dependencies: 0
inputs: spouse
forward
function: Find
inputs: Richard Brooks
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: educated at
forward
function: FilterConcept
dependencies: 4
inputs: higher education institution
function: QueryAttr
dependencies: 5
inputs: inception
function: VerifyYear
dependencies: 6
inputs: 2005
<