Question: Was Superman (the one whose genre is hip hop music) published before 2009?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: hip hop music
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Superman
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: publication date
function: VerifyYear
dependencies: 4
inputs: 2009
<
SPARQL: ASK { ?e <pred:name> "Superman" . ?e <genre> ?e_1 . ?e_1 <pred:name> "hip hop music" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2009 ) .  }
Answer: yes