Linked Art in C#

object/nuveen/1 matches the site

The production of the Nuveen Painting was caused by its commissioning.

On linked.art: Object Production and Destruction › Cause of Production · site JSON · type HumanMadeObject · ProductionDestruction.Nuveen_1

C#

public static HumanMadeObject Nuveen_1()
{
    var nuveenPainting = new HumanMadeObject()
        .WithContext()
        .WithId("https://linked.art/example/object/nuveen/1")
        .WithLabel("Nuveen Painting");

    nuveenPainting.IdentifiedBy = [
        new Name("The Nuveen Painting").AsPrimaryName()
    ];

    nuveenPainting.ProducedBy = new Production()
    {
        CarriedOutBy = [
            new Person()
                .WithId("https://linked.art/example/person/dine")
                .WithLabel("Jim Dine")
        ],
        CausedBy = [
            new Activity()
                .WithId("https://linked.art/example/event/nuveen_commission")
                .WithLabel("Commission")
        ]
    };

    return nuveenPainting;

}
  • 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/nuveen/1",
  "type": "HumanMadeObject",
  "_label": "Nuveen Painting",
  "produced_by": {
    "type": "Production",
    "carried_out_by": [
      {
        "id": "https://linked.art/example/person/dine",
        "type": "Person",
        "_label": "Jim Dine"
      }
    ],
    "caused_by": [
      {
        "id": "https://linked.art/example/event/nuveen_commission",
        "type": "Activity",
        "_label": "Commission"
      }
    ]
  },
  "identified_by": [
    {
      "type": "Name",
      "content": "The Nuveen Painting",
      "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/nuveen/1",
  "type": "HumanMadeObject",
  "_label": "Nuveen Painting",
  "identified_by": [
    {
      "type": "Name",
      "classified_as": [
        {
          "id": "http://vocab.getty.edu/aat/300404670",
          "type": "Type",
          "_label": "Primary Name"
        }
      ],
      "content": "The Nuveen Painting"
    }
  ],
  "produced_by": {
    "type": "Production",
    "carried_out_by": [
      {
        "id": "https://linked.art/example/person/dine",
        "type": "Person",
        "_label": "Jim Dine"
      }
    ],
    "caused_by": [
      {
        "id": "https://linked.art/example/event/nuveen_commission",
        "type": "Activity",
        "_label": "Commission"
      }
    ]
  }
}

Comparison

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

Properties used

carried_out_by caused_by classified_as content identified_by produced_by

Vocabulary terms

Primary Name