query-e83ea0625ce35da4d2639efe5ff5449f
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?publon_id ?publon_link ?frwp {
?item wdt:P3829 ?publon_id .
?frwp schema:about ?item; schema:isPartOf <https://fr.wikipedia.org/> .
wd:P3829 wdt:P1630 ?p1630 .
BIND(URI(REPLACE(?p1630,'\\$1',?publon_id)) AS ?publon_link)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],fr". }
}
ORDER BY ?itemLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?frwp"):::projected
v2("?item"):::projected
v1("?itemLabel"):::projected
v5("?p1630")
v3("?publon_id"):::projected
v6("?publon_link"):::projected
c5(["wd:P3829"]):::iri
c8(["bd:serviceParam"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,fr"]):::literal
c4([https://fr.wikipedia.org/]):::iri
v2 --"wdt:P3829"--> v3
v4 --"schema:about"--> v2
v4 --"schema:isPartOf"--> c4
c5 --"wdt:P1630"--> v5
bind0[/"replace(?p1630,'\$1',?publon_id)"/]
v5 --o bind0
v3 --o bind0
bind0 --as--o v6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end