Question: Was the Kingdom of Hungary (the one that use Hungarian as its official language) founded after 1787?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: Hungarian
function: Relate
dependencies: 0
inputs: official language
backward
function: Find
inputs: Kingdom of Hungary
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: inception
function: VerifyYear
dependencies: 4
inputs: 1787
>
SPARQL: ASK { ?e <pred:name> "Kingdom of Hungary" . ?e <official_language> ?e_1 . ?e_1 <pred:name> "Hungarian" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1787 ) .  }
Answer: yes