query-d5443e634439debc16e2593ea4147e79
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?publisherLabel ?publicationtypeLabel ?publicationLabel ?article ?articleLabel WHERE
{
VALUES ?publisher { wd:Q127992 } # add more publishers here
VALUES ?publicationtype { wd:Q1143604 } # add more publication types here
?article wdt:P1433 ?publication .
?publication wdt:P31 ?publicationtype .
?publication wdt:P123 ?publisher .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
ORDER BY ?publisherLabel ?publicationtypeLabel ?publicationLabel ?articleLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v7("?article"):::projected
v4("?articleLabel"):::projected
v8("?publication")
v3("?publicationLabel"):::projected
v6("?publicationtype")
v2("?publicationtypeLabel"):::projected
v5("?publisher")
v1("?publisherLabel"):::projected
c5(["bd:serviceParam"]):::iri
c7(["en"]):::literal
bind0[/VALUES ?publisher/]
bind0-->v5
bind00(["wd:Q127992"])
bind00 --> bind0
bind1[/VALUES ?publicationtype/]
bind1-->v6
bind10(["wd:Q1143604"])
bind10 --> bind1
v7 --"wdt:P1433"--> v8
v8 --"wdt:P31"--> v6
v8 --"wdt:P123"--> v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end