query-72ef4f26d5046c78b9cf5cc009405f40
Publications
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 target1: <http://www.wikidata.org/entity/Q73820>
PREFIX target2: <http://www.wikidata.org/entity/Q2539>
SELECT
(xsd:date(?publication_datetime) AS ?publication_date)
?work ?workLabel
(CONCAT("#work/", SUBSTR(STR(?work), 32)) AS ?workUrl)
?workDescription
WHERE {
?work wdt:P123 target1: ;
wdt:P921 target2: .
OPTIONAL { ?work wdt:P577 ?publication_datetime . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?publication_datetime)
LIMIT 200
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")
c2([http://www.wikidata.org/entity/Q73820]):::iri
c7(["bd:serviceParam"]):::iri
c4([http://www.wikidata.org/entity/Q2539]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"wdt:P123"--> c2
v2 --"wdt:P921"--> c4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P577".-> v1
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
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