DS Catalog:SPARQL Query Service/example queries
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 any author, any assigned genre, or any 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). You should expect to see a list of all records and manuscripts in the DS Catalog which have values for the below data types.
Find all DS records describing manuscripts and their...
Artists
Authors
Centuries of Production
Dates of Production
Dated status
Former Owners
Genres
Holding Institutions
Languages
Materials
Other associated names/agents
Places of Production
Scribes
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). You should expect to see a list of all records and manuscripts in the DS Catalog which meet the conditions of having a specific value for the below data types.
Find all DS records describing manuscripts by a specific...
Artist
Author
Century of Production
Date of Production
Start date
End date
Date range
Inside Outside
Dated status
Dated Non-dated