| • | An attribute is a property with a basic data type as range |
| • | An attribute describes a characteristic of an individual of a concept |
Example:
person[birthDate {1:1} *=> _dateTime].
person[firstname {1:*} *=> _string].
person[weight {1:1} *=> _decimal].
person[nickname {0:*} *=> _string].
Cardinalities:
person[birthDate {1:1} *=> _dateTime]. Exact 1
person[firstname {1:*} *=> _string]. At least 1
person[nickname {0:*} *=> _string]. Any number
person[nickname *=> _string]. Any number
For Expressing attribute values different syntax is available.
"hallo" == "hallo"^^_string
== "hallo"^^xsd#string
1.2 == "1.2"^^_double
== "1.2"^^xsd#double
1 == "1"^^_int
== "1"^^xsd#int
"2001-12-12"^^_date == "2001-12-12"^^xsd#date