query-825bba9e47a7115ad54b46444fbfaade
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/Q9035>
SELECT
?value ?valueLabel ?valueUrl ?valueDescription
WHERE {
{
BIND(10 AS ?order)
BIND(wd:Q24634210 AS ?value)
BIND(CONCAT("#language/", SUBSTR(STR(target:), 32), "/podcast") AS ?valueUrl)
}
UNION
{
BIND(11 AS ?order)
BIND("Publishers 🔍" AS ?value)
BIND(CONCAT("#language/", SUBSTR(STR(target:), 32), "/publisher") AS ?valueUrl)
}
UNION
{
BIND(20 AS ?order)
BIND("Languages 🔍" AS ?value)
BIND(CONCAT("#language/", SUBSTR(STR(target:), 32), "/language") AS ?valueUrl)
}
UNION
{
BIND(21 AS ?order)
BIND("Lexeme attestor 🔍" AS ?value)
BIND(CONCAT("#language/", SUBSTR(STR(target:), 32), "/lexemeattestor") AS ?valueUrl)
}
UNION
{
BIND(22 AS ?order)
BIND("Lexeme descriptors 🔍" AS ?value)
BIND(CONCAT("#language/", SUBSTR(STR(target:), 32), "/lexemedescriptor") AS ?valueUrl)
}
UNION
{
BIND(23 AS ?order)
BIND("Lexeme senses 🔍" AS ?value)
BIND(CONCAT("#language/", SUBSTR(STR(target:), 32), "/lexemesense") AS ?valueUrl)
}
UNION
{
BIND(30 AS ?order)
BIND("Locations 🔍" AS ?value)
BIND(CONCAT("#language/", SUBSTR(STR(target:), 32), "/location") AS ?valueUrl)
}
UNION
{
BIND(31 AS ?order)
BIND("Composers 🔍" AS ?value)
BIND(CONCAT("#language/", SUBSTR(STR(target:), 32), "/composer") AS ?valueUrl)
}
UNION
{
BIND(32 AS ?order)
BIND(wd:Q162378 AS ?value)
BIND(CONCAT("#language/", SUBSTR(STR(target:), 32), "/grammaticalgender") AS ?valueUrl)
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en". }
}
ORDER BY ?value
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?order")
v4("?value"):::projected
v4("?valueUrl"):::projected
c2(["bd:serviceParam"]):::iri
c4(["#91;AUTO_LANGUAGE#93;,mul,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;
subgraph union5[" Union "]
subgraph union5l[" "]
style union5l fill:#abf,stroke-dasharray: 3 3;
subgraph union6[" Union "]
subgraph union6l[" "]
style union6l fill:#abf,stroke-dasharray: 3 3;
subgraph union7[" Union "]
subgraph union7l[" "]
style union7l fill:#abf,stroke-dasharray: 3 3;
bind0[/"'32^^xsd:integer'"/]
bind0 --as--o v4
bind1[/"'wd:Q162378'"/]
bind1 --as--o v4
bind2[/"concat('#language/',substring(str('wd:Q9035'),'32^^xsd:integer'),'/grammaticalgender')"/]
bind2 --as--o v4
end
subgraph union7r[" "]
style union7r fill:#abf,stroke-dasharray: 3 3;
bind3[/"'31^^xsd:integer'"/]
bind3 --as--o v4
bind4[/"'Composers 🔍'"/]
bind4 --as--o v4
bind5[/"concat('#language/',substring(str('wd:Q9035'),'32^^xsd:integer'),'/composer')"/]
bind5 --as--o v4
end
union7r <== or ==> union7l
end
end
subgraph union6r[" "]
style union6r fill:#abf,stroke-dasharray: 3 3;
bind6[/"'30^^xsd:integer'"/]
bind6 --as--o v4
bind7[/"'Locations 🔍'"/]
bind7 --as--o v4
bind8[/"concat('#language/',substring(str('wd:Q9035'),'32^^xsd:integer'),'/location')"/]
bind8 --as--o v4
end
union6r <== or ==> union6l
end
end
subgraph union5r[" "]
style union5r fill:#abf,stroke-dasharray: 3 3;
bind9[/"'23^^xsd:integer'"/]
bind9 --as--o v4
bind10[/"'Lexeme senses 🔍'"/]
bind10 --as--o v4
bind11[/"concat('#language/',substring(str('wd:Q9035'),'32^^xsd:integer'),'/lexemesense')"/]
bind11 --as--o v4
end
union5r <== or ==> union5l
end
end
subgraph union4r[" "]
style union4r fill:#abf,stroke-dasharray: 3 3;
bind12[/"'22^^xsd:integer'"/]
bind12 --as--o v4
bind13[/"'Lexeme descriptors 🔍'"/]
bind13 --as--o v4
bind14[/"concat('#language/',substring(str('wd:Q9035'),'32^^xsd:integer'),'/lexemedescriptor')"/]
bind14 --as--o v4
end
union4r <== or ==> union4l
end
end
subgraph union3r[" "]
style union3r fill:#abf,stroke-dasharray: 3 3;
bind15[/"'21^^xsd:integer'"/]
bind15 --as--o v4
bind16[/"'Lexeme attestor 🔍'"/]
bind16 --as--o v4
bind17[/"concat('#language/',substring(str('wd:Q9035'),'32^^xsd:integer'),'/lexemeattestor')"/]
bind17 --as--o v4
end
union3r <== or ==> union3l
end
end
subgraph union2r[" "]
style union2r fill:#abf,stroke-dasharray: 3 3;
bind18[/"'20^^xsd:integer'"/]
bind18 --as--o v4
bind19[/"'Languages 🔍'"/]
bind19 --as--o v4
bind20[/"concat('#language/',substring(str('wd:Q9035'),'32^^xsd:integer'),'/language')"/]
bind20 --as--o v4
end
union2r <== or ==> union2l
end
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
bind21[/"'11^^xsd:integer'"/]
bind21 --as--o v4
bind22[/"'Publishers 🔍'"/]
bind22 --as--o v4
bind23[/"concat('#language/',substring(str('wd:Q9035'),'32^^xsd:integer'),'/publisher')"/]
bind23 --as--o v4
end
union1r <== or ==> union1l
end
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
bind24[/"'10^^xsd:integer'"/]
bind24 --as--o v4
bind25[/"'wd:Q24634210'"/]
bind25 --as--o v4
bind26[/"concat('#language/',substring(str('wd:Q9035'),'32^^xsd:integer'),'/podcast')"/]
bind26 --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