Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scholia/app/templates/cito-index_articles-by-year.sparql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#defaultView:BarChart
select ?year (count(?work) as ?number_of_publications) ?role where {
select DISTINCT ?year (count(?work) as ?number_of_publications) ?role where {
{
select ?work (min(?years) as ?year) ?type_ ?venue where {
?work wdt:P577 ?dates ;
Expand All @@ -8,7 +8,7 @@ select ?year (count(?work) as ?number_of_publications) ?role where {
bind(str(year(?dates)) as ?years) .
OPTIONAL {
?work wdt:P31 wd:Q109229154 . bind("explicit" as ?type_)
?work wdt:P1433 ?venue_ . ?venue_ rdfs:label ?venue . FILTER (LANG(?venue) = "en")
?work wdt:P1433 ?venue_ . ?venue_ rdfs:label ?venue . FILTER (LANG(?venue) = "en" || LANG(?venue) = "mul")
MINUS { ?venue_ wdt:P31 wd:Q1143604 }
}
OPTIONAL {
Expand Down