Linked Art in C#

text/harpers/1 matches the site

On linked.art: Objects: Aboutness › Single Object, Single Textual and Visual Work · site JSON · type LinguisticObject · Aboutness.Harpers_Textual_Content

C#

public static LinguisticObject Harpers_Textual_Content()
{
    var harpersText = new LinguisticObject()
        .WithContext()
        .WithId("https://linked.art/example/text/harpers/1")
        .WithLabel("Textual component of Harpers")
        .WithContent("Harper's. January contains Roden's corner. A Novel by Henry Seton Merriman [...]");

    harpersText.PartOf = [
        new VisualItem()
            .WithId("https://linked.art/example/visual/harpers")
            .WithLabel("Visual Content of Harpers")
    ];

    return harpersText;
}

JSON from the C#

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/text/harpers/1",
  "type": "LinguisticObject",
  "content": "Harper's. January contains Roden's corner. A Novel by Henry Seton Merriman [...]",
  "_label": "Textual component of Harpers",
  "part_of": [
    {
      "id": "https://linked.art/example/visual/harpers",
      "type": "VisualItem",
      "_label": "Visual Content of Harpers"
    }
  ]
}

JSON on linked.art

{
  "@context": "https://linked.art/ns/v1/linked-art.json",
  "id": "https://linked.art/example/text/harpers/1",
  "type": "LinguisticObject",
  "_label": "Textual component of Harpers",
  "content": "Harper's. January contains Roden's corner. A Novel by Henry Seton Merriman [...]",
  "part_of": [
    {
      "id": "https://linked.art/example/visual/harpers",
      "type": "VisualItem",
      "_label": "Visual Content of Harpers"
    }
  ]
}

Comparison

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

Properties used

content part_of