query-853cce88f999234f8c7477774b8e0df3
Recent 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/Q20984804>
PREFIX target2: <http://www.wikidata.org/entity/Q2539>
SELECT DISTINCT
(xsd:date(?publication_datetime) AS ?publication_date)
?work ?workLabel
(CONCAT("#work/", SUBSTR(STR(?work), 32)) AS ?workUrl)
WHERE {
?work wdt:P50 target1: ;
wdt:P921 / (wdt:P361| wdt:P1269 | wdt:P31 | wdt:P279)? target2: ;
wdt:P577 ?publication_datetime .
service wikibase:label { bd:serviceParam wikibase:language "en" . }
}
ORDER BY DESC(?publication_datetime)
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((" "))
c2([http://www.wikidata.org/entity/Q20984804]):::iri
c4([http://www.wikidata.org/entity/Q2539]):::iri
c13(["en"]):::literal
c11(["bd:serviceParam"]):::iri
v2 --"wdt:P50"--> c2
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:P279"--> c4
end
subgraph union3r[" "]
style union3r fill:#abf,stroke-dasharray: 3 3;
a1 --"wdt:P31"--> c4
end
union3r <== or ==> union3l
end
end
subgraph union2r[" "]
style union2r fill:#abf,stroke-dasharray: 3 3;
a1 --"wdt:P1269"--> c4
end
union2r <== or ==> union2l
end
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
a1 --"wdt:P361"--> c4
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;
c11 --"wikibase:language"--> c13
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