Created
November 30, 2021 14:42
-
-
Save ewg118/28d7b1b1aa844f0ca80ac883b52f869a to your computer and use it in GitHub Desktop.
Royal Library of Belgium OpenRefine template for Nomisma
This file contains hidden or 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['Permalink'].value}}"> | |
<dcterms:title xml:lang="en">{{cells["Title"].value}}</dcterms:title> | |
<dcterms:identifier>{{cells["IDN"].value}}</dcterms:identifier> | |
<nmo:hasCollection rdf:resource="http://nomisma.org/id/kbr"/> | |
<nmo:hasTypeSeriesItem rdf:resource="{{cells["RRC"].value}}"/> | |
{{forNonBlank(cells["Weight"], c, '<nmo:hasWeight rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">' + c.value + '</nmo:hasWeight>', "")}} | |
{{forNonBlank(cells["Diameter"], c, '<nmo:hasDiameter rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">' + c.value + '</nmo:hasDiameter>', "")}} | |
{{forNonBlank(cells["Orientation"], c, '<nmo:hasAxis rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">' + c.value + '</nmo:hasAxis>', "")}} | |
<nmo:hasObverse> | |
<rdf:Description> | |
<foaf:depiction rdf:resource="{{cells["Obverse Image"].value}}"/> | |
</rdf:Description> | |
</nmo:hasObverse> | |
<nmo:hasReverse> | |
<rdf:Description> | |
<foaf:depiction rdf:resource="{{cells["Reverse Image"].value}}"/> | |
</rdf:Description> | |
</nmo:hasReverse> | |
<void:inDataset rdf:resource="https://www.kbr.be"/> | |
</nmo:NumismaticObject> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prefix:
<?xml version="1.0" encoding="UTF-8"?><rdf:RDF xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:nm="http://nomisma.org/id/" xmlns:nmo="http://nomisma.org/ontology#" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:void="http://rdfs.org/ns/void#" xmlns:edm="http://www.europeana.eu/schemas/edm/" xmlns:svcs="http://rdfs.org/sioc/services#" xmlns:doap="http://usefulinc.com/ns/doap#">
Suffix:
</rdf:RDF>