Current Slide

Small screen detected. You are viewing the mobile version of SlideWiki. If you wish to edit slides you will need to use a larger device.

Add the molar mass

After creating the classes we want to add a typical chemical property, like the molar mass. At first we define it as a property.

ex:hasMolarMass   rdf:type   rdfs:Property .

Every chemical compound can have an information about its molar mass.

ex:hasMolarMass   rdfs:domain   ex:ChemicalCompound .

The molar mass itself could be defined as an own datatype with some additional information. But for our small example we want to use a simple existing floating point datatype. So the Range of the ex:hasMolarMass property is

ex:hasMolarMass   rdfs:range   xsd:float .

After defining the property we can use it:

ex:NaOH   ex:hasMolarMass   "39.9971" .

Speaker notes:

Content Tools

Sources

There are currently no sources for this slide.