CoinsCore:NumericProperty Class

Uit COINS2
Ga naar: navigatie, zoeken

NumericProperty is a subclass of SimpleProperty. It is the superclass of properties holding a single numeric value and a unit. The Unit-attribute is an owl:ObjectProperty of type rdfs:Resource.

A Reference Framework for Units is available from www.coinsweb.nl/wiki. This Framework is recommended, but not part of the standard.

NumericProperty is disjoined with StringProperty, BooleanProperty, DateTimeProperty and UriProperty.

The NumericProperty class is extendable; in the Coins Core Model it is extended to IntegerProperty and FloatProperty.

NumericProperty is not an abstract class; it can be instantiated directly, as long as the instance is also defined as equivalent to FloatProperty or IntegerProperty.

The nextTrunkVersion is restricted to one other instance of NumericProperty.


History
* New in COINS 2.0


Informative representation in UML

Informative representation of NumericProperty in UML

This image shows the informative representation of the NumericProperty class.


Attributes

Name Type Description
unit rdf:Resource unit using QUDT units.


Formal Representation in RDF/XML

 <owl:Class rdf:ID="NumericProperty">

   <rdfs:label xml:lang="en-GB">NumericProperty</rdfs:label>
   <rdfs:comment xml:lang="en-GB">Objectified numeric property</rdfs:comment>

   <rdfs:subClassOf rdf:resource="#SimpleProperty"/>

   <owl:equivalentClass>
     <owl:Class>
       <owl:unionOf rdf:parseType="Collection">
         <rdf:Description rdf:ID="FloatProperty"/>
         <rdf:Description rdf:ID="IntegerProperty"/>
       </owl:unionOf>
     </owl:Class>
   </owl:equivalentClass>

   <rdfs:subClassOf>
     <owl:Class>
       <owl:unionOf rdf:parseType="Collection">
         <rdf:Description rdf:about="#FloatProperty"/>
         <rdf:Description rdf:about="#IntegerProperty"/>
       </owl:unionOf>
     </owl:Class>
   </rdfs:subClassOf>

   <owl:disjointWith rdf:resource="#StringProperty"/>
   <owl:disjointWith rdf:resource="#BooleanProperty"/>
   <owl:disjointWith rdf:resource="#DateTimeProperty"/>
   <owl:disjointWith rdf:resource="#UriProperty"/>

   <isClassAbstract rdf:datatype="xsd:boolean">false</isClassAbstract>
   <isClassExtendable rdf:datatype="xsd:boolean">true</isClassExtendable>

   <rdfs:subClassOf>
     <owl:Restriction>
       <owl:onProperty rdf:resource="#nextTrunkVersion"/>
       <owl:allValuesFrom rdf:resource="#NumericProperty"/>
     </owl:Restriction>
   </rdfs:subClassOf>

   <classCreator rdf:resource="#COINSTechnicalManagementGroup"/>
   <classCreationDate rdf:datatype="xsd:dateTime">2016-04-04T12:00:00.00</classCreationDate>
   <classVersionID rdf:datatype="xsd:string">1.0</classVersionID>

 </owl:Class>


See also