272
Internet of Things (IoT)
The property elements can also be defined as attributes:

xmlns:cd=" http:/sensormeasurement.appspot.com/m3#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
rdf:about="http:/sensormeasurement.appspot.com/m3#Measurement"
cd:name=" Temperature " cd:unit="DegreeCelsius" cd:value="35"/>

The property elements can also be defined as resources:

xmlns:cd=" http:/sensormeasurement.appspot.com/m3#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
rdf:about="http:/sensormeasurement.appspot.com/m3#Measurement">

...
...


RDF/XML allows use of the xml:lang attribute to identify the content language.
This  attribute can be used in any resource to indicate that the content given in the tag is in
the specific language. The xml:lang="" indicates that there is no language specified.

xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

meter
метр


In an RDF, typed literals can be used as an object node. It consists of a string and a datatype IRI. These are written in RDF/XML using an attribute rdf:datatype=”datatypeURI”
within the property element.

xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">


Water
Précédent

- 297/358

Suivant