query-5304e9e5d6c1e95faad97381565ec31d
works published in Providence, RI SELECT ?item ?itemLabel ?publication_date ?author ?authorLabel ?publisher ?publisherLabel WHERE { SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } ?item wdt:P291/wdt:P131* wd:Q1387. OPTIONAL { ?item wdt:P577 ?publication_date. } OPTIONAL { ?item wdt:P50 ?author. } OPTIONAL { ?item wdt:P123 ?publisher. }
FILTER("1925-00-00"^^xsd:dateTime <= ?dateOfBirth &&
?dateOfBirth < "1926-00-00"^^xsd:dateTime)
} ORDER BY DESC (?publication_date) LIMIT 5000
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#>
#works published in Providence, RI
SELECT ?item ?itemLabel ?publication_date ?author ?authorLabel ?publisher ?publisherLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?item wdt:P291/wdt:P131* wd:Q1387.
OPTIONAL { ?item wdt:P577 ?publication_date. }
OPTIONAL { ?item wdt:P50 ?author. }
OPTIONAL { ?item wdt:P123 ?publisher. }
# FILTER("1925-00-00"^^xsd:date <= ?dateOfBirth &&
# ?dateOfBirth < "1926-00-00"^^xsd:dat)
}
ORDER BY DESC (?publication_date)
LIMIT 5000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?author"):::projected
v2("?item"):::projected
v1("?publication_date"):::projected
v4("?publisher"):::projected
a1((" "))
c2(["bd:serviceParam"]):::iri
c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c7(["wd:Q1387"]):::iri
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v2 --"wdt:P291"--> a1
a1 --"wdt:P131"--> c7
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P577".-> v1
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P50".-> v3
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P123".-> v4
end