Linked Art in C#

provenance/payneheirs_getty/2 matches the site

The Getty acquired Lot 16 for $65,125,000.

On linked.art: Auctions › Purchase of Lot · site JSON · type Activity · Auctions.Purchase_With_Custody_To_Department

C#

public static Activity Purchase_With_Custody_To_Department()
{
    var purchase = new Activity()
        .WithContext()
        .WithId("https://linked.art/example/provenance/payneheirs_getty/2")
        .WithLabel("Purchase of Spring")
        .WithClassifiedAs(Aat.ProvenanceActivity);

    var spring = new HumanMadeObject()
        .WithId("https://linked.art/example/object/spring")
        .WithLabel("Spring");
    var payneHeirs = new Group()
        .WithId("https://linked.art/example/group/payne_heirs")
        .WithLabel("Family of Oliver Payne");

    purchase.Part = [
        new Acquisition
        {
            Label = "Acquisition of Painting",
            TransferredTitleOf = [spring],
            TransferredTitleFrom = [payneHeirs],
            TransferredTitleTo = [
                new Group()
                    .WithId("https://linked.art/example/group/getty")
                    .WithLabel("J. Paul Getty Museum")
            ]
        },
        new TransferOfCustody
        {
            Label = "Custody by Department",
            TransferredCustodyOf = [spring],
            TransferredCustodyFrom = [payneHeirs],
            TransferredCustodyTo = [
                new Group()
                    .WithId("https://linked.art/example/group/getty_ptgs")
                    .WithLabel("Paintings Department")
            ]
        }
    ];

    return purchase;
}

JSON from the C#

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/provenance/payneheirs_getty/2",
  "type": "Activity",
  "_label": "Purchase of Spring",
  "classified_as": [
    {
      "id": "http://vocab.getty.edu/aat/300055863",
      "type": "Type",
      "_label": "Provenance Activity"
    }
  ],
  "part": [
    {
      "type": "Acquisition",
      "_label": "Acquisition of Painting",
      "transferred_title_of": [
        {
          "id": "https://linked.art/example/object/spring",
          "type": "HumanMadeObject",
          "_label": "Spring"
        }
      ],
      "transferred_title_from": [
        {
          "id": "https://linked.art/example/group/payne_heirs",
          "type": "Group",
          "_label": "Family of Oliver Payne"
        }
      ],
      "transferred_title_to": [
        {
          "id": "https://linked.art/example/group/getty",
          "type": "Group",
          "_label": "J. Paul Getty Museum"
        }
      ]
    },
    {
      "type": "TransferOfCustody",
      "_label": "Custody by Department",
      "transferred_custody_of": [
        {
          "id": "https://linked.art/example/object/spring",
          "type": "HumanMadeObject",
          "_label": "Spring"
        }
      ],
      "transferred_custody_from": [
        {
          "id": "https://linked.art/example/group/payne_heirs",
          "type": "Group",
          "_label": "Family of Oliver Payne"
        }
      ],
      "transferred_custody_to": [
        {
          "id": "https://linked.art/example/group/getty_ptgs",
          "type": "Group",
          "_label": "Paintings Department"
        }
      ]
    }
  ]
}

JSON on linked.art

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/provenance/payneheirs_getty/2",
  "type": "Activity",
  "_label": "Purchase of Spring",
  "classified_as": [
    {
      "id": "http://vocab.getty.edu/aat/300055863",
      "type": "Type",
      "_label": "Provenance Activity"
    }
  ],
  "part": [
    {
      "type": "Acquisition",
      "_label": "Acquisition of Painting",
      "transferred_title_of": [
        {
          "id": "https://linked.art/example/object/spring",
          "type": "HumanMadeObject",
          "_label": "Spring"
        }
      ],
      "transferred_title_from": [
        {
          "id": "https://linked.art/example/group/payne_heirs",
          "type": "Group",
          "_label": "Family of Oliver Payne"
        }
      ],
      "transferred_title_to": [
        {
          "id": "https://linked.art/example/group/getty",
          "type": "Group",
          "_label": "J. Paul Getty Museum"
        }
      ]
    },
    {
      "type": "TransferOfCustody",
      "_label": "Custody by Department",
      "transferred_custody_of": [
        {
          "id": "https://linked.art/example/object/spring",
          "type": "HumanMadeObject",
          "_label": "Spring"
        }
      ],
      "transferred_custody_from": [
        {
          "id": "https://linked.art/example/group/payne_heirs",
          "type": "Group",
          "_label": "Family of Oliver Payne"
        }
      ],
      "transferred_custody_to": [
        {
          "id": "https://linked.art/example/group/getty_ptgs",
          "type": "Group",
          "_label": "Paintings Department"
        }
      ]
    }
  ]
}

Comparison

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

Properties used

classified_as part transferred_custody_from transferred_custody_of transferred_custody_to transferred_title_from transferred_title_of transferred_title_to

Vocabulary terms

Provenance Activity