Question: How many short movies were shot in English or report the running time of less than 6.1 months ?
Choices: 7
8
9
10
11
12
13
14
15
16
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "short film" .  { ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "English" .  } UNION { ?e <duration> ?pv . ?pv <pred:unit> "month" . ?pv <pred:value> ?v . FILTER ( ?v < "6.1"^^xsd:double ) .  } }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: FilterConcept
dependencies: 1
inputs: short film
function: FindAll
function: FilterNum
dependencies: 3
inputs: duration
6.1 month
<
function: FilterConcept
dependencies: 4
inputs: short film
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 15