object/spring/6 matches the site
The current owner of Spring is the 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.
var humanMadeObject = new HumanMadeObject
{
Context = ["https://linked.art/ns/v1/linked-art.json"],
Id = "https://linked.art/example/object/spring/6",
Label = "Jeanne (Spring) by Manet",
CurrentOwner = [Ulan.Group("500115988", "Getty Museum")],
};
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/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).