Linked Art in C#

visual/spring/1 matches the site

The image of Manet's Spring represents (or depicts) Jeanne Demarsy, a French actress.

On linked.art: Objects: Aboutness › Depiction · site JSON · type VisualItem · Aboutness.Spring_Visual_Content

C#

public static VisualItem Spring_Visual_Content()
{
    var springVis = new VisualItem()
        .WithContext()
        .WithId("https://linked.art/example/visual/spring/1")
        .WithLabel("Visual Content of Spring");

    springVis.Represents = [
        new Person()
            .WithId("https://linked.art/example/person/jeanne")
            .WithLabel("Jeanne Demarsy")
    ];

    return springVis;
}

JSON from the C#

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/visual/spring/1",
  "type": "VisualItem",
  "_label": "Visual Content of Spring",
  "represents": [
    {
      "id": "https://linked.art/example/person/jeanne",
      "type": "Person",
      "_label": "Jeanne Demarsy"
    }
  ]
}

JSON on linked.art

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/visual/spring/1",
  "type": "VisualItem",
  "_label": "Visual Content of Spring",
  "represents": [
    {
      "id": "https://linked.art/example/person/jeanne",
      "type": "Person",
      "_label": "Jeanne Demarsy"
    }
  ]
}

Comparison

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

Properties used

represents