Question: How many works in writing were published earlier than 1999?
Choices:
67
68
69
70
71
72
73
74
75
76
Answer: 72
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1999 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1999
<
function: FilterConcept
dependencies: 1
inputs: written work
function: Count
dependencies: 2