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

From DS 2.0 Catalog
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:


__TOC__
__TOC__
==Manuscripts and DS Records==
 
=Manuscripts and DS Records=
TBD. Discuss the difference between the manuscript object and the DS 2.0 record.
TBD. Discuss the difference between the manuscript object and the DS 2.0 record.


==Prefix Declarations==
=Prefix Declarations=
TBD.
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).  
=Basic Example Queries=
===All manuscripts and their DS records===
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.
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...====
===Find all DS records describing manuscripts and their...===
=====Associated names/agents=====
====Artists====
======Authors======
====Authors====
======Artists======
======Scribes======
======Former Owners======
======Other associated names/agents======
====Centuries of Production====
====Centuries of Production====
====Dates of Production====
====Dates of Production====
====Dated status====
====Dated status====
====Former Owners====
====Genres====
====Genres====
====Holding Institutions====
====Holding Institutions====
====Languages====
====Languages====
====Materials====
====Materials====
====Other associated names/agents====
====Places of Production====
====Places of Production====
====Scribes====
====Subjects====
====Subjects====
====Titles====
====Titles====
===Specific manuscripts and their DS records===
 
==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.
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...====
===Find all DS records describing manuscripts by a specific...===
=====Associated name/agent=====
====Artist====
======Author======
====Author====
======Artist======
======Scribe======
======Former Owner======
======Other associated name/agent======
====Century of Production====
====Century of Production====
====Date of Production====
====Date of Production====
Line 44: Line 43:
=====End date=====
=====End date=====
=====Date range=====
=====Date range=====
======Inside a date range======
Inside
======Outside of a date range======
Outside
====Dated status====
====Dated status====
=====Dated=====
Dated
=====Non-dated=====
Non-dated
====Former Owner====
====Genre====
====Genre====
====Holding Institution====
====Holding Institution====
====Language====
====Language====
====Material====
====Material====
====Other associated name/agent====
====Place of Production====
====Place of Production====
====Scribe====
====Subject====
====Subject====
====Title====
====Title====

Revision as of 18:06, 11 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 Outside

Dated status

Dated Non-dated

Former Owner

Genre

Holding Institution

Language

Material

Other associated name/agent

Place of Production

Scribe

Subject

Title