query-f267da77e168f25d443410dab140a5af
Idea: Bot job to collect statistics about wikis Idea: Bot job to collect statistics about wikis. Wikidata:Project chatCopied from
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?MediaWiki ?MediaWikiLabel ?endpoint WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
{ ?MediaWiki wdt:P408 wd:Q83. }
UNION
{ ?MediaWiki wdt:P31 wd:Q15633582. }
?MediaWiki wdt:P6269 ?endpoint.
}
Query found at
- https://www.wikidata.org/wiki/Wikidata:Project_chat/Archive/2023/11
- https://www.wikidata.org/wiki/Wikidata_talk:WikiProject_Interwiki
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?MediaWiki"):::projected
v2("?endpoint"):::projected
c2(["bd:serviceParam"]):::iri
c8(["wd:Q15633582"]):::iri
c6(["wd:Q83"]):::iri
c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P31"--> c8
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P408"--> c6
end
union0r <== or ==> union0l
end
v1 --"wdt:P6269"--> v2