I am using the following query to get a list of ISO countries with their details:
SELECT ?country ?countryLabel ?code ?wikipedia ?countryAltLabel
WHERE
{
?country wdt:P297 ?code .
OPTIONAL {
?wikipedia schema:about ?country .
?wikipedia schema:isPartOf <https://en.wikipedia.org/>.
} .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
}
The results I am getting look like this:
Is there any way to remove flag symbols from the list of CountryAltLabels?