diff --git a/questiongenerator/src/main/java/templates/VideogamesGenreQuestion.java b/questiongenerator/src/main/java/templates/VideogamesGenreQuestion.java index 50c489e8..b0cc589a 100644 --- a/questiongenerator/src/main/java/templates/VideogamesGenreQuestion.java +++ b/questiongenerator/src/main/java/templates/VideogamesGenreQuestion.java @@ -28,7 +28,7 @@ public void setQuery() { " OPTIONAL { " + " ?game wdt:P136 ?genreItem. " + " ?genreItem rdfs:label ?genreLabel. " + - " FILTER(LANG(?genreLabel) IN (\"en\", \"es\")) " + + " FILTER(LANG(?genreLabel) IN (\"" + langCode + "\")) " + " } " + " SERVICE wikibase:label { bd:serviceParam wikibase:language \"" + langCode + "\". } " + "} " +