Question: How many studio albums titled "The Beatles" have a duration that is not 3,600 seconds?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "studio album" . ?e <title> ?pv . ?pv <pred:value> "The Beatles" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "second" . ?pv_1 <pred:value> ?v . FILTER ( ?v != "3600"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
The Beatles
function: FilterConcept
dependencies: 1
inputs: studio album
function: FindAll
function: FilterNum
dependencies: 3
inputs: duration
3600 second
!=
function: FilterConcept
dependencies: 4
inputs: studio album
function: And
dependencies: 2
5
function: Count
dependencies: 6