Linked Art in C#

object/spring/6 matches the site

The current owner of Spring is the Getty.

On linked.art: Objects: Provenance › Ownership · site JSON · type HumanMadeObject · Ownership.Spring_Ownedby_Getty

C#

public static HumanMadeObject Spring_Ownedby_Getty()
{
    var spring = new HumanMadeObject()
        .WithContext()
        .WithId("https://linked.art/example/object/spring/6")
        .WithLabel("Jeanne (Spring) by Manet");

    spring.CurrentOwner = [
        Ulan.Group("500115988", "Getty Museum")
    ];

    return spring;
}
  • 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/object/spring/6",
  "type": "HumanMadeObject",
  "_label": "Jeanne (Spring) by Manet",
  "current_owner": [
    {
      "id": "http://vocab.getty.edu/ulan/500115988",
      "type": "Group",
      "_label": "Getty Museum"
    }
  ]
}

JSON on linked.art

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/object/spring/6",
  "type": "HumanMadeObject",
  "_label": "Jeanne (Spring) by Manet",
  "current_owner": [
    {
      "id": "http://vocab.getty.edu/ulan/500115988",
      "type": "Group",
      "_label": "Getty Museum"
    }
  ]
}

Comparison

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

Properties used

current_owner

Vocabulary terms

Getty Museum