Question: How many feature films were released pre-2009 or have costume designs by Meagan Good?
Choices:
40
41
42
43
44
45
46
47
48
49
Answer: 46
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2009 ) .  } UNION { ?e <costume_designer> ?e_1 . ?e_1 <pred:name> "Meagan Good" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2009
<
function: FilterConcept
dependencies: 1
inputs: feature film
function: Find
inputs: Meagan Good
function: Relate
dependencies: 3
inputs: costume designer
backward
function: FilterConcept
dependencies: 4
inputs: feature film
function: Or
dependencies: 2
5
function: Count
dependencies: 6