Created
November 20, 2024 14:59
-
-
Save ewg118/9502defd67c9cf7f054784d719dc277f to your computer and use it in GitHub Desktop.
Harvard Art Museums OpenRefine RDF template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<nmo:NumismaticObject rdf:about="{{cells['URI'].value}}"> | |
<dcterms:title xml:lang="en">{{cells["Title"].value}}</dcterms:title> | |
<dcterms:identifier>{{cells["HAM accession no."].value}}</dcterms:identifier> | |
<nmo:hasCollection rdf:resource="http://nomisma.org/id/harvard"/> | |
<nmo:hasTypeSeriesItem rdf:resource="{{cells["BIGR type"].value}}"/> | |
{{forNonBlank(cells["Weight (g)"], c, '<nmo:hasWeight rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">' + c.value + '</nmo:hasWeight>', "")}} | |
{{forNonBlank(cells["Die axis"], c, '<nmo:hasAxis rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">' + c.value + '</nmo:hasAxis>', "")}} | |
<foaf:thumbnail rdf:resource="{{ cells["Reference Image"].value }}?width=240"/> | |
<foaf:depiction rdf:resource="{{ cells["Reference Image"].value }}"/> | |
<void:inDataset rdf:resource="http://www.harvardartmuseums.org/"/> | |
</nmo:NumismaticObject> | |
<edm:WebResource rdf:about="{{ cells["Reference Image"].value }}"> | |
<svcs:has_service rdf:resource="{{ cells["IIIF Image"].value }}"/> | |
<dcterms:isReferencedBy rdf:resource="{{ cells["IIIF Manifest"].value }}"/> | |
</edm:WebResource> | |
<svcs:Service rdf:about="{{ cells["IIIF Image"].value }}"> | |
<dcterms:conformsTo rdf:resource="http://iiif.io/api/image"/> | |
<doap:implements rdf:resource="http://iiif.io/api/image/2/level1.json"/> | |
</svcs:Service> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment