You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maintenance queries help identify items that are missing information.
604
+
These are useful for librarians who want to improve data quality:
605
+
561
606
```
607
+
# Libraries without coordinates
608
+
SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q7075. # instance of library FILTER NOT EXISTS { ?item wdt:P625 ?coord } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } LIMIT 20
609
+
```
610
+
611
+
```
612
+
# Scholarly articles without a DOI
613
+
SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q13442814. # scholarly article FILTER NOT EXISTS { ?item wdt:P356 ?doi } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } LIMIT 20
614
+
```
615
+
616
+
### Further resources
617
+
618
+
-[Wikidata Query Service in Brief (PDF)](https://commons.wikimedia.org/wiki/File:Wikidata_Query_Service_in_Brief.pdf)
619
+
-[SPARQL tutorial on Wikidata](https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial)
620
+
-[SPARQL lecture slides, University of Mannheim](https://www.uni-mannheim.de/media/Einrichtungen/dws/Files_Teaching/Semantic_Web_Technologies/SWT05-SPARQL-v1.pdf)
0 commit comments