query-10aa81f4e090ecf80f8146a47fd650b8
instance of (P31) scholarly article (Q13442814) released on a specific date released on a specific date and its description. I tried to use the following query but it doesn't seem to work.(Q13442814)scholarly article (P31)instance of Hi, I'm looking for a query for a list of items with
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 wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?itemDescription WHERE {
?item wdt:P31 wd:Q13442814.
?item wdt:P577 ?pubdate.
FILTER((?pubdate >= "2021-01-01T00:00:00Z"^^xsd:dateTime) && (?pubdate <= "2021-12-31T00:00:00Z"^^xsd:dateTime))
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?pubdate")
c4(["wd:Q13442814"]):::iri
c7(["bd:serviceParam"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["?pubdate >= '2021-01-01T00:00:00Z^^xsd:dateTime'?pubdate <= '2021-12-31T00:00:00Z^^xsd:dateTime'"]]
f0 --> v1
v2 --"wdt:P31"--> c4
v2 --"wdt:P577"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end