Skip to content

Commit

Permalink
Claims fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
mdholloway committed Jan 4, 2025
1 parent 59a3cb1 commit 190da1f
Show file tree
Hide file tree
Showing 14 changed files with 400 additions and 0 deletions.
91 changes: 91 additions & 0 deletions spec/fixtures/claims/qualified/date.json
Original file line number Diff line number Diff line change
@@ -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"
}
34 changes: 34 additions & 0 deletions spec/fixtures/claims/qualified/institution.json
Original file line number Diff line number Diff line change
@@ -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"
}
34 changes: 34 additions & 0 deletions spec/fixtures/claims/qualified/language.json
Original file line number Diff line number Diff line change
@@ -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"
}
34 changes: 34 additions & 0 deletions spec/fixtures/claims/qualified/material.json
Original file line number Diff line number Diff line change
@@ -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"
}
50 changes: 50 additions & 0 deletions spec/fixtures/claims/qualified/name.json
Original file line number Diff line number Diff line change
@@ -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"
}
34 changes: 34 additions & 0 deletions spec/fixtures/claims/qualified/term.json
Original file line number Diff line number Diff line change
@@ -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"
}
14 changes: 14 additions & 0 deletions spec/fixtures/claims/unqualified/id.json
Original file line number Diff line number Diff line change
@@ -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"
}
14 changes: 14 additions & 0 deletions spec/fixtures/claims/unqualified/iiif_manifest.json
Original file line number Diff line number Diff line change
@@ -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"
}
14 changes: 14 additions & 0 deletions spec/fixtures/claims/unqualified/institutional_record.json
Original file line number Diff line number Diff line change
@@ -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"
}
14 changes: 14 additions & 0 deletions spec/fixtures/claims/unqualified/physical_description.json
Original file line number Diff line number Diff line change
@@ -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"
}
14 changes: 14 additions & 0 deletions spec/fixtures/claims/unqualified/shelfmark.json
Original file line number Diff line number Diff line change
@@ -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"
}
21 changes: 21 additions & 0 deletions spec/fixtures/claims/unqualified/start_time.json
Original file line number Diff line number Diff line change
@@ -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"
}
18 changes: 18 additions & 0 deletions spec/fixtures/claims/unqualified/status.json
Original file line number Diff line number Diff line change
@@ -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"
}
Loading

0 comments on commit 190da1f

Please sign in to comment.