query-c9006e4370cd0fcb6bedd7e15fcf9022
Publications about items
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/Q648166>
SELECT
?publication_date
?publication ?publicationLabel
?publicationDescription
?item ?itemLabel
WHERE {
?item wdt:P195 target: .
?publication wdt:P921| ^wdt:P1343 ?item ;
wdt:P577 ?publication_datetime .
BIND(xsd:date(?publication_datetime) AS ?publication_date)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?publication_date)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v3("?publication"):::projected
v5("?publication_date"):::projected
v4("?publication_datetime")
c7(["bd:serviceParam"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c2([http://www.wikidata.org/entity/Q648166]):::iri
v2 --"wdt:P195"--> c2
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P1343"--> v3
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v3 --"wdt:P921"--> v2
end
union0r <== or ==> union0l
end
v3 --"wdt:P577"--> v4
bind0[/"http://www.w3.org/2001/XMLSchema#date(?publication_datetime)"/]
v4 --o bind0
bind0 --as--o v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end