query-1c9df4b422ce2a0714eb0a4f198edefc
Exploring hierachy in KB texts (none)
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 DISTINCT ?text ?textLabel
WHERE
{
?text wdt:P31 wd:Q234460; wdt:P195 wd:Q1526131 #texts from KB collection
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ASC (?textLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?text"):::projected
v1("?textLabel"):::projected
c6(["bd:serviceParam"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c2(["wd:Q234460"]):::iri
c4(["wd:Q1526131"]):::iri
v2 --"wdt:P31"--> c2
v2 --"wdt:P195"--> c4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end