[Wikidata-bugs] [Maniphest] T306783: Combining English dialects in SPARQL FILTER bug or feature?

2022-04-26 Thread joshmoore
joshmoore added a comment. Thanks again, Lucas. Simplifying the original a bit: SELECT DISTINCT ?city (SAMPLE(?name) as ?name) WHERE { ?city wdt:P31/wdt:P279* wd:Q387917 . # wd:Q515 . ?city rdfs:label ?label . FILTER(LANGMATCHES(LANG(?label), "en"))

[Wikidata-bugs] [Maniphest] T306783: Combining English dialects in SPARQL FILTER bug or feature?

2022-04-26 Thread joshmoore
joshmoore added a comment. Thanks, Lucas. Appreciate the feedback as the original instigator. 😃 This may be getting into a data model question but this leaves me to wonder that if there a chance that there would be no `en` but several `en_*` entries, what would be the appropriate filter