Question: What is the name of the derivative work of Terminator 3: Rise of the Machines, that has a publication date 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_1 <derivative_work> ?e . ?e_1 <pred:name> "Terminator 3: Rise of the Machines" . ?e_1 <title> ?pv_1 . ?pv_1 <pred:value> "Terminator 3: Rise of the Machines" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2008 ) .  }
Program:
function: Find
inputs: Terminator 3: Rise of the Machines
function: FilterStr
dependencies: 0
inputs: title
Terminator 3: Rise of the Machines
function: Relate
dependencies: 1
inputs: derivative work
forward
function: FilterConcept
dependencies: 2
inputs: entertainment
function: QueryAttr
dependencies: 3
inputs: publication date
function: VerifyYear
dependencies: 4
inputs: 2008
<