query-b6cb5350856238a872504f6da7007093
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/Q35>
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 {
{
SELECT DISTINCT ?author WHERE {
?author wdt:P27| (( wdt:P1416 | wdt:P108 ) / wdt:P17) target1: .
}
} ?work wdt:P50 ?author ;
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;
v2("?author")
v4("?publication_date")
v1("?publication_datetime"):::projected
v3("?work"):::projected
v5("?workUrl")
a1((" "))
a2((" "))
c8([http://www.wikidata.org/entity/Q2539]):::iri
c17(["en"]):::literal
c2([http://www.wikidata.org/entity/Q35]):::iri
c15(["bd:serviceParam"]):::iri
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;
v2 --"wdt:P108"--> a1
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P1416"--> a1
end
union1r <== or ==> union1l
end
a1 --"wdt:P17"--> c2
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P27"--> c2
end
union0r <== or ==> union0l
end
v3 --"wdt:P50"--> v2
v3 --"wdt:P921"--> a2
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;
subgraph union4[" Union "]
subgraph union4l[" "]
style union4l fill:#abf,stroke-dasharray: 3 3;
subgraph union5[" Union "]
subgraph union5l[" "]
style union5l fill:#abf,stroke-dasharray: 3 3;
a2 --"wdt:P279"--> c8
end
subgraph union5r[" "]
style union5r fill:#abf,stroke-dasharray: 3 3;
a2 --"wdt:P31"--> c8
end
union5r <== or ==> union5l
end
end
subgraph union4r[" "]
style union4r fill:#abf,stroke-dasharray: 3 3;
a2 --"wdt:P1269"--> c8
end
union4r <== or ==> union4l
end
end
subgraph union3r[" "]
style union3r fill:#abf,stroke-dasharray: 3 3;
a2 --"wdt:P361"--> c8
end
union3r <== or ==> union3l
end
end
subgraph union2r[" "]
style union2r fill:#abf,stroke-dasharray: 3 3;
end
union2r <== or ==> union2l
end
v3 --"wdt:P577"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c15 --"wikibase:language"--> c17
end
bind0[/"http://www.w3.org/2001/XMLSchema#date(?publication_datetime)"/]
v1 --o bind0
bind0 --as--o v4
bind1[/"concat('#work/',substring(str(?work),'32^^xsd:integer'))"/]
v3 --o bind1
bind1 --as--o v5