query-1043e0e3e958d22b5acaf657bd21a1e0
Propertiesreplaces (P1365)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 wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT *
WHERE {
VALUES ?item {
wd:Q4691832
wd:Q27722195
wd:Q53952236
}
VALUES ?wdt {
wdt:P1365
wdt:P1366
}
{?item ?wdt ?other}
UNION
{?other ?wdt ?item}
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;
v1("?item"):::projected
v3("?other"):::projected
v2("?wdt"):::projected
c2(["bd:serviceParam"]):::iri
c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal
bind0[/VALUES ?item/]
bind0-->v1
bind00(["wd:Q4691832"])
bind00 --> bind0
bind01(["wd:Q27722195"])
bind01 --> bind0
bind02(["wd:Q53952236"])
bind02 --> bind0
bind1[/VALUES ?wdt/]
bind1-->v2
bind10(["wdt:P1365"])
bind10 --> bind1
bind11(["wdt:P1366"])
bind11 --> bind1
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v3 -->v2--> v1
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v1 -->v2--> v3
end
union0r <== or ==> union0l
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end