Linked Art in C#

object/gradualpage/1 matches the site

The collection item is a page from a gradual (manuscript) by the Master of the Libro dei Notai. Source

On linked.art: Object Production and Destruction › Production by Removal · site JSON · type HumanMadeObject · ProductionDestruction.GradualPage_1_PartRemoval

C#

public static HumanMadeObject GradualPage_1_PartRemoval()
{
    var gradualPage = new HumanMadeObject()
        .WithContext()
        .WithId("https://linked.art/example/object/gradualpage/1")
        .WithLabel("Page from a Gradual")
        .WithClassifiedAs(Aat.TextOfAPage, Aat.TypeOfWork);

    gradualPage.RemovedBy = [
        new PartRemoval()
        {
            Diminished = new HumanMadeObject()
                .WithId("https://linked.art/example/object/gradual")
                .WithLabel("Gradual")
        }
    ];

    return gradualPage;
}
  • Metatype classification The second argument classifies the first, not the object: WithClassifiedAs(Aat.Description, Aat.Statement) says this is a Description, and Description is a kind of Statement. The Plain C# form shows the nesting.

JSON from the C#

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/object/gradualpage/1",
  "type": "HumanMadeObject",
  "_label": "Page from a Gradual",
  "classified_as": [
    {
      "id": "http://vocab.getty.edu/aat/300194222",
      "type": "Type",
      "_label": "Page",
      "classified_as": [
        {
          "id": "http://vocab.getty.edu/aat/300435443",
          "type": "Type",
          "_label": "Type of Work"
        }
      ]
    }
  ],
  "removed_by": [
    {
      "type": "PartRemoval",
      "diminished": {
        "id": "https://linked.art/example/object/gradual",
        "type": "HumanMadeObject",
        "_label": "Gradual"
      }
    }
  ]
}

JSON on linked.art

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/object/gradualpage/1",
  "type": "HumanMadeObject",
  "_label": "Page from a Gradual",
  "classified_as": [
    {
      "id": "http://vocab.getty.edu/aat/300194222",
      "type": "Type",
      "_label": "Page",
      "classified_as": [
        {
          "id": "http://vocab.getty.edu/aat/300435443",
          "type": "Type",
          "_label": "Type of Work"
        }
      ]
    }
  ],
  "removed_by": [
    {
      "type": "PartRemoval",
      "diminished": {
        "id": "https://linked.art/example/object/gradual",
        "type": "HumanMadeObject",
        "_label": "Gradual"
      }
    }
  ]
}

Comparison

The two documents are equivalent (property order ignored, array order significant).

Properties used

classified_as diminished removed_by

Vocabulary terms

Page Type of Work