A query like the below allows currently displays the full url.
SELECT ?item ?itemLabel (URI(CONCAT("https://example.com/",?itemLabel)) as ?url) { ?item wdt:P31 wd:Q5 SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } } LIMIT 10
It would be interesting to shorten this to a display text, e.g.
instead of: