Skip to content

Commit aa9f2d9

Browse files
authored
Accept venues with mul label too
1 parent b14be14 commit aa9f2d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scholia/app/templates/cito-index_articles-by-year.sparql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#defaultView:BarChart
2-
select ?year (count(?work) as ?number_of_publications) ?role where {
2+
select DISTINCT ?year (count(?work) as ?number_of_publications) ?role where {
33
{
44
select ?work (min(?years) as ?year) ?type_ ?venue where {
55
?work wdt:P577 ?dates ;
@@ -8,7 +8,7 @@ select ?year (count(?work) as ?number_of_publications) ?role where {
88
bind(str(year(?dates)) as ?years) .
99
OPTIONAL {
1010
?work wdt:P31 wd:Q109229154 . bind("explicit" as ?type_)
11-
?work wdt:P1433 ?venue_ . ?venue_ rdfs:label ?venue . FILTER (LANG(?venue) = "en")
11+
?work wdt:P1433 ?venue_ . ?venue_ rdfs:label ?venue . FILTER (LANG(?venue) = "en" || LANG(?venue) = "mul")
1212
MINUS { ?venue_ wdt:P31 wd:Q1143604 }
1313
}
1414
OPTIONAL {

0 commit comments

Comments
 (0)