Skip to main content

Available Attribute Types

Abstract

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.

rdfs:Resource

http://www.example.com

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 -9223372036854775808and+9223372036854775807

xsd:long

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.

xsd:float

2345.877

Date

A date selector helps with the input of this field.

xsd:date

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 owl:FunctionalProperty as it can be only assigned once to a resource.

xsd:boolean

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.

Available-Attribute-Types.png

xsd:string

"example1234"

No Restriction

Literal with or without a language tag.

Available-Attribute-Types2.png

rdfs:Literal

"example1234" or "example1234"@en

Unique Per Language (No Restriction)

Literal with or without language tag that can be only there once per language.

Available-Attribute-Types3.png

Note

A literal with unique per language attribute is always also a swc:FunctionalLanguageProperty as it can be only assigned once to a resource.

rdfs:Literal

"example1234" or "example1234"@en

Requires Language

Literal with language tag.

Available-Attribute-Types4.png

rdf:langString

"example1234"@en

Unique Per Language (Requires Language)

Literal with language tag that can be only there once per language.

Available-Attribute-Types5.png

Note

A literal with unique per language attribute is always also a swc:FunctionalLanguagePropertyas it can be only assigned once to a resource.

rdf:langString

"example1234"@en