I don't understand why this SPARQL queries produce duplicates:
SELECT DISTINCT ?WikidataItem ?itemLabel
WHERE {
?WikidataItem rdfs:label ?itemLabel.
?WikidataItem ?label "Mozilla Firefox"@en.
}
LIMIT 5
Is it producing a row of output in every language? How can I change my query in order for it to produce only the single result in English?
Update
I'm still confused about how to solve my problem, since I perhaps oversimplified my example. I actually am using FILTER(CONTAINS(LCASE(?itemLabel), "firefox"@en))
among other things to limit my query. How do I output only the English language label for each entry?
FILTER(lang(?itemLabel)='en')
?