Question: How many feature films have a duration greater than 6.1 months or have Carroll Clark as an art director?
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> "feature film" .  { ?e <duration> ?pv . ?pv <pred:unit> "month" . ?pv <pred:value> ?v . FILTER ( ?v > "6.1"^^xsd:double ) .  } UNION { ?e <art_director> ?e_1 . ?e_1 <pred:name> "Carroll Clark" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
6.1 month
>
function: FilterConcept
dependencies: 1
inputs: feature film
function: Find
inputs: Carroll Clark
function: Relate
dependencies: 3
inputs: art director
backward
function: FilterConcept
dependencies: 4
inputs: feature film
function: Or
dependencies: 2
5
function: Count
dependencies: 6