Question: Was the Independence Day (shot in New Jersey) video game published before 2009?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "video game" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "Independence Day" . ?e_1 <filming_location> ?e_2 . ?e_2 <pred:name> "New Jersey" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2009 ) .  }
Program:
function: Find
inputs: New Jersey
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Independence Day
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
forward
function: FilterConcept
dependencies: 4
inputs: video game
function: QueryAttr
dependencies: 5
inputs: publication date
function: VerifyYear
dependencies: 6
inputs: 2009
<
Answer: yes