Question: Was the publication date of Rambo (the one that includes Rambo: First Blood Part II as a part) earlier than 2010?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Rambo" . ?e <has_part> ?e_1 . ?e_1 <pred:name> "Rambo: First Blood Part II" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2010 ) .  }
Program:
function: Find
inputs: Rambo: First Blood Part II
function: Relate
dependencies: 0
inputs: has part
backward
function: Find
inputs: Rambo
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: publication date
function: VerifyYear
dependencies: 4
inputs: 2010
<