query-c0a7127487cef2b0518919f8ce9cfe81
Custom link formatting in WDQS results in the sitelink column of the following query? Thanks in advance. https://en.wikipedia.org/wiki/The_Godfather instead of The GodfatherIs it possibile to show the link
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?sitelink
WHERE {
?item wdt:P345 "tt0068646" .
?sitelink schema:about ?item; schema:isPartOf <https://en.wikipedia.org/> .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
LIMIT 10
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v2("?sitelink"):::projected
c5([https://en.wikipedia.org/]):::iri
c7(["bd:serviceParam"]):::iri
c2(["tt0068646"]):::literal
c9(["en"]):::literal
v1 --"wdt:P345"--> c2
v2 --"schema:about"--> v1
v2 --"schema:isPartOf"--> c5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end