Skip to content

Commit 5c0cef4

Browse files
committed
Accept venues with mul label too
1 parent 7e6757c commit 5c0cef4

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
@@ -6,7 +6,7 @@ PREFIX prov: <http://www.w3.org/ns/prov#>
66
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
77
PREFIX wd: <http://www.wikidata.org/entity/>
88
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
9-
SELECT ?year (COUNT(?work) AS ?number_of_publications) ?role WHERE {
9+
SELECT DISTINCT ?year (COUNT(?work) AS ?number_of_publications) ?role WHERE {
1010
{
1111
SELECT ?work (MIN(?years) AS ?year) ?type_ ?venue WHERE {
1212
?work wdt:P577 ?dates ;
@@ -17,7 +17,7 @@ SELECT ?year (COUNT(?work) AS ?number_of_publications) ?role WHERE {
1717
?work wdt:P31 wd:Q109229154 .
1818
BIND ("explicit" AS ?type_)
1919
?work wdt:P1433 ?venue_ .
20-
?venue_ rdfs:label ?venue . FILTER (LANG(?venue) = "en")
20+
?venue_ rdfs:label ?venue . FILTER (LANG(?venue) = "en" || LANG(?venue) = "mul")
2121
MINUS {
2222
?venue_ wdt:P31 wd:Q1143604
2323
}

0 commit comments

Comments
 (0)