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 7: Line 7:
TBD.
TBD.
==Basic Example Queries==
==Basic Example Queries==
===All manuscript records by data type===
===All manuscript 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).
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 manuscripts and their...====
====Find all manuscripts and their...====
Line 15: Line 15:
======Scribes======
======Scribes======
======Former Owners======
======Former Owners======
======Other associated name/agents======
======Other associated names/agents======
 
====Centuries of Production====
====Dates of Production====
====Genres====
====Genres====
====Languages====
====Languages====
Line 23: Line 24:
====Subjects====
====Subjects====
====Titles====
====Titles====
===Specific manuscript records by data type===
===Specific manuscript 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).
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 manuscripts with a specific...====
====Find all manuscripts by a specific...====
=====Associated names/agent=====
=====Associated names/agent=====
======Author======
======Author======
Line 32: Line 33:
======Former Owner======
======Former Owner======
======Other associated name/agent======
======Other associated name/agent======
====Century of Production====
====Date of Production====
=====Start date=====
=====End date=====
=====Date range=====
======Inside======
======Outside======
====Genre====
====Genre====
====Language====
====Language====

Revision as of 17:28, 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.

Prefix Declarations

TBD.

Basic Example Queries

All manuscript 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 manuscripts and their...

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

Centuries of Production

Dates of Production

Genres

Languages

Materials

Places of Production

Subjects

Titles

Specific manuscript 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 manuscripts by a specific...

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

Century of Production

Date of Production

Start date
End date
Date range
Inside
Outside

Genre

Language

Material

Place of Production

Subject

Title