Question: Was the single that is a notable work of John Barry (who received a Grammy Award for Best Score Soundtrack for Visual Media) published before 2006?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "single" . ?e_1 <notable_work> ?e . ?e_1 <pred:name> "John Barry" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "Grammy Award for Best Score Soundtrack for Visual Media" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2006 ) .  }
Program:
function: Find
inputs: Grammy Award for Best Score Soundtrack for Visual Media
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: John Barry
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: notable work
forward
function: FilterConcept
dependencies: 4
inputs: single
function: QueryAttr
dependencies: 5
inputs: publication date
function: VerifyYear
dependencies: 6
inputs: 2006
<