query-8043ca505446d712ba652cfff8c9d7ee
Works about the topic
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX target: <http://www.wikidata.org/entity/Q54871>
SELECT DISTINCT
(xsd:date(?publication_datetime) AS ?publication_date)
?work ?workLabel
(CONCAT("#work/", SUBSTR(STR(?work), 32)) AS ?workUrl)
?workDescription
WHERE {
?work wdt:P921 / (wdt:P31| wdt:P279 | wdt:P361 | wdt:P1269)? # Expensive: *
target: ;
wdt:P577 ?publication_datetime .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,cs,da,de,se,sv". }
}
ORDER BY DESC(?publication_datetime)
LIMIT 500
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?publication_date")
v1("?publication_datetime"):::projected
v2("?work"):::projected
v4("?workUrl")
a1((" "))
c9(["bd:serviceParam"]):::iri
c2([http://www.wikidata.org/entity/Q54871]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en,cs,da,de,se,sv"]):::literal
v2 --"wdt:P921"--> a1
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;
a1 --"wdt:P1269"--> c2
end
subgraph union3r[" "]
style union3r fill:#abf,stroke-dasharray: 3 3;
a1 --"wdt:P361"--> c2
end
union3r <== or ==> union3l
end
end
subgraph union2r[" "]
style union2r fill:#abf,stroke-dasharray: 3 3;
a1 --"wdt:P279"--> c2
end
union2r <== or ==> union2l
end
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
a1 --"wdt:P31"--> c2
end
union1r <== or ==> union1l
end
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
end
union0r <== or ==> union0l
end
v2 --"wdt:P577"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end
bind0[/"http://www.w3.org/2001/XMLSchema#date(?publication_datetime)"/]
v1 --o bind0
bind0 --as--o v3
bind1[/"concat('#work/',substring(str(?work),'32^^xsd:integer'))"/]
v2 --o bind1
bind1 --as--o v4