Question: Was the medal bestowed on John Williams, born 1832-01-01, established earlier than 2011?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "medal" . ?e_1 <award_received> ?e . ?e_1 <pred:name> "John Williams" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1832-01-01"^^xsd:date . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2011 ) .  }
Program:
function: Find
inputs: John Williams
function: FilterDate
dependencies: 0
inputs: date of birth
1832-01-01
=
function: Relate
dependencies: 1
inputs: award received
forward
function: FilterConcept
dependencies: 2
inputs: medal
function: QueryAttr
dependencies: 3
inputs: inception
function: VerifyYear
dependencies: 4
inputs: 2011
<
Answer: yes