query-4bdc9e572f3560310555b2d2045dc864
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?article ?sitelink ?all_sitelinks (count(?partOf) as ?wikipedia_sitelinks)
WHERE
{
VALUES ?sitelink {"Arthur Rudolph"@en } .
?article schema:about ?item ;
schema:isPartOf <https://en.wikipedia.org/> ;
schema:name ?sitelink .
?item wikibase:sitelinks ?all_sitelinks .
?article1 schema:about ?item ;
schema:isPartOf ?partOf .
?partOf wikibase:wikiGroup "wikipedia"
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} GROUP BY ?item ?itemLabel ?article ?sitelink ?all_sitelinks
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?all_sitelinks"):::projected
v2("?article"):::projected
v5("?article1")
v3("?item"):::projected
v6("?partOf"):::projected
v1("?sitelink"):::projected
v7("?wikipedia_sitelinks")
c3([https://en.wikipedia.org/]):::iri
c9(["bd:serviceParam"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c7(["wikipedia"]):::literal
bind0[/VALUES ?sitelink/]
bind0-->v1
bind00([sArthur Rudolph^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>"])
bind00 --> bind0
v2 --"schema:about"--> v3
v2 --"schema:isPartOf"--> c3
v2 --"schema:name"--> v1
v3 --"wikibase:sitelinks"--> v4
v5 --"schema:about"--> v3
v5 --"schema:isPartOf"--> v6
v6 --"wikibase:wikiGroup"--> c7
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end
bind2[/"count(?partOf)"/]
v6 --o bind2
bind2 --as--o v7