Question: Was Get Carter (the one whose production company is Metro-Goldwyn-Mayer) published before 2012?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Get Carter" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Metro-Goldwyn-Mayer" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2012 ) .  }
Program:
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Get Carter
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: publication date
function: VerifyYear
dependencies: 4
inputs: 2012
<