Question: How many animated feature films whose duration is less than 6.1 months or whose official website is http://www.madagascar-themovie.com/?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" .  { ?e <duration> ?pv . ?pv <pred:unit> "month" . ?pv <pred:value> ?v . FILTER ( ?v < "6.1"^^xsd:double ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.madagascar-themovie.com/" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
6.1 month
<
function: FilterConcept
dependencies: 1
inputs: animated feature film
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.madagascar-themovie.com/
function: FilterConcept
dependencies: 4
inputs: animated feature film
function: Or
dependencies: 2
5
function: Count
dependencies: 6