Question: Was a kind of entertainment, with the narrative location being Luxembourg (the one where the inflation rate is 4.3 percent), published before 2008 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "entertainment" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Luxembourg" . ?e_1 <inflation_rate> ?pv_1 . ?pv_1 <pred:unit> "percentage" . ?pv_1 <pred:value> "4.3"^^xsd:double . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2008 ) .  }
Program:
function: Find
inputs: Luxembourg
function: FilterNum
dependencies: 0
inputs: inflation rate
4.3 percentage
=
function: Relate
dependencies: 1
inputs: narrative location
backward
function: FilterConcept
dependencies: 2
inputs: entertainment
function: QueryAttr
dependencies: 3
inputs: publication date
function: VerifyYear
dependencies: 4
inputs: 2008
<