Question: Is the beginning date of the organization that is the production company of Star Wars Episode V: The Empire Strikes Back before the year 2009?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "organization" . ?e_1 <production_company> ?e . ?e_1 <pred:name> "Star Wars Episode V: The Empire Strikes Back" . ?e_1 <title> ?pv_1 . ?pv_1 <pred:value> "Star Wars: Episode V – The Empire Strikes Back" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2009 ) .  }
Program:
function: Find
inputs: Star Wars Episode V: The Empire Strikes Back
function: FilterStr
dependencies: 0
inputs: title
Star Wars: Episode V – The Empire Strikes Back
function: Relate
dependencies: 1
inputs: production company
forward
function: FilterConcept
dependencies: 2
inputs: organization
function: QueryAttr
dependencies: 3
inputs: inception
function: VerifyYear
dependencies: 4
inputs: 2009
<