Question: How many visual artworks are titled Red Dragon or were published after 2012 ?
Choices:
117
118
119
120
121
122
123
124
125
126
Answer: 124
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" .  { ?e <title> ?pv . ?pv <pred:value> "Red Dragon" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2012 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Red Dragon
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
2012
>
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: Or
dependencies: 2
5
function: Count
dependencies: 6