http://qudt.org/schema/qudt/CurrencyUnit
Currency Units have their own subclass of unit because:
(a) they have additional properties such as 'country' and
(b) their URIs do not conform to the same rules as other units.
Focus nodes of this shape (qudt:CurrencyUnit) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| qudt:currencyCode | Alphabetic Currency Code as defined by ISO 4217. For example, the currency code for the US dollar is USD. | 0 | * | xsd:string | |
| qudt:currencyExponent | The currency exponent indicates the number of decimal places between a major currency unit and its minor currency unit. For example, the US dollar is the major currency unit of the United States, and the US cent is the minor currency unit. Since one cent is 1/100 of a dollar, the US dollar has a currency exponent of 2. However, the Japanese Yen has no minor currency units, so the yen has a currency exponent of 0. | 0 | * | xsd:integer | |
| qudt:currencyNumber | Three-digit Currency Code as defined by ISO 4217. For example, the currency number for the US dollar is "840". | 0 | * | xsd:string |
sh:pattern
^\d{3}$
|
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix qudt: <http://qudt.org/schema/qudt/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
qudt:CurrencyUnit a rdfs:Class,
sh:NodeShape ;
rdfs:label "Currency Unit" ;
dcterms:description """
Currency Units have their own subclass of unit because:
(a) they have additional properties such as 'country' and
(b) their URIs do not conform to the same rules as other units.
"""^^rdf:HTML ;
rdfs:isDefinedBy <http://qudt.org/3.5.2/schema/shacl/qudt> ;
rdfs:subClassOf qudt:DimensionlessUnit ;
sh:property qudt:CurrencyUnit-currencyCode,
qudt:CurrencyUnit-currencyExponent,
qudt:CurrencyUnit-currencyNumber .