query-0d6b16dbc00b6b929a09ea41b7021deb
PropertiesISSN (P236)replaced by (P1366)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?itemISSN ?replacement ?replacementLabel ?replacementISSN
WHERE {
?item wdt:P236 ?issn ;
wdt:P1366 ?replacement.
OPTIONAL {?item wdt:P236 ?itemISSN}
OPTIONAL {?replacement wdt:P236 ?replacementISSN}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?issn")
v1("?item"):::projected
v4("?itemISSN"):::projected
v3("?replacement"):::projected
v5("?replacementISSN"):::projected
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P236"--> v2
v1 --"wdt:P1366"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P236".-> v4
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P236".-> v5
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end