person/rembrandt/10 matches the site
The name form "Rembrandt van Rijn" was added from Gardner's "Art through the Ages".
C#
public static Person Source_of_Knowledge()
{
var rembrandt = new Person()
.WithContext()
.WithId("https://linked.art/example/person/rembrandt/10")
.WithLabel("Rembrandt");
rembrandt.IdentifiedBy = [
new Name("Rembrandt van Rijn")
{
AssignedBy = [
new AttributeAssignment()
{
UsedSpecificObject = [
new LinguisticObject()
.WithId("https://linked.art/example/text/gardner-art")
.WithLabel("Art through the Ages")
]
}
]
}
];
return rembrandt;
}
var person = new Person
{
Context = ["https://linked.art/ns/v1/linked-art.json"],
Id = "https://linked.art/example/person/rembrandt/10",
Label = "Rembrandt",
IdentifiedBy =
[
new Name("Rembrandt van Rijn")
{
AssignedBy =
[
new AttributeAssignment
{
UsedSpecificObject =
[
new LinguisticObject
{
Id = "https://linked.art/example/text/gardner-art",
Label = "Art through the Ages",
},
],
},
],
},
],
};
Generated from the object the example builds: every property that is set, as object initialisers, with the vocabulary constants where a term is in the registry. The fluent helpers are a convenience, not a requirement; this form and the one as written produce the same JSON.
JSON from the C#
{
"@context": "https://linked.art/ns/v1/linked-art.json",
"id": "https://linked.art/example/person/rembrandt/10",
"type": "Person",
"_label": "Rembrandt",
"identified_by": [
{
"type": "Name",
"content": "Rembrandt van Rijn",
"assigned_by": [
{
"type": "AttributeAssignment",
"used_specific_object": [
{
"id": "https://linked.art/example/text/gardner-art",
"type": "LinguisticObject",
"_label": "Art through the Ages"
}
]
}
]
}
]
} JSON on linked.art
{
"@context": "https://linked.art/ns/v1/linked-art.json",
"id": "https://linked.art/example/person/rembrandt/10",
"type": "Person",
"_label": "Rembrandt",
"identified_by": [
{
"type": "Name",
"content": "Rembrandt van Rijn",
"assigned_by": [
{
"type": "AttributeAssignment",
"used_specific_object": [
{
"id": "https://linked.art/example/text/gardner-art",
"type": "LinguisticObject",
"_label": "Art through the Ages"
}
]
}
]
}
]
} Comparison
The two documents are equivalent (property order ignored, array order significant).