query-3d061b3476c26145fe2668179151ad82
MotivationThe ANNO project is a very useful source for searching historical references in (mainly) Austrian or German language newspapers. The Austrian national library is ongoing digitizing a huge amount of historic newspapers from their stacks and publishing the materials online including a fulltext search. Linking corresponding newspaper items from Wikidata to the Project should be a good step. (P953)full work available at URL Some newspapers are already linked in Wikidata using
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?object WHERE {
?item wdt:P953 ?object.
FILTER(CONTAINS(STR(?object), "http://anno.onb.ac.at/"))
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("?object"):::projected
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["contains(str(?object),'http://anno.onb.ac.at/')"]]
f0 --> v1
v2 --"wdt:P953"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end