Linked Art in C#

provenance/sharp_sale/1 matches the site

A painting by Joseph Henry Sharp, "Cheyenne Oklahoma", was stolen from the Harwood Museum in Taos, New Mexico and then sold (at auction) for $52,650 to an undisclosed buyer.

On linked.art: Loans, Thefts, Losses and other Changes of Custody › Sale of Stolen or Looted Objects · site JSON · type Activity · ProvenanceCustody.Purchase_Of_Stolen_Painting

C#

public static Activity Purchase_Of_Stolen_Painting()
{
    var purchase = new Activity()
        .WithContext()
        .WithId("https://linked.art/example/provenance/sharp_sale/1")
        .WithLabel("Purchase of Stolen Painting")
        .WithClassifiedAs(Aat.ProvenanceActivity);

    var alter = new Person()
        .WithId("https://linked.art/example/person/alter")
        .WithLabel("Jerry Alter");

    purchase.Part = [
        new TransferOfCustody
        {
            Label = "Sale of Painting",
            TransferredCustodyOf = [
                new HumanMadeObject()
                    .WithId("https://linked.art/example/object/cheyenne")
                    .WithLabel("Cheyenne Oklahoma")
            ],
            TransferredCustodyFrom = [alter]
        }.WithClassifiedAs(Aat.Term("300438484", "sale of stolen goods")),
        new Payment
        {
            PaidAmount = new MonetaryAmount
            {
                Label = "Payment to Thief",
                Value = 52650,
                Currency = Aat.UsDollars.WithNotation("USD")
            },
            PaidTo = [alter]
        }
    ];

    return purchase;
}
  • Terms outside the registry The vocabulary registry holds only the terms linked.art itself publishes, so a dataset's own concepts, places and people are written with Aat.Term, Tgn.Place and Ulan.Person, giving the id and the label.

JSON from the C#

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/provenance/sharp_sale/1",
  "type": "Activity",
  "_label": "Purchase of Stolen Painting",
  "classified_as": [
    {
      "id": "http://vocab.getty.edu/aat/300055863",
      "type": "Type",
      "_label": "Provenance Activity"
    }
  ],
  "part": [
    {
      "type": "TransferOfCustody",
      "_label": "Sale of Painting",
      "classified_as": [
        {
          "id": "http://vocab.getty.edu/aat/300438484",
          "type": "Type",
          "_label": "sale of stolen goods"
        }
      ],
      "transferred_custody_of": [
        {
          "id": "https://linked.art/example/object/cheyenne",
          "type": "HumanMadeObject",
          "_label": "Cheyenne Oklahoma"
        }
      ],
      "transferred_custody_from": [
        {
          "id": "https://linked.art/example/person/alter",
          "type": "Person",
          "_label": "Jerry Alter"
        }
      ]
    },
    {
      "type": "Payment",
      "paid_amount": {
        "type": "MonetaryAmount",
        "_label": "Payment to Thief",
        "value": 52650,
        "currency": {
          "id": "http://vocab.getty.edu/aat/300411994",
          "type": "Currency",
          "_label": "US Dollars",
          "notation": "USD"
        }
      },
      "paid_to": [
        {
          "id": "https://linked.art/example/person/alter",
          "type": "Person",
          "_label": "Jerry Alter"
        }
      ]
    }
  ]
}

JSON on linked.art

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/provenance/sharp_sale/1",
  "type": "Activity",
  "_label": "Purchase of Stolen Painting",
  "classified_as": [
    {
      "id": "http://vocab.getty.edu/aat/300055863",
      "type": "Type",
      "_label": "Provenance Activity"
    }
  ],
  "part": [
    {
      "type": "TransferOfCustody",
      "_label": "Sale of Painting",
      "classified_as": [
        {
          "id": "http://vocab.getty.edu/aat/300438484",
          "type": "Type",
          "_label": "sale of stolen goods"
        }
      ],
      "transferred_custody_of": [
        {
          "id": "https://linked.art/example/object/cheyenne",
          "type": "HumanMadeObject",
          "_label": "Cheyenne Oklahoma"
        }
      ],
      "transferred_custody_from": [
        {
          "id": "https://linked.art/example/person/alter",
          "type": "Person",
          "_label": "Jerry Alter"
        }
      ]
    },
    {
      "type": "Payment",
      "paid_amount": {
        "type": "MonetaryAmount",
        "_label": "Payment to Thief",
        "value": 52650,
        "currency": {
          "id": "http://vocab.getty.edu/aat/300411994",
          "type": "Currency",
          "_label": "US Dollars",
          "notation": "USD"
        }
      },
      "paid_to": [
        {
          "id": "https://linked.art/example/person/alter",
          "type": "Person",
          "_label": "Jerry Alter"
        }
      ]
    }
  ]
}

Comparison

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

Properties used

classified_as currency notation paid_amount paid_to part transferred_custody_from transferred_custody_of value

Vocabulary terms

US Dollars Provenance Activity sale of stolen goods