Question: How many visual artworks are titled The Last Station or were released prior to 1988?
Choices:
861
862
863
864
865
866
867
868
869
870
Answer: 863
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" .  { ?e <title> ?pv . ?pv <pred:value> "The Last Station" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1988 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
The Last Station
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
1988
<
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: Or
dependencies: 2
5
function: Count
dependencies: 6