Question: How many films have theme music which is Hello, Dolly! (the one that received Grammy Award for Song of the Year) and have a duration greater than 6.1 months?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <theme_music> ?e_1 . ?e_1 <pred:name> "Hello, Dolly!" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "Grammy Award for Song of the Year" .  ?e <duration> ?pv . ?pv <pred:unit> "month" . ?pv <pred:value> ?v . FILTER ( ?v > "6.1"^^xsd:double ) .  }
Program:
function: Find
inputs: Grammy Award for Song of the Year
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Hello, Dolly!
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: theme music
backward
function: FilterConcept
dependencies: 4
inputs: film
function: FindAll
function: FilterNum
dependencies: 6
inputs: duration
6.1 month
>
function: FilterConcept
dependencies: 7
inputs: film
function: And
dependencies: 5
8
function: Count
dependencies: 9