query-f83f8cf6cbbe88763a44ffd643e9ebc1
Subaspects
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX target: <http://www.wikidata.org/entity/Q126325731>
SELECT
?aspect ?aspectLabel ?aspectUrl
?aspectDescription
WHERE {
{
BIND(wd:Q2668072 AS ?aspect)
BIND(CONCAT("#country/", SUBSTR(STR(target:), 32), "/collection") AS ?aspectUrl)
}
UNION
{
BIND(wd:Q3621491 AS ?aspect)
BIND(CONCAT("#country/", SUBSTR(STR(target:), 32), "/archaeologist") AS ?aspectUrl)
}
UNION
{
BIND(wd:Q464980 AS ?aspect)
BIND(CONCAT("#country/", SUBSTR(STR(target:), 32), "/exhibition") AS ?aspectUrl)
}
UNION
{
BIND(wd:Q27986619 AS ?aspect)
BIND(CONCAT("#country/", SUBSTR(STR(target:), 32), "/mastodon") AS ?aspectUrl)
}
UNION
{
BIND(wd:Q15284 AS ?aspect)
BIND(CONCAT("#country/", SUBSTR(STR(target:), 32), "/municipality") AS ?aspectUrl)
}
UNION
{
BIND(wd:Q2085381 AS ?aspect)
BIND(CONCAT("#country/", SUBSTR(STR(target:), 32), "/publisher") AS ?aspectUrl)
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . }
}
ORDER BY ?aspectLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?aspect"):::projected
v1("?aspectLabel"):::projected
v4("?aspectUrl"):::projected
c2(["bd:serviceParam"]):::iri
c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
subgraph union1[" Union "]
subgraph union1l[" "]
style union1l fill:#abf,stroke-dasharray: 3 3;
subgraph union2[" Union "]
subgraph union2l[" "]
style union2l fill:#abf,stroke-dasharray: 3 3;
subgraph union3[" Union "]
subgraph union3l[" "]
style union3l fill:#abf,stroke-dasharray: 3 3;
subgraph union4[" Union "]
subgraph union4l[" "]
style union4l fill:#abf,stroke-dasharray: 3 3;
bind0[/"'wd:Q2085381'"/]
bind0 --as--o v4
bind1[/"concat('#country/',substring(str('wd:Q126325731'),'32^^xsd:integer'),'/publisher')"/]
bind1 --as--o v4
end
subgraph union4r[" "]
style union4r fill:#abf,stroke-dasharray: 3 3;
bind2[/"'wd:Q15284'"/]
bind2 --as--o v4
bind3[/"concat('#country/',substring(str('wd:Q126325731'),'32^^xsd:integer'),'/municipality')"/]
bind3 --as--o v4
end
union4r <== or ==> union4l
end
end
subgraph union3r[" "]
style union3r fill:#abf,stroke-dasharray: 3 3;
bind4[/"'wd:Q27986619'"/]
bind4 --as--o v4
bind5[/"concat('#country/',substring(str('wd:Q126325731'),'32^^xsd:integer'),'/mastodon')"/]
bind5 --as--o v4
end
union3r <== or ==> union3l
end
end
subgraph union2r[" "]
style union2r fill:#abf,stroke-dasharray: 3 3;
bind6[/"'wd:Q464980'"/]
bind6 --as--o v4
bind7[/"concat('#country/',substring(str('wd:Q126325731'),'32^^xsd:integer'),'/exhibition')"/]
bind7 --as--o v4
end
union2r <== or ==> union2l
end
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
bind8[/"'wd:Q3621491'"/]
bind8 --as--o v4
bind9[/"concat('#country/',substring(str('wd:Q126325731'),'32^^xsd:integer'),'/archaeologist')"/]
bind9 --as--o v4
end
union1r <== or ==> union1l
end
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
bind10[/"'wd:Q2668072'"/]
bind10 --as--o v4
bind11[/"concat('#country/',substring(str('wd:Q126325731'),'32^^xsd:integer'),'/collection')"/]
bind11 --as--o v4
end
union0r <== or ==> union0l
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end