DS Catalog:SPARQL Query Service/example queries: Difference between revisions

From DS 2.0 Catalog
Jump to navigation Jump to search
No edit summary
No edit summary
Line 63: Line 63:
==Authority Record Generator==
==Authority Record Generator==
==Dated Classification Generator==
==Dated Classification Generator==
==Receipt Generator==
==Statement Count Generator==
==Statement Count Generator==
==Receipt Generator==
==Unenriched Strings Generator==
==Unenriched Strings Generator==

Revision as of 23:52, 23 January 2024

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 date range
    • Outside date range

Dated status

  • Dated
  • Non-dated

Former Owner

Genre

Holding Institution

Language

Material

Other associated name/agent

Place of Production

Scribe

Subject

Title

Technical Queries

Authority Record Generator

Dated Classification Generator

Receipt Generator

Statement Count Generator

Unenriched Strings Generator