provenance/5 matches the site
A copyright management organization, the Paintings Copyright Association, acquired the copyright for a particular painting in 2014.
C#
public static Activity Copyright_Acquisition()
{
var activity = new Activity()
.WithContext()
.WithId("https://linked.art/example/provenance/5")
.WithLabel("Copyright acquisition by PCA")
.WithClassifiedAs(Aat.ProvenanceActivity);
activity.Part = [
new RightAcquisition
{
Establishes = [
new Right()
.WithClassifiedAs(Aat.Term("300055598", "Copyright"))
.WithPossessedBy(new Group().WithLabel("Paintings Copyright Association"))
.WithAppliesTo(Painting.WithClassifiedAs(Aat.Artwork))
]
}
];
return activity;
}
- 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 activity = new Activity
{
Context = ["https://linked.art/ns/v1/linked-art.json"],
Id = "https://linked.art/example/provenance/5",
Label = "Copyright acquisition by PCA",
ClassifiedAs = [Aat.ProvenanceActivity],
Part =
[
new RightAcquisition
{
Establishes =
[
new Right
{
ClassifiedAs = [Aat.Term("300055598", "Copyright")],
PossessedBy =
[
new Group
{
Label = "Paintings Copyright Association",
},
],
AppliesTo =
[
new HumanMadeObject
{
Label = "Painting",
ClassifiedAs =
[
new Type("http://vocab.getty.edu/aat/300033618", "Painting")
{
ClassifiedAs = [Aat.TypeOfWork],
},
Aat.Artwork,
],
},
],
},
],
},
],
};
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/provenance/5",
"type": "Activity",
"_label": "Copyright acquisition by PCA",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300055863",
"type": "Type",
"_label": "Provenance Activity"
}
],
"part": [
{
"type": "RightAcquisition",
"establishes": [
{
"type": "Right",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300055598",
"type": "Type",
"_label": "Copyright"
}
],
"possessed_by": [
{
"type": "Group",
"_label": "Paintings Copyright Association"
}
],
"applies_to": [
{
"type": "HumanMadeObject",
"_label": "Painting",
"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"
}
]
},
{
"id": "http://vocab.getty.edu/aat/300133025",
"type": "Type",
"_label": "Artwork"
}
]
}
]
}
]
}
]
} JSON on linked.art
{
"@context": "https://linked.art/ns/v1/linked-art.json",
"id": "https://linked.art/example/provenance/5",
"type": "Activity",
"_label": "Copyright acquisition by PCA",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300055863",
"type": "Type",
"_label": "Provenance Activity"
}
],
"part": [
{
"type": "RightAcquisition",
"establishes": [
{
"type": "Right",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300055598",
"type": "Type",
"_label": "Copyright"
}
],
"possessed_by": [
{
"type": "Group",
"_label": "Paintings Copyright Association"
}
],
"applies_to": [
{
"type": "HumanMadeObject",
"_label": "Painting",
"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"
}
]
},
{
"id": "http://vocab.getty.edu/aat/300133025",
"type": "Type",
"_label": "Artwork"
}
]
}
]
}
]
}
]
} Comparison
The two documents are equivalent (property order ignored, array order significant).