object/flw_house/1 matches the site
The Frank Lloyd Wright House was originally built in New Jersey, and subsequently moved to its current location in Arkansas.
C#
public static HumanMadeObject Frank_Lloyd_Wright_House()
{
var house = new HumanMadeObject()
.WithContext()
.WithId("https://linked.art/example/object/flw_house/1")
.WithLabel("Frank Lloyd Wright House")
.WithClassifiedAs(Aat.Building);
house.IdentifiedBy = [new Name("Frank Lloyd Wright House")];
house.CurrentLocation = new Place()
.WithId("https://linked.art/example/place/crystal_bridges")
.WithLabel("Crystal Bridges");
return house;
}
var humanMadeObject = new HumanMadeObject
{
Context = ["https://linked.art/ns/v1/linked-art.json"],
Id = "https://linked.art/example/object/flw_house/1",
Label = "Frank Lloyd Wright House",
ClassifiedAs = [Aat.Building],
IdentifiedBy = [new Name("Frank Lloyd Wright House")],
CurrentLocation = new Place
{
Id = "https://linked.art/example/place/crystal_bridges",
Label = "Crystal Bridges",
},
};
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/flw_house/1",
"type": "HumanMadeObject",
"_label": "Frank Lloyd Wright House",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300004792",
"type": "Type",
"_label": "Building"
}
],
"identified_by": [
{
"type": "Name",
"content": "Frank Lloyd Wright House"
}
],
"current_location": {
"id": "https://linked.art/example/place/crystal_bridges",
"type": "Place",
"_label": "Crystal Bridges"
}
} JSON on linked.art
{
"@context": "https://linked.art/ns/v1/linked-art.json",
"id": "https://linked.art/example/object/flw_house/1",
"type": "HumanMadeObject",
"_label": "Frank Lloyd Wright House",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300004792",
"type": "Type",
"_label": "Building"
}
],
"identified_by": [
{
"type": "Name",
"content": "Frank Lloyd Wright House"
}
],
"current_location": {
"id": "https://linked.art/example/place/crystal_bridges",
"type": "Place",
"_label": "Crystal Bridges"
}
} Comparison
The two documents are equivalent (property order ignored, array order significant).