Merge pull request #366 from lblod/feat/fix-duplicate-lang-strings

Bugt/fix duplicate lang strings
This commit is contained in:
Oscar Rodriguez Villalobos
2024-01-19 15:08:19 +01:00
committed by GitHub

View File

@@ -0,0 +1,16 @@
DELETE
{
GRAPH ?g {
?s ?p ?oLang.
}
}
WHERE {
GRAPH ?g {
?s ?p ?oLang.
?s ?p ?o .
}
BIND(LANG(?oLang) as ?lang)
FILTER(STRLEN(STR(?lang)) > 0)
FILTER(STR(?oLang) = ?o)
}