Showing posts with label Wikidata Query. Show all posts
Showing posts with label Wikidata Query. Show all posts

Dec 17, 2018

Museums: Interactive Map with Wikidata


Wikidata query to visualize all the museums in the world
Map of museums in the world from Wikidata Query


 Link to interactive Map of Museums


Here is the Wikdata Query (from example queries)

#Locations of museums
#defaultView:Map
SELECT ?museumDescription ?website ?coord WHERE {
  ?museum (wdt:P31/wdt:P279*) wd:Q33506.
  ?museum wdt:P625 ?coord.
  OPTIONAL { ?museum wdt:P856 ?website. }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en,de". }

Dec 27, 2017

Art Dealers and Art Historians: Authorities Identifiers by the Numbers

Linked Open Data queries need authoritative identifiers to work across platforms.


QUESTION: 
Which are the most used identifiers for art dealers, art historians, art dealers and art collectors who exist in Wikidata?

Below are Wikidata Sparql Queries that show the authorities that are most used for referencing art dealers and art historians in Wikidata.

(VIAF wins hands down.) 


ART DEALERS : VIAF, LCCN, RKD...




ART HISTORIANS





ART COLLECTORS











Wikidata Query for Most Used Identifiers for Art Dealers

SELECT ?propertyLabel ?propertyDescription ?count WHERE {
{
SELECT ?propertyclaim (COUNT(*) AS ?count) WHERE {
?item wdt:P106 wd:Q173950.
?item wdt:P31 wd:Q5.
?item ?propertyclaim _:b2.
}
GROUP BY ?propertyclaim
}
?property wikibase:propertyType wikibase:ExternalId.
?property wdt:P31 wd:Q19595382.
?property wikibase:claim ?propertyclaim.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
ORDER BY DESC(?count)
LIMIT 100