Skip to content

Instantly share code, notes, and snippets.

@anarchivist
Last active August 29, 2015 14:01
Show Gist options
  • Save anarchivist/24cfafb9d62113fdfc49 to your computer and use it in GitHub Desktop.
Save anarchivist/24cfafb9d62113fdfc49 to your computer and use it in GitHub Desktop.
Updated DPLA @context mapping
{
"@context": {
"dc": "http://purl.org/dc/elements/1.1/",
"dcmitype": "http://purl.org/dc/dcmitype/",
"dcterms": "http://purl.org/dc/terms/",
"@vocab": "http://purl.org/dc/elements/1.1/",
"admin": null,
"id": null,
"_id": null,
"ingestionSequence": null,
"ingestDate": null,
"ingestType": null,
"object_status": null,
"originalRecord": null,
"_rev": null,
"score": null,
"validate_on_enrich": null
}
}
{
"@context": {
"dc": "http://purl.org/dc/elements/1.1/",
"dcmitype": "http://purl.org/dc/dcmitype/",
"dcterms": "http://purl.org/dc/terms/",
"dpla": "http://dp.la/terms/",
"edm": "http://www.europeana.eu/schemas/edm/",
"geo": "http://www.w3.org/2003/01/geo/wgs84_pos#",
"lcsh": "http://id.loc.gov/authorities/subjects/",
"ore": "http://www.openarchives.org/ore/terms/",
"skos": "http://www.w3.org/2004/02/skos/core#",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"@vocab": "http://purl.org/dc/elements/1.1/",
"sourceResource": "dpla:SourceResource",
"aggregatedCHO": {
"@id": "edm:aggregatedCHO",
"@type": "@id"
},
"collection": {
"@id": "dcterms:isPartOf",
"@type": "dcmitype:Collection"
},
"extent": "dcterms:extent",
"temporal": "dcterms:temporal",
"spatial": {
"@id": "dcterms:spatial",
"@type": "dpla:Place"
},
"coordinates": "geo:lat_long",
"city": "dpla:city",
"county": "dpla:county",
"region": "dpla:region",
"state": "dpla:state",
"country": "dpla:country",
"stateLocatedIn": "edm:currentLocation",
"dataProvider": "edm:dataProvider",
"hasView": {
"@id": "edm:hasView",
"@type": "edm:WebResource"
},
"isShownAt": {
"@id": "edm:isShownAt",
"@type": "@id"
},
"object": {
"@id": "edm:object",
"@type": "@id"
},
"provider": {
"@id": "edm:provider",
"@type": "edm:Agent"
},
"date": {
"@type": "edm:TimeSpan"
},
"begin": {
"@id": "edm:begin",
"@type": "xsd:date"
},
"end" : {
"@id": "edm:end",
"@type": "xsd:date"
},
"displayDate": "skos:prefLabel",
"name": "skos:prefLabel",
"iso639": "skos:altLabel",
"iso639_3": "skos:altLabel",
"admin": null,
"id": null,
"_id": null,
"ingestionSequence": null,
"ingestDate": null,
"ingestType": null,
"object_status": null,
"originalRecord": null,
"score": null,
"specType": null,
"validate_on_enrich": null
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment