Commons Text Datatype Ontology
type: Ontology
abstract: The text datatype ontology defines a custom datatype that combines language tagged and plain string values. This text datatype is useful in cases where it is not clear whether string values will be tagged or not, but where it is anticipated that multilingual strings might be appropriate.
contributor: Elisa Kendall, Thematix Partners LLC
contributor: Evren Sirin, Stardog Union
license: http://opensource.org/licenses/MIT
imports: AnnotationVocabulary
version IRI: TextDatatype
note: Note that custom datatypes are outside the OWL 2 RL profile and so its usage in applications may need to be commented out.
copyright: Copyright (c) 2020-2022 Stardog Union
copyright: Copyright (c) 2020-2022 Thematix Partners LLC
copyright: Copyright (c) 2022 Object Management Group, Inc.

langString
type: Datatype
source: BCP 47: Tags for Identifying Languages, available at https://tools.ietf.org/search/bcp47
source: https://www.w3.org/TR/rdf11-concepts/#section-Datatypes
definition: literal with a non-empty language tag
note: This datatype declaration is included to support language-tagged strings, as defined in RDF 1.1. The rdf:langString datatype has not been incorporated directly in OWL 2 to date, and so it must be declared in order to enable its inclusion in the declaration of the Text datatype. Language-tagged strings must be well-formed according to section 2.2.9 of [BCP47].

text
type: Datatype
source: ISO/IEC 11179-3 Information technology - Metadata registries (MDR) - Registry metamodel and basic attributes, Third edition, 2013-02-15
equivalent class: Datatype
  union of: string
  union of: langString
definition: datatype that maps to xsd:string and rdf:langString base types for string-valued data properties and annotations
note: Text is data in the form of characters, symbols, words, phrases, paragraphs, sentences, tables, or other character arrangements, intended to convey a meaning, and whose interpretation is essentially based upon the reader's knowledge of some natural language or artificial language.
note: There are cases where the representation of certain features of something, such as a name, which might be multilingual or might not, defaults to rdfs:Literal when left unspecified, although it should be limited to plain strings or language-typed strings (i.e., exclude numbers, binary types, and so forth). There is no combined datatype available in RDF or OWL, however, which is the role that this datatype is intended to fulfill.
scope note: This composite datatype should be used in cases where a standard representation using one of the options in the union for string values does not work. Note that certain tools may not support rdf:langString, including, but not limited to some versions of Protege, and that custom datatypes are not supported in OWL 2 RL so it may need to be ignored or commented out in OWL 2 RL applications.

has text value
type: DatatypeProperty
definition: provides a string value for something, with or without a language tag
note: Note that although the intended range for this property is Text, we have left the range undefined so that it can be used with tools that do not support rdf:langString.