query-449887870ca21420186b2feb250daec2
Tagishsimon
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 ?item ?itemLabel ?paper ?paperLabel ?paperDescription
{
{
SELECT ?item (SAMPLE(?p) AS ?paper)
{
{
SELECT ?item
{
?item wdt:P31 wd:Q5633421
FILTER STRENDS(STR(?item), "0")
}
} ?p wdt:P1433 ?item
}
GROUP BY ?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
v2("?p")
v3("?paper"):::projected
c6(["bd:serviceParam"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c3(["wd:Q5633421"]):::iri
f0[["ends-with(str(?item),'0')"]]
f0 --> v1
v1 --"wdt:P31"--> c3
v2 --"wdt:P1433"--> v1
bind2[/"sample(?p)"/]
v2 --o bind2
bind2 --as--o v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end