gr:hasUnitOfMeasurement leaf node


URI

http://purl.org/goodrelations/v1#hasUnitOfMeasurement

Label

has unit of measurement (1..1)

Description

The unit of measurement for a gr:QuantitativeValue, a gr:UnitPriceSpecification, or a gr:TypeAndQuantityNode given using the UN/CEFACT Common Code (3 characters).

Usage

DOMAINPROPERTYRANGE
Blank node (see implementation) gr:hasUnitOfMeasurement xsd:string

Implementation

@prefix gr: <http://purl.org/goodrelations/v1#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

gr:hasUnitOfMeasurement a owl:DatatypeProperty ;
    rdfs:label "has unit of measurement (1..1)"@en ;
    rdfs:comment "The unit of measurement for a gr:QuantitativeValue, a gr:UnitPriceSpecification, or a gr:TypeAndQuantityNode given using the UN/CEFACT Common Code (3 characters)."@en ;
    rdfs:domain [ a owl:Class ;
            owl:unionOf ( gr:QuantitativeValue gr:TypeAndQuantityNode gr:UnitPriceSpecification ) ] ;
    rdfs:isDefinedBy <http://purl.org/goodrelations/v1> ;
    rdfs:range xsd:string .