Linked Art in C#

provenance/unknown_faure/1 matches the site

Jean-Baptise Faure owned Spring after Proust (but not necessarily directly from Proust), before transferring it to the Galerie Durand-Ruel (Paris) in 1907.

On linked.art: Object Provenance › Relative Times · site JSON · type Activity · Provenance.Unknown_Acquisition_of_Spring_by_Faure

C#

public static Activity Unknown_Acquisition_of_Spring_by_Faure()
{
    var activity = new Activity()
        .WithContext()
        .WithId("https://linked.art/example/provenance/unknown_faure/1")
        .WithLabel("Unknown Acquisition of Spring by Faure")
        .WithClassifiedAs(Aat.ProvenanceActivity);

    activity.After = [
        new Activity()
            .WithId("https://linked.art/example/provenance/manet_proust")
            .WithClassifiedAs(Aat.ProvenanceActivity)
    ];
    activity.Before = [
        new Activity()
            .WithLabel("foure_durand")
            .WithClassifiedAs(Aat.ProvenanceActivity)
    ];

    return activity;
}

JSON from the C#

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/provenance/unknown_faure/1",
  "type": "Activity",
  "_label": "Unknown Acquisition of Spring by Faure",
  "classified_as": [
    {
      "id": "http://vocab.getty.edu/aat/300055863",
      "type": "Type",
      "_label": "Provenance Activity"
    }
  ],
  "after": [
    {
      "id": "https://linked.art/example/provenance/manet_proust",
      "type": "Activity",
      "classified_as": [
        {
          "id": "http://vocab.getty.edu/aat/300055863",
          "type": "Type",
          "_label": "Provenance Activity"
        }
      ]
    }
  ],
  "before": [
    {
      "type": "Activity",
      "_label": "foure_durand",
      "classified_as": [
        {
          "id": "http://vocab.getty.edu/aat/300055863",
          "type": "Type",
          "_label": "Provenance Activity"
        }
      ]
    }
  ]
}

JSON on linked.art

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/provenance/unknown_faure/1",
  "type": "Activity",
  "_label": "Unknown Acquisition of Spring by Faure",
  "classified_as": [
    {
      "id": "http://vocab.getty.edu/aat/300055863",
      "type": "Type",
      "_label": "Provenance Activity"
    }
  ],
  "after": [
    {
      "id": "https://linked.art/example/provenance/manet_proust",
      "type": "Activity",
      "classified_as": [
        {
          "id": "http://vocab.getty.edu/aat/300055863",
          "type": "Type",
          "_label": "Provenance Activity"
        }
      ]
    }
  ],
  "before": [
    {
      "type": "Activity",
      "_label": "foure_durand",
      "classified_as": [
        {
          "id": "http://vocab.getty.edu/aat/300055863",
          "type": "Type",
          "_label": "Provenance Activity"
        }
      ]
    }
  ]
}

Comparison

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

Properties used

after before classified_as

Vocabulary terms

Provenance Activity