Available Attribute Types
Available Attribute Types
This section contains an overview of attribute types available for creating custom attributes for a custom ontology.
The following table gives an overview of available attribute types and the respective data types.
Attribute Type | Description | Data Type | Example | |
---|---|---|---|---|
URI | A valid URI. |
| ||
Literal | A string that based on the defined restrictions can be with or without a language tag. | "example1234" | ||
Long | May only contain digits or scientific notation and must be between |
| 4,321.768 / 4.321768×103 | |
Integer | May only contain digits and must be between -2147483648and +2147483647. | 12345 | ||
Float | May only contain digits and "-". A "." is required. |
| 2345.877 | |
Date | A date selector helps with the input of this field. |
| 30.09.2015 | |
Date/Time | A date and time selector helps with the input of this field. | xsd:dateTime | 20.07.2017 - 11:15 | |
Boolean | A boolean selector lets the user select true or false. Note: a boolean attribute is always also a |
| true | |
Literal | The literal attribute has more configuration options and can have several characteristics based on those. | |||
No Language Options | Literal without a language tag. |
| "example1234" | |
No Restriction | Literal with or without a language tag. |
| "example1234" or "example1234"@en | |
Unique Per Language (No Restriction) | Literal with or without language tag that can be only there once per language. NoteA literal with unique per language attribute is always also a |
| "example1234" or "example1234"@en | |
Requires Language | Literal with language tag. |
| "example1234"@en | |
Unique Per Language (Requires Language) | Literal with language tag that can be only there once per language. NoteA literal with unique per language attribute is always also a |
| "example1234"@en |