Previous Table of Contents   Next  


8.2 Mapping

   As the EPRI CIM is updated it will be necessary to create new versions of the schema used with the DAF. The EPRI CIM is published in UML and the following guidelines are to be used in mapping the UML form to RDF schema. In the following mapping table the namespaces are:

   rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdfs="http://www.w3.org/2000/01/rdf-schema#"

UML

Class

Attribute

Association role

RDF Schema Mapping

Schema Element Property Schema Element Value
Type rdfs:Class
ID UML class name
Type rdf:Property
ID C.a where C is the class name and a is the UML attribute name with first letter lower case and subsequent words capitalized.
Domain The RDF class corresponding to the attribute’s class.
Range The RDF class corresponding to the attribute’s type.
Type rdf:Property
ID C.A where C is the class name and A is the UML attribute name with first letter upper case and subsequent words capitalized.
Domain The RDF class corresponding to the attribute’s class.
Range The RDF class corresponding to the attribute’s type.