Linked Art in C#

object/coppa/1 matches the site

The Coppa Amatoria was created by an unidentified artist or artists from Italy.

On linked.art: Object Production and Destruction › Unidentified or Unknown Artist · site JSON · type HumanMadeObject · ProductionDestruction.Coppa_1_Unknown

C#

public static HumanMadeObject Coppa_1_Unknown()
{
    var coppa = new HumanMadeObject()
        .WithContext()
        .WithId("https://linked.art/example/object/coppa/1")
        .WithLabel("Coppa Amatoria");

    coppa.IdentifiedBy = [
        new Name("Coppa Amatoria").AsPrimaryName()
    ];

    coppa.ProducedBy = new Production()
    {
        CarriedOutBy = [
            new Group()
                .WithId("https://linked.art/example/group/unknown_italian")
                .WithLabel("Unidentified Italian")
        ]
    };

    return coppa;
}
  • Role shortcuts AsPrimaryName, AsAccessionNumber and AsSystemAssignedNumber each add a single classification, with the AAT terms Primary Name, Accession Number and System Number.

JSON from the C#

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/object/coppa/1",
  "type": "HumanMadeObject",
  "_label": "Coppa Amatoria",
  "produced_by": {
    "type": "Production",
    "carried_out_by": [
      {
        "id": "https://linked.art/example/group/unknown_italian",
        "type": "Group",
        "_label": "Unidentified Italian"
      }
    ]
  },
  "identified_by": [
    {
      "type": "Name",
      "content": "Coppa Amatoria",
      "classified_as": [
        {
          "id": "http://vocab.getty.edu/aat/300404670",
          "type": "Type",
          "_label": "Primary Name"
        }
      ]
    }
  ]
}

JSON on linked.art

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/object/coppa/1",
  "type": "HumanMadeObject",
  "_label": "Coppa Amatoria",
  "identified_by": [
    {
      "type": "Name",
      "classified_as": [
        {
          "id": "http://vocab.getty.edu/aat/300404670",
          "type": "Type",
          "_label": "Primary Name"
        }
      ],
      "content": "Coppa Amatoria"
    }
  ],
  "produced_by": {
    "type": "Production",
    "carried_out_by": [
      {
        "id": "https://linked.art/example/group/unknown_italian",
        "type": "Group",
        "_label": "Unidentified Italian"
      }
    ]
  }
}

Comparison

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

Properties used

carried_out_by classified_as content identified_by produced_by

Vocabulary terms

Primary Name