object/kellerdana/1 matches the site
In 1964, Deane Keller created a copy of Daniel Huntington's portrait of James Dwight Dana, from 1858.
C#
public static HumanMadeObject KellerDana_1_Influenced()
{
var dana = new HumanMadeObject()
.WithContext()
.WithId("https://linked.art/example/object/kellerdana/1")
.WithLabel("Copy of Huntington Portrait")
.WithClassifiedAs(Aat.Painting, Aat.TypeOfWork);
dana.ProducedBy =
new Production()
{
CarriedOutBy = [
new Person()
.WithId("https://linked.art/example/person/keller")
.WithLabel("Deane Keller")
],
InfluencedBy = [
new HumanMadeObject()
.WithId("https://linked.art/example/object/huntingtondana")
.WithLabel("Huntington Portrait of Dana")
]
};
return dana;
}
- Metatype classification The second argument classifies the first, not the object: WithClassifiedAs(Aat.Description, Aat.Statement) says this is a Description, and Description is a kind of Statement. The Plain C# form shows the nesting.
var humanMadeObject = new HumanMadeObject
{
Context = ["https://linked.art/ns/v1/linked-art.json"],
Id = "https://linked.art/example/object/kellerdana/1",
Label = "Copy of Huntington Portrait",
ProducedBy = new Production
{
CarriedOutBy =
[
new Person
{
Id = "https://linked.art/example/person/keller",
Label = "Deane Keller",
},
],
InfluencedBy =
[
new HumanMadeObject
{
Id = "https://linked.art/example/object/huntingtondana",
Label = "Huntington Portrait of Dana",
},
],
},
ClassifiedAs =
[
new Type("http://vocab.getty.edu/aat/300033618", "Painting")
{
ClassifiedAs = [Aat.TypeOfWork],
},
],
};
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/kellerdana/1",
"type": "HumanMadeObject",
"_label": "Copy of Huntington Portrait",
"produced_by": {
"type": "Production",
"carried_out_by": [
{
"id": "https://linked.art/example/person/keller",
"type": "Person",
"_label": "Deane Keller"
}
],
"influenced_by": [
{
"id": "https://linked.art/example/object/huntingtondana",
"type": "HumanMadeObject",
"_label": "Huntington Portrait of Dana"
}
]
},
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300033618",
"type": "Type",
"_label": "Painting",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300435443",
"type": "Type",
"_label": "Type of Work"
}
]
}
]
} JSON on linked.art
{
"@context": "https://linked.art/ns/v1/linked-art.json",
"id": "https://linked.art/example/object/kellerdana/1",
"type": "HumanMadeObject",
"_label": "Copy of Huntington Portrait",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300033618",
"type": "Type",
"_label": "Painting",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300435443",
"type": "Type",
"_label": "Type of Work"
}
]
}
],
"produced_by": {
"type": "Production",
"carried_out_by": [
{
"id": "https://linked.art/example/person/keller",
"type": "Person",
"_label": "Deane Keller"
}
],
"influenced_by": [
{
"id": "https://linked.art/example/object/huntingtondana",
"type": "HumanMadeObject",
"_label": "Huntington Portrait of Dana"
}
]
}
} Comparison
The two documents are equivalent (property order ignored, array order significant).