Question: How many visual artworks have Michael Kahn (who received an award at the 71st Academy Awards) as a film editor or the publication date that is after 2004?
Choices:
885
886
887
888
889
890
891
892
893
894
Answer: 888
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" .  { ?e <film_editor> ?e_1 . ?e_1 <pred:name> "Michael Kahn" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "71st Academy Awards" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2004 ) .  } }
Program:
function: Find
inputs: 71st Academy Awards
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Michael Kahn
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: film editor
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: FindAll
function: FilterYear
dependencies: 6
inputs: publication date
2004
>
function: FilterConcept
dependencies: 7
inputs: visual artwork
function: Or
dependencies: 5
8
function: Count
dependencies: 9