From 190da1f71e1393ca617537fedacffc389ca3db11 Mon Sep 17 00:00:00 2001 From: Michael Holloway Date: Sat, 4 Jan 2025 16:56:23 -0500 Subject: [PATCH] Claims fixtures --- spec/fixtures/claims/qualified/date.json | 91 +++++++++++++++++++ .../claims/qualified/institution.json | 34 +++++++ spec/fixtures/claims/qualified/language.json | 34 +++++++ spec/fixtures/claims/qualified/material.json | 34 +++++++ spec/fixtures/claims/qualified/name.json | 50 ++++++++++ spec/fixtures/claims/qualified/term.json | 34 +++++++ spec/fixtures/claims/unqualified/id.json | 14 +++ .../claims/unqualified/iiif_manifest.json | 14 +++ .../unqualified/institutional_record.json | 14 +++ .../unqualified/physical_description.json | 14 +++ .../claims/unqualified/shelfmark.json | 14 +++ .../claims/unqualified/start_time.json | 21 +++++ spec/fixtures/claims/unqualified/status.json | 18 ++++ spec/fixtures/claims/unqualified/title.json | 14 +++ 14 files changed, 400 insertions(+) create mode 100644 spec/fixtures/claims/qualified/date.json create mode 100644 spec/fixtures/claims/qualified/institution.json create mode 100644 spec/fixtures/claims/qualified/language.json create mode 100644 spec/fixtures/claims/qualified/material.json create mode 100644 spec/fixtures/claims/qualified/name.json create mode 100644 spec/fixtures/claims/qualified/term.json create mode 100644 spec/fixtures/claims/unqualified/id.json create mode 100644 spec/fixtures/claims/unqualified/iiif_manifest.json create mode 100644 spec/fixtures/claims/unqualified/institutional_record.json create mode 100644 spec/fixtures/claims/unqualified/physical_description.json create mode 100644 spec/fixtures/claims/unqualified/shelfmark.json create mode 100644 spec/fixtures/claims/unqualified/start_time.json create mode 100644 spec/fixtures/claims/unqualified/status.json create mode 100644 spec/fixtures/claims/unqualified/title.json diff --git a/spec/fixtures/claims/qualified/date.json b/spec/fixtures/claims/qualified/date.json new file mode 100644 index 0000000..896aa07 --- /dev/null +++ b/spec/fixtures/claims/qualified/date.json @@ -0,0 +1,91 @@ +{ + "mainsnak": { + "snaktype": "value", + "property": "P23", + "hash": "ff62be508403e913e71c078a14d32189f907eb0d", + "datavalue": { + "value": "1358.", + "type": "string" + } + }, + "type": "statement", + "qualifiers": { + "P25": [ + { + "snaktype": "value", + "property": "P25", + "hash": "d54951c1291e69356cc97ad03e0bcde559341150", + "datavalue": { + "value": { + "time": "+1301-01-01T00:00:00Z", + "timezone": 0, + "before": 0, + "after": 0, + "precision": 7, + "calendarmodel": "http://www.wikidata.org/entity/Q1985727" + }, + "type": "time" + } + } + ], + "P24": [ + { + "snaktype": "value", + "property": "P24", + "hash": "57245da66b5ff9bf14ad3bf993369c42aed464fe", + "datavalue": { + "value": { + "entity-type": "item", + "numeric-id": 96, + "id": "Q96" + }, + "type": "wikibase-entityid" + } + } + ], + "P37": [ + { + "snaktype": "value", + "property": "P37", + "hash": "ae23519105351987fb859d15b7e5c8e0234b33e8", + "datavalue": { + "value": { + "time": "+1358-01-01T00:00:00Z", + "timezone": 0, + "before": 0, + "after": 0, + "precision": 9, + "calendarmodel": "http://www.wikidata.org/entity/Q1985727" + }, + "type": "time" + } + } + ], + "P36": [ + { + "snaktype": "value", + "property": "P36", + "hash": "41250abd15b0162d8e22e20b929116a3a380b2fc", + "datavalue": { + "value": { + "time": "+1358-12-31T00:00:00Z", + "timezone": 0, + "before": 0, + "after": 0, + "precision": 9, + "calendarmodel": "http://www.wikidata.org/entity/Q1985727" + }, + "type": "time" + } + } + ] + }, + "qualifiers-order": [ + "P25", + "P24", + "P37", + "P36" + ], + "id": "Q544$868A931C-03C4-43DB-B6DB-FBB6A1ADD34C", + "rank": "normal" +} diff --git a/spec/fixtures/claims/qualified/institution.json b/spec/fixtures/claims/qualified/institution.json new file mode 100644 index 0000000..36e59e7 --- /dev/null +++ b/spec/fixtures/claims/qualified/institution.json @@ -0,0 +1,34 @@ +{ + "mainsnak": { + "snaktype": "value", + "property": "P5", + "hash": "9374610faba500b29dedf759055e43198e98cded", + "datavalue": { + "value": "University of Pennsylvania", + "type": "string" + } + }, + "type": "statement", + "qualifiers": { + "P4": [ + { + "snaktype": "value", + "property": "P4", + "hash": "9a1bca9ae683999ce197133cd1e265a01825363c", + "datavalue": { + "value": { + "entity-type": "item", + "numeric-id": 374, + "id": "Q374" + }, + "type": "wikibase-entityid" + } + } + ] + }, + "qualifiers-order": [ + "P4" + ], + "id": "Q542$B0FDFE38-AAA8-4F33-AFC6-D486673EB44E", + "rank": "normal" +} diff --git a/spec/fixtures/claims/qualified/language.json b/spec/fixtures/claims/qualified/language.json new file mode 100644 index 0000000..e7a96ae --- /dev/null +++ b/spec/fixtures/claims/qualified/language.json @@ -0,0 +1,34 @@ +{ + "mainsnak": { + "snaktype": "value", + "property": "P21", + "hash": "9e246379b0dedebec12a4f1c930189c2cdc4935c", + "datavalue": { + "value": "In Latin", + "type": "string" + } + }, + "type": "statement", + "qualifiers": { + "P22": [ + { + "snaktype": "value", + "property": "P22", + "hash": "88fd34b9b826a66b754b3b2f0db4ca42932c4bb7", + "datavalue": { + "value": { + "entity-type": "item", + "numeric-id": 113, + "id": "Q113" + }, + "type": "wikibase-entityid" + } + } + ] + }, + "qualifiers-order": [ + "P22" + ], + "id": "Q544$07404B0B-82AB-474F-B702-9E14D552B287", + "rank": "normal" +} diff --git a/spec/fixtures/claims/qualified/material.json b/spec/fixtures/claims/qualified/material.json new file mode 100644 index 0000000..efc9887 --- /dev/null +++ b/spec/fixtures/claims/qualified/material.json @@ -0,0 +1,34 @@ +{ + "mainsnak": { + "snaktype": "value", + "property": "P30", + "hash": "02646471404243a788eaf5d487266bf4bb5524fe", + "datavalue": { + "value": "parchment", + "type": "string" + } + }, + "type": "statement", + "qualifiers": { + "P31": [ + { + "snaktype": "value", + "property": "P31", + "hash": "a528e66d12b7aa9f75b302ead6fd3e1e4faf23bf", + "datavalue": { + "value": { + "entity-type": "item", + "numeric-id": 33, + "id": "Q33" + }, + "type": "wikibase-entityid" + } + } + ] + }, + "qualifiers-order": [ + "P31" + ], + "id": "Q544$A1CA52B3-A97A-4545-BBEC-DE5E6AC7DB6E", + "rank": "normal" +} diff --git a/spec/fixtures/claims/qualified/name.json b/spec/fixtures/claims/qualified/name.json new file mode 100644 index 0000000..4086a3e --- /dev/null +++ b/spec/fixtures/claims/qualified/name.json @@ -0,0 +1,50 @@ +{ + "mainsnak": { + "snaktype": "value", + "property": "P14", + "hash": "1ca6263d1c4ecb518d467eab45dd604a375efec1", + "datavalue": { + "value": "Schoenberg, Lawrence J", + "type": "string" + } + }, + "type": "statement", + "qualifiers": { + "P15": [ + { + "snaktype": "value", + "property": "P15", + "hash": "63120b1e349365b8f15bbbe27edcb9ea07d676b0", + "datavalue": { + "value": { + "entity-type": "item", + "numeric-id": 21, + "id": "Q21" + }, + "type": "wikibase-entityid" + } + } + ], + "P17": [ + { + "snaktype": "value", + "property": "P17", + "hash": "5409c0609e3d036e4964abc513af899c8104e111", + "datavalue": { + "value": { + "entity-type": "item", + "numeric-id": 383, + "id": "Q383" + }, + "type": "wikibase-entityid" + } + } + ] + }, + "qualifiers-order": [ + "P15", + "P17" + ], + "id": "Q544$E4DFCFB3-1276-49A3-A28B-7122A269314E", + "rank": "normal" +} diff --git a/spec/fixtures/claims/qualified/term.json b/spec/fixtures/claims/qualified/term.json new file mode 100644 index 0000000..d6ace19 --- /dev/null +++ b/spec/fixtures/claims/qualified/term.json @@ -0,0 +1,34 @@ +{ + "mainsnak": { + "snaktype": "value", + "property": "P18", + "hash": "5d0305c385cd9e771a33cf3346a87909c54f9733", + "datavalue": { + "value": "Deeds", + "type": "string" + } + }, + "type": "statement", + "qualifiers": { + "P20": [ + { + "snaktype": "value", + "property": "P20", + "hash": "454f8b2a1550d0acdef00508e9ac3488bcbe700d", + "datavalue": { + "value": { + "entity-type": "item", + "numeric-id": 283, + "id": "Q283" + }, + "type": "wikibase-entityid" + } + } + ] + }, + "qualifiers-order": [ + "P20" + ], + "id": "Q544$B974CC4D-4D42-47E2-8831-D687DDF3731A", + "rank": "normal" +} diff --git a/spec/fixtures/claims/unqualified/id.json b/spec/fixtures/claims/unqualified/id.json new file mode 100644 index 0000000..d1604a6 --- /dev/null +++ b/spec/fixtures/claims/unqualified/id.json @@ -0,0 +1,14 @@ +{ + "mainsnak": { + "snaktype": "value", + "property": "P1", + "hash": "902dc7465ced67bbe4960856c661406eb6eb77e0", + "datavalue": { + "value": "DS121", + "type": "string" + } + }, + "type": "statement", + "id": "Q543$6BB164FA-0616-4A6A-B290-0521CB46451A", + "rank": "normal" +} diff --git a/spec/fixtures/claims/unqualified/iiif_manifest.json b/spec/fixtures/claims/unqualified/iiif_manifest.json new file mode 100644 index 0000000..3c70518 --- /dev/null +++ b/spec/fixtures/claims/unqualified/iiif_manifest.json @@ -0,0 +1,14 @@ +{ + "mainsnak": { + "snaktype": "value", + "property": "P41", + "hash": "8326dcd070f4904d2ffe5324b1cc3161a53c6b36", + "datavalue": { + "value": "https://colenda.library.upenn.edu/phalt/iiif/2/81431-p33p8v/manifest", + "type": "string" + } + }, + "type": "statement", + "id": "Q544$77CDD66C-1716-4A0F-8D84-37F91CE7A3C8", + "rank": "normal" +} diff --git a/spec/fixtures/claims/unqualified/institutional_record.json b/spec/fixtures/claims/unqualified/institutional_record.json new file mode 100644 index 0000000..6a7a637 --- /dev/null +++ b/spec/fixtures/claims/unqualified/institutional_record.json @@ -0,0 +1,14 @@ +{ + "mainsnak": { + "snaktype": "value", + "property": "P9", + "hash": "1f6b3c24699842b0f1cff5b5349144fcf0734f17", + "datavalue": { + "value": "https://franklin.library.upenn.edu/catalog/FRANKLIN_9949945603503681", + "type": "string" + } + }, + "type": "statement", + "id": "Q542$9853212B-9FE4-4C16-8C76-C2BCEB703714", + "rank": "normal" +} diff --git a/spec/fixtures/claims/unqualified/physical_description.json b/spec/fixtures/claims/unqualified/physical_description.json new file mode 100644 index 0000000..79c5079 --- /dev/null +++ b/spec/fixtures/claims/unqualified/physical_description.json @@ -0,0 +1,14 @@ +{ + "mainsnak": { + "snaktype": "value", + "property": "P29", + "hash": "56dfa6a02340087275087fd53b8beb26dee8394e", + "datavalue": { + "value": "Extent: 1 parchment ; 170 x 245 mm.", + "type": "string" + } + }, + "type": "statement", + "id": "Q544$1C7B3A0B-8441-41D8-85D2-60B49F7E761A", + "rank": "normal" +} diff --git a/spec/fixtures/claims/unqualified/shelfmark.json b/spec/fixtures/claims/unqualified/shelfmark.json new file mode 100644 index 0000000..3f9db19 --- /dev/null +++ b/spec/fixtures/claims/unqualified/shelfmark.json @@ -0,0 +1,14 @@ +{ + "mainsnak": { + "snaktype": "value", + "property": "P8", + "hash": "9fd44b4cc9821c7bab3b7a68f9a3af3a132da32e", + "datavalue": { + "value": "Oversize LJS 110", + "type": "string" + } + }, + "type": "statement", + "id": "Q542$C046FA26-2BC9-4B62-8A1B-8251861DEFEF", + "rank": "normal" +} diff --git a/spec/fixtures/claims/unqualified/start_time.json b/spec/fixtures/claims/unqualified/start_time.json new file mode 100644 index 0000000..98b2a35 --- /dev/null +++ b/spec/fixtures/claims/unqualified/start_time.json @@ -0,0 +1,21 @@ +{ + "mainsnak": { + "snaktype": "value", + "property": "P38", + "hash": "b6ce8b7be90c47d6e95667f5cb3b857a5c72cd6b", + "datavalue": { + "value": { + "time": "+2022-12-23T00:00:00Z", + "timezone": 0, + "before": 0, + "after": 0, + "precision": 11, + "calendarmodel": "http://www.wikidata.org/entity/Q1985727" + }, + "type": "time" + } + }, + "type": "statement", + "id": "Q542$EBB62690-BAA8-4223-8900-00DAF2DC7859", + "rank": "normal" +} diff --git a/spec/fixtures/claims/unqualified/status.json b/spec/fixtures/claims/unqualified/status.json new file mode 100644 index 0000000..9c01e34 --- /dev/null +++ b/spec/fixtures/claims/unqualified/status.json @@ -0,0 +1,18 @@ +{ + "mainsnak": { + "snaktype": "value", + "property": "P6", + "hash": "7d915bfe178137b727c89aedc21b9470aa87b484", + "datavalue": { + "value": { + "entity-type": "item", + "numeric-id": 4, + "id": "Q4" + }, + "type": "wikibase-entityid" + } + }, + "type": "statement", + "id": "Q542$A2575F13-07E2-43CD-900C-0C5E9832CD64", + "rank": "normal" +} diff --git a/spec/fixtures/claims/unqualified/title.json b/spec/fixtures/claims/unqualified/title.json new file mode 100644 index 0000000..ff09b3a --- /dev/null +++ b/spec/fixtures/claims/unqualified/title.json @@ -0,0 +1,14 @@ +{ + "mainsnak": { + "snaktype": "value", + "property": "P10", + "hash": "46e4dcab853b717b02b6281ddd5f93ba714b281d", + "datavalue": { + "value": "John Elys deed", + "type": "string" + } + }, + "type": "statement", + "id": "Q544$22FCBBED-7DAD-4EBE-A590-FC1E32CC7F95", + "rank": "normal" +}