query-c545f00cde67c4821d06abff9cbf38c5
women scientists/artists on European wikipedia pages
SELECT ?wikiarticle ?pioneer ?pioneerLabel
WHERE {
VALUES ?pioneer {wd:Q7186 wd:Q232423 wd:Q236038 }
wd:Q458 wdt:P37 ?langs .
?langs wdt:P424 ?langcode .
BIND(IRI(CONCAT("https://",str(?langcode),".wikipedia.org/"))AS ?wikilangs)
?wikiarticle schema:about ?pioneer .
?wikiarticle schema:isPartOf ?wikilangs.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
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#>
#women scientists/artists on European wikipedia pages
SELECT ?wikiarticle ?pioneer ?pioneerLabel
WHERE {
VALUES ?pioneer {wd:Q7186 wd:Q232423 wd:Q236038 }
wd:Q458 wdt:P37 ?langs .
?langs wdt:P424 ?langcode .
BIND(IRI(CONCAT("https://",str(?langcode),".wikipedia.org/"))AS ?wikilangs)
?wikiarticle schema:about ?pioneer .
?wikiarticle schema:isPartOf ?wikilangs.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?langcode")
v2("?langs")
v1("?pioneer"):::projected
v5("?wikiarticle"):::projected
v4("?wikilangs")
c7(["bd:serviceParam"]):::iri
c1(["wd:Q458"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
bind0[/VALUES ?pioneer/]
bind0-->v1
bind00(["wd:Q7186"])
bind00 --> bind0
bind01(["wd:Q232423"])
bind01 --> bind0
bind02(["wd:Q236038"])
bind02 --> bind0
c1 --"wdt:P37"--> v2
v2 --"wdt:P424"--> v3
bind1[/"concat('https://',str(?langcode),'.wikipedia.org/')"/]
v3 --o bind1
bind1 --as--o v4
v5 --"schema:about"--> v1
v5 --"schema:isPartOf"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end