# imports: https://www.omg.org/spec/Commons/AnnotationVocabulary/ @prefix cmns-av: . @prefix cmns-txt: . @prefix dct: . @prefix owl: . @prefix rdf: . @prefix rdfs: . @prefix skos: . @prefix xsd: . a owl:Ontology ; rdfs:label "Commons Text Datatype Ontology" ; dct: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." ; dct:contributor "Elisa Kendall, Thematix Partners LLC" , "Evren Sirin, Stardog Union" ; dct:license "http://opensource.org/licenses/MIT"^^xsd:anyURI ; owl:imports ; owl:versionIRI ; skos:note "Note that custom datatypes are outside the OWL 2 RL profile and so its usage in applications may need to be commented out." ; cmns-av:copyright "Copyright (c) 2020-2022 Stardog Union" , "Copyright (c) 2020-2022 Thematix Partners LLC" , "Copyright (c) 2022 Object Management Group, Inc." ; . rdf:langString a rdfs:Datatype ; rdfs:label "langString" ; dct:source "BCP 47: Tags for Identifying Languages, available at https://tools.ietf.org/search/bcp47" , "https://www.w3.org/TR/rdf11-concepts/#section-Datatypes" ; skos:definition "literal with a non-empty language tag" ; skos: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]." ; . cmns-txt:Text a rdfs:Datatype ; rdfs:label "text" ; dct:source "ISO/IEC 11179-3 Information technology - Metadata registries (MDR) - Registry metamodel and basic attributes, Third edition, 2013-02-15" ; owl:equivalentClass [ a rdfs:Datatype ; owl:unionOf ( xsd:string rdf:langString ) ; ] ; skos:definition "datatype that maps to xsd:string and rdf:langString base types for string-valued data properties and annotations" ; skos: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." , "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." ; skos:scopeNote "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." ; . cmns-txt:hasTextValue a owl:DatatypeProperty ; rdfs:label "has text value" ; skos:definition "provides a string value for something, with or without a language tag" ; skos: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." ; .