DS Catalog:SPARQL Query Service/example queries

From DS 2.0 Catalog
Jump to navigation Jump to search

Using the SPARQL Query Service for the DS Catalog

This page provides basic example queries for exploring the DS Wikibase using SPARQL, a query language designed for RDF-encoded linked datasets. Familiarity with the properties used in the DS Data Model is helpful for understanding how the queries operate, but the queries also contain comments (noted by the use of hash character "#") to direct users to the individual steps taken to better understand how the query is constructed to derive a solution.

Manuscripts and DS Records

TBD. Discuss the difference between the manuscript object and the DS 2.0 record.

Prefix Declarations

TBD.

Basic Example Queries

Below is a taxonomy of two types of basic queries based on whether the records in the DS Catalog are described by a particular data element in general (e.g., have an author, an assigned genre, or a place of production) or whether the records meet certain criteria (e.g., were produced by a specific author, were assigned a specific genre, or identified as produced in a particular place).

All manuscripts and their DS records

These queries will return lists of manuscript records and the associated data values, including both the string value as recorded in the original catalog record (the as_recorded value) and the authority value from a Linked Open Vocabulary to which the as_recorded value has been linked (the authority value).

Find all DS records describing manuscripts and their...

Associated names/agents
Authors
Artists
Scribes
Former Owners
Other associated names/agents

Centuries of Production

Dates of Production

Dated status

Genres

Holding Institutions

Languages

Materials

Places of Production

Subjects

Titles

Specific manuscripts and their DS records

These queries will return lists of manuscript records based on or limited by a specific value from an associated DS authority record, including both the string value as recorded in the original catalog record (the as_recorded value) and the authority value from a Linked Open Vocabulary to which the as_recorded value has been linked (the authority value).

Find all DS records describing manuscripts by a specific...

Associated name/agent
Author
Artist
Scribe
Former Owner
Other associated name/agent

Century of Production

Date of Production

Start date
End date
Date range
Inside a date range
Outside of a date range

Dated status

Dated
Non-dated

Genre

Holding Institution

Language

Material

Place of Production

Subject

Title