provenance/sharp_sale/1 matches the site
A painting by Joseph Henry Sharp, "Cheyenne Oklahoma", was stolen from the Harwood Museum in Taos, New Mexico and then sold (at auction) for $52,650 to an undisclosed buyer.
C#
public static Activity Purchase_Of_Stolen_Painting()
{
var purchase = new Activity()
.WithContext()
.WithId("https://linked.art/example/provenance/sharp_sale/1")
.WithLabel("Purchase of Stolen Painting")
.WithClassifiedAs(Aat.ProvenanceActivity);
var alter = new Person()
.WithId("https://linked.art/example/person/alter")
.WithLabel("Jerry Alter");
purchase.Part = [
new TransferOfCustody
{
Label = "Sale of Painting",
TransferredCustodyOf = [
new HumanMadeObject()
.WithId("https://linked.art/example/object/cheyenne")
.WithLabel("Cheyenne Oklahoma")
],
TransferredCustodyFrom = [alter]
}.WithClassifiedAs(Aat.Term("300438484", "sale of stolen goods")),
new Payment
{
PaidAmount = new MonetaryAmount
{
Label = "Payment to Thief",
Value = 52650,
Currency = Aat.UsDollars.WithNotation("USD")
},
PaidTo = [alter]
}
];
return purchase;
}
- 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/sharp_sale/1",
Label = "Purchase of Stolen Painting",
ClassifiedAs = [Aat.ProvenanceActivity],
Part =
[
new TransferOfCustody
{
Label = "Sale of Painting",
ClassifiedAs = [Aat.Term("300438484", "sale of stolen goods")],
TransferredCustodyOf =
[
new HumanMadeObject
{
Id = "https://linked.art/example/object/cheyenne",
Label = "Cheyenne Oklahoma",
},
],
TransferredCustodyFrom =
[
new Person
{
Id = "https://linked.art/example/person/alter",
Label = "Jerry Alter",
},
],
},
new Payment
{
PaidAmount = new MonetaryAmount
{
Label = "Payment to Thief",
Value = 52650,
Currency = new Currency("http://vocab.getty.edu/aat/300411994", "US Dollars")
{
Notation = "USD",
},
},
PaidTo =
[
new Person
{
Id = "https://linked.art/example/person/alter",
Label = "Jerry Alter",
},
],
},
],
};
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/sharp_sale/1",
"type": "Activity",
"_label": "Purchase of Stolen Painting",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300055863",
"type": "Type",
"_label": "Provenance Activity"
}
],
"part": [
{
"type": "TransferOfCustody",
"_label": "Sale of Painting",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300438484",
"type": "Type",
"_label": "sale of stolen goods"
}
],
"transferred_custody_of": [
{
"id": "https://linked.art/example/object/cheyenne",
"type": "HumanMadeObject",
"_label": "Cheyenne Oklahoma"
}
],
"transferred_custody_from": [
{
"id": "https://linked.art/example/person/alter",
"type": "Person",
"_label": "Jerry Alter"
}
]
},
{
"type": "Payment",
"paid_amount": {
"type": "MonetaryAmount",
"_label": "Payment to Thief",
"value": 52650,
"currency": {
"id": "http://vocab.getty.edu/aat/300411994",
"type": "Currency",
"_label": "US Dollars",
"notation": "USD"
}
},
"paid_to": [
{
"id": "https://linked.art/example/person/alter",
"type": "Person",
"_label": "Jerry Alter"
}
]
}
]
} JSON on linked.art
{
"@context": "https://linked.art/ns/v1/linked-art.json",
"id": "https://linked.art/example/provenance/sharp_sale/1",
"type": "Activity",
"_label": "Purchase of Stolen Painting",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300055863",
"type": "Type",
"_label": "Provenance Activity"
}
],
"part": [
{
"type": "TransferOfCustody",
"_label": "Sale of Painting",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300438484",
"type": "Type",
"_label": "sale of stolen goods"
}
],
"transferred_custody_of": [
{
"id": "https://linked.art/example/object/cheyenne",
"type": "HumanMadeObject",
"_label": "Cheyenne Oklahoma"
}
],
"transferred_custody_from": [
{
"id": "https://linked.art/example/person/alter",
"type": "Person",
"_label": "Jerry Alter"
}
]
},
{
"type": "Payment",
"paid_amount": {
"type": "MonetaryAmount",
"_label": "Payment to Thief",
"value": 52650,
"currency": {
"id": "http://vocab.getty.edu/aat/300411994",
"type": "Currency",
"_label": "US Dollars",
"notation": "USD"
}
},
"paid_to": [
{
"id": "https://linked.art/example/person/alter",
"type": "Person",
"_label": "Jerry Alter"
}
]
}
]
} Comparison
The two documents are equivalent (property order ignored, array order significant).