Question: What is the number of visual artworks that have a publication date after 2009 or that is Wild at Heart's main subject?
Choices:
415
416
417
418
419
420
421
422
423
424
Answer: 421
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2009 ) .  } UNION { ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Wild at Heart" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2009
>
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Find
inputs: Wild at Heart
function: Relate
dependencies: 3
inputs: main subject
forward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: Or
dependencies: 2
5
function: Count
dependencies: 6