Keywords.hs revision 083b2687afdb676237f926bdb643b24027291d05
e9458b1a7a19a63aa4c179f9ab20f4d50681c168Jens ElknerModule : $Header$
c04cc42aa672aa49b45005e6eed77cc80e0d6ae0Christian MaederDescription : OWL reserved keywords
c04cc42aa672aa49b45005e6eed77cc80e0d6ae0Christian MaederCopyright : (c) Christian Maeder DFKI Bremen 2008
c04cc42aa672aa49b45005e6eed77cc80e0d6ae0Christian MaederLicense : GPLv2 or higher, see LICENSE.txt
c04cc42aa672aa49b45005e6eed77cc80e0d6ae0Christian MaederMaintainer : Christian.Maeder@dfki.de
85a0d4a81a58324c5e65d633e14f70361ea7f6bfChristian MaederStability : provisional
85a0d4a81a58324c5e65d633e14f70361ea7f6bfChristian MaederPortability : portable
c04cc42aa672aa49b45005e6eed77cc80e0d6ae0Christian MaederString constants for keywords to be used for parsing and printing
c04cc42aa672aa49b45005e6eed77cc80e0d6ae0Christian Maederplus owl, xsd, rdf and rdfs reserved keywords. All identifiers are mixed case
c04cc42aa672aa49b45005e6eed77cc80e0d6ae0Christian Maederkeywords :: [String]
c04cc42aa672aa49b45005e6eed77cc80e0d6ae0Christian Maeder [ base64BinaryS
c04cc42aa672aa49b45005e6eed77cc80e0d6ae0Christian Maeder , functionalS
eac27c20d3f0f9cb50439b66d098f69981345889Christian Maeder , negativeIntegerS
eac27c20d3f0f9cb50439b66d098f69981345889Christian Maeder , nonNegativeIntegerS
f6cea53c107f81a3f3225481f1673452e29c555cChristian Maeder , nonPositiveIntegerS
c04cc42aa672aa49b45005e6eed77cc80e0d6ae0Christian Maeder , positiveIntegerS
eac27c20d3f0f9cb50439b66d098f69981345889Christian Maeder , rdfsLiteral
c04cc42aa672aa49b45005e6eed77cc80e0d6ae0Christian Maeder , unsignedByteS
eac27c20d3f0f9cb50439b66d098f69981345889Christian Maeder , unsignedIntS
c04cc42aa672aa49b45005e6eed77cc80e0d6ae0Christian Maeder , unsignedLongS
c04cc42aa672aa49b45005e6eed77cc80e0d6ae0Christian Maeder , unsignedShortS
eac27c20d3f0f9cb50439b66d098f69981345889Christian Maeder , dateTimeStampS
eac27c20d3f0f9cb50439b66d098f69981345889Christian Maeder , normalizedStringS
118b1dee4954776d7fae2e4b0c93fec07f88133eChristian Maederbase64BinaryS :: String
eac27c20d3f0f9cb50439b66d098f69981345889Christian Maederbase64BinaryS = "base64Binary"
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederbooleanS :: String
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederbooleanS = "boolean"
1aa11f4e4b984f2a6d6ce9700cbe82283c8d196aChristian MaederbyteS :: String
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederbyteS = "byte"
1aa11f4e4b984f2a6d6ce9700cbe82283c8d196aChristian MaederdATAS :: String
1aa11f4e4b984f2a6d6ce9700cbe82283c8d196aChristian MaederdATAS = "DATA"
1aa11f4e4b984f2a6d6ce9700cbe82283c8d196aChristian MaederdecimalS :: String
c8ecc5578d32b222f35b625d4dfe7a3fd8bb4173Christian MaederdecimalS = "decimal"
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederdoubleS :: String
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederdoubleS = "double"
118b1dee4954776d7fae2e4b0c93fec07f88133eChristian MaederdigitsS :: String
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederdigitsS = "totalDigits"
d3e484c642d04bc87bcd482eb59430b557ea79c8Christian MaederexactlyS :: String
d3e484c642d04bc87bcd482eb59430b557ea79c8Christian MaederexactlyS = "exactly"
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederfloatS :: String
1aa11f4e4b984f2a6d6ce9700cbe82283c8d196aChristian MaederfloatS = "float"
81ae4270c8508e5e630e50923a2e790e7b1e5997Christian MaederfractionS :: String
1aa11f4e4b984f2a6d6ce9700cbe82283c8d196aChristian MaederfractionS = "fractionDigits"
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederfunctionalS :: String
1aa11f4e4b984f2a6d6ce9700cbe82283c8d196aChristian MaederfunctionalS = "Functional"
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederhasS :: String
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederhexBinaryS :: String
81ae4270c8508e5e630e50923a2e790e7b1e5997Christian MaederhexBinaryS = "hexBinary"
81ae4270c8508e5e630e50923a2e790e7b1e5997Christian MaederintS :: String
1aa11f4e4b984f2a6d6ce9700cbe82283c8d196aChristian MaederintegerS :: String
1aa11f4e4b984f2a6d6ce9700cbe82283c8d196aChristian MaederintegerS = "integer"
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederinverseS :: String
1aa11f4e4b984f2a6d6ce9700cbe82283c8d196aChristian MaederinverseS = "inverse"
1aa11f4e4b984f2a6d6ce9700cbe82283c8d196aChristian MaederlangRangeS :: String
1aa11f4e4b984f2a6d6ce9700cbe82283c8d196aChristian MaederlangRangeS = "langRange"
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederlengthS :: String
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederlengthS = "length"
118b1dee4954776d7fae2e4b0c93fec07f88133eChristian MaederlongS :: String
3b31ee94edcb328d2aa02ddcfa8a2e227d4c98edChristian MaederlongS = "long"
51b1633dc0785a542da974fae21fa7d6622c934eChristian MaedermaxLengthS :: String
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaedermaxLengthS = "maxLength"
856b45770505f97205a760c51c78cd7576632f51Christian MaedermaxS :: String
c04cc42aa672aa49b45005e6eed77cc80e0d6ae0Christian MaederminLengthS :: String
d3e484c642d04bc87bcd482eb59430b557ea79c8Christian MaederminLengthS = "minLength"
e7c8b6f2bf2b057c413503efe0d19259c709e843Christian MaederminS :: String
cfb5b8ae84a762dd5104af0362e80e0c0cf7cec8Christian MaedernegativeIntegerS :: String
cfb5b8ae84a762dd5104af0362e80e0c0cf7cec8Christian MaedernegativeIntegerS = "negativeInteger"
cfb5b8ae84a762dd5104af0362e80e0c0cf7cec8Christian MaedernonNegativeIntegerS :: String
856b45770505f97205a760c51c78cd7576632f51Christian MaedernonNegativeIntegerS = "nonNegativeInteger"
cfb5b8ae84a762dd5104af0362e80e0c0cf7cec8Christian MaedernonPositiveIntegerS :: String
cfb5b8ae84a762dd5104af0362e80e0c0cf7cec8Christian MaedernonPositiveIntegerS = "nonPositiveInteger"
f6cea53c107f81a3f3225481f1673452e29c555cChristian MaederonlyS :: String
f6cea53c107f81a3f3225481f1673452e29c555cChristian MaederonlyS = "only"
f6cea53c107f81a3f3225481f1673452e29c555cChristian MaederonlysomeS :: String
f6cea53c107f81a3f3225481f1673452e29c555cChristian MaederonlysomeS = "onlysome"
cfb5b8ae84a762dd5104af0362e80e0c0cf7cec8Christian MaederpatternS :: String
cfb5b8ae84a762dd5104af0362e80e0c0cf7cec8Christian MaederpatternS = "pattern"
cfb5b8ae84a762dd5104af0362e80e0c0cf7cec8Christian MaederpositiveIntegerS :: String
cfb5b8ae84a762dd5104af0362e80e0c0cf7cec8Christian MaederpositiveIntegerS = "positiveInteger"
cfb5b8ae84a762dd5104af0362e80e0c0cf7cec8Christian MaederrationalS :: String
f6cea53c107f81a3f3225481f1673452e29c555cChristian MaederrationalS = "rational"
51b1633dc0785a542da974fae21fa7d6622c934eChristian MaederrealS :: String
51b1633dc0785a542da974fae21fa7d6622c934eChristian MaederrealS = "real"
51b1633dc0785a542da974fae21fa7d6622c934eChristian MaederselfS :: String
86f240c0d3f25a1fbd018c1c7a31c204de259eeaChristian MaederselfS = "Self"
86f240c0d3f25a1fbd018c1c7a31c204de259eeaChristian MaedershortS :: String
86f240c0d3f25a1fbd018c1c7a31c204de259eeaChristian MaedershortS = "short"
86f240c0d3f25a1fbd018c1c7a31c204de259eeaChristian MaedersomeS :: String
86f240c0d3f25a1fbd018c1c7a31c204de259eeaChristian MaedersomeS = "some"
85a0d4a81a58324c5e65d633e14f70361ea7f6bfChristian MaederthatS :: String
85a0d4a81a58324c5e65d633e14f70361ea7f6bfChristian MaederthatS = "that"
c04cc42aa672aa49b45005e6eed77cc80e0d6ae0Christian MaederrdfsLiteral :: String
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederrdfsLiteral = "Literal"
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederunsignedByteS :: String
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederunsignedByteS = "unsignedByte"
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederunsignedIntS :: String
f6cea53c107f81a3f3225481f1673452e29c555cChristian MaederunsignedIntS = "unsignedInt"
e78460372a77f994edf803c5ef8eb7858ed0e4fcChristian MaederunsignedLongS :: String
f6cea53c107f81a3f3225481f1673452e29c555cChristian MaederunsignedLongS = "unsignedLongS"
f6cea53c107f81a3f3225481f1673452e29c555cChristian MaederunsignedShortS :: String
85a0d4a81a58324c5e65d633e14f70361ea7f6bfChristian MaederunsignedShortS = "unsignedShort"
85a0d4a81a58324c5e65d633e14f70361ea7f6bfChristian MaedervalueS :: String
85a0d4a81a58324c5e65d633e14f70361ea7f6bfChristian MaedervalueS = "value"
b32596e241446281ecf820b277f5b85466f99821Christian MaederxorS :: String
85a0d4a81a58324c5e65d633e14f70361ea7f6bfChristian MaederdateTimeS :: String
85a0d4a81a58324c5e65d633e14f70361ea7f6bfChristian MaederdateTimeS = "dateTime"
85a0d4a81a58324c5e65d633e14f70361ea7f6bfChristian MaederdateTimeStampS :: String
85a0d4a81a58324c5e65d633e14f70361ea7f6bfChristian MaederdateTimeStampS = "dateTimeStamp"
85a0d4a81a58324c5e65d633e14f70361ea7f6bfChristian MaederanyURI :: String
85a0d4a81a58324c5e65d633e14f70361ea7f6bfChristian MaederanyURI = "anyURI"
85a0d4a81a58324c5e65d633e14f70361ea7f6bfChristian MaederxmlLiteral :: String
85a0d4a81a58324c5e65d633e14f70361ea7f6bfChristian MaederxmlLiteral = "XMLLiteral"
e78460372a77f994edf803c5ef8eb7858ed0e4fcChristian MaederncNameS :: String
e78460372a77f994edf803c5ef8eb7858ed0e4fcChristian MaederncNameS = "NCName"
85a0d4a81a58324c5e65d633e14f70361ea7f6bfChristian MaedernameS :: String
85a0d4a81a58324c5e65d633e14f70361ea7f6bfChristian MaedernameS = "Name"
81ae4270c8508e5e630e50923a2e790e7b1e5997Christian MaedernmTokenS :: String
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaedernmTokenS = "NMTOKEN"
51b1633dc0785a542da974fae21fa7d6622c934eChristian MaedertokenS :: String
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaedertokenS = "token"
1aa11f4e4b984f2a6d6ce9700cbe82283c8d196aChristian MaederlanguageS :: String
94e112d16f89130a688db8b03ad3224903f5e97eChristian MaederlanguageS = "language"
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaedernormalizedStringS :: String
1aa11f4e4b984f2a6d6ce9700cbe82283c8d196aChristian MaedernormalizedStringS = "normalizedString"
b32596e241446281ecf820b277f5b85466f99821Christian MaederthingS :: String
1aa11f4e4b984f2a6d6ce9700cbe82283c8d196aChristian MaederthingS = "Thing"
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaedernothingS :: String
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaedernothingS = "Nothing"
51b1633dc0785a542da974fae21fa7d6622c934eChristian MaedertopObjProp :: String
81ae4270c8508e5e630e50923a2e790e7b1e5997Christian MaedertopObjProp = "topObjectProperty"
51b1633dc0785a542da974fae21fa7d6622c934eChristian MaederbottomObjProp :: String
51b1633dc0785a542da974fae21fa7d6622c934eChristian MaederbottomObjProp = "bottomObjectProperty"
51b1633dc0785a542da974fae21fa7d6622c934eChristian MaedertopDataProp :: String
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaedertopDataProp = "topDataProperty"
829d8afeb5e83fca53b74dbe767b12c68f4f72f9Christian MaederbottomDataProp :: String
829d8afeb5e83fca53b74dbe767b12c68f4f72f9Christian MaederbottomDataProp = "bottomDataProperty"
829d8afeb5e83fca53b74dbe767b12c68f4f72f9Christian Maederlabel :: String
eac27c20d3f0f9cb50439b66d098f69981345889Christian Maederlabel = "label"
eac27c20d3f0f9cb50439b66d098f69981345889Christian Maedercomment :: String
829d8afeb5e83fca53b74dbe767b12c68f4f72f9Christian Maedercomment = "comment"
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederseeAlso :: String
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederseeAlso = "seeAlso"
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederisDefinedBy :: String
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederisDefinedBy = "isDefinedBy"
eac27c20d3f0f9cb50439b66d098f69981345889Christian Maederdeprecated :: String
eac27c20d3f0f9cb50439b66d098f69981345889Christian Maederdeprecated = "deprecated"
4bbd808612c2580ae6e0495a155997a6bb47ecf3Christian MaederversionInfo :: String
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederversionInfo = "versionInfo"
e78460372a77f994edf803c5ef8eb7858ed0e4fcChristian MaederpriorVersion :: String
e78460372a77f994edf803c5ef8eb7858ed0e4fcChristian MaederpriorVersion = "priorVersion"
e78460372a77f994edf803c5ef8eb7858ed0e4fcChristian MaederbackwardCompatibleWith :: String
2a5b885d9350ec6dd8bc4992ee91d2f68aa592f4Christian MaederbackwardCompatibleWith = "backwardCompatibleWith"
2a5b885d9350ec6dd8bc4992ee91d2f68aa592f4Christian MaederincompatibleWith :: String
927c80730bb3234ffbb6ca7ca6ce9cc041e59a6fChristian MaederincompatibleWith = "incompatibleWith"
e78460372a77f994edf803c5ef8eb7858ed0e4fcChristian MaederpredefClass :: [String]
e78460372a77f994edf803c5ef8eb7858ed0e4fcChristian MaederpredefClass = [thingS, nothingS]
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederpredefObjProp :: [String]
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederpredefObjProp = [topObjProp, bottomObjProp]
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederpredefDataProp :: [String]
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederpredefDataProp = [topDataProp, bottomDataProp]
51b1633dc0785a542da974fae21fa7d6622c934eChristian MaederpredefRDFSAnnoProps :: [String]
000650430ad06566c6d625e09d4ce739ccada491Christian MaederpredefRDFSAnnoProps = [label, comment, seeAlso, isDefinedBy]
000650430ad06566c6d625e09d4ce739ccada491Christian MaederpredefOWLAnnoProps :: [String]
000650430ad06566c6d625e09d4ce739ccada491Christian MaederpredefOWLAnnoProps = [deprecated, versionInfo, priorVersion,
000650430ad06566c6d625e09d4ce739ccada491Christian Maeder backwardCompatibleWith, incompatibleWith]
000650430ad06566c6d625e09d4ce739ccada491Christian MaederxsdNumbers :: [String]
000650430ad06566c6d625e09d4ce739ccada491Christian MaederxsdNumbers = [integerS, negativeIntegerS, nonNegativeIntegerS,
000650430ad06566c6d625e09d4ce739ccada491Christian Maeder nonPositiveIntegerS, positiveIntegerS, decimalS, doubleS, floatS,
000650430ad06566c6d625e09d4ce739ccada491Christian Maeder longS, intS, shortS, byteS, unsignedLongS, unsignedIntS, unsignedShortS,
51b1633dc0785a542da974fae21fa7d6622c934eChristian Maeder unsignedByteS]
000650430ad06566c6d625e09d4ce739ccada491Christian MaederowlNumbers :: [String]
000650430ad06566c6d625e09d4ce739ccada491Christian MaederowlNumbers = [realS, rationalS]
000650430ad06566c6d625e09d4ce739ccada491Christian MaederxsdStrings :: [String]
000650430ad06566c6d625e09d4ce739ccada491Christian MaederxsdStrings = [stringS, ncNameS, nameS, nmTokenS, tokenS, languageS,
000650430ad06566c6d625e09d4ce739ccada491Christian Maeder normalizedStringS]
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederxsdKeys :: [String]
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederxsdKeys = [booleanS, dATAS, hexBinaryS, base64BinaryS,
7aeb33d3af3230641a33c39b7e7ba546bb35b969Christian Maeder dateTimeS, dateTimeStampS, anyURI] ++ xsdNumbers ++ xsdStrings
7aeb33d3af3230641a33c39b7e7ba546bb35b969Christian MaedernonXSDKeys :: [String]
7aeb33d3af3230641a33c39b7e7ba546bb35b969Christian MaedernonXSDKeys = owlNumbers ++ [xmlLiteral, rdfsLiteral]
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederdatatypeKeys :: [String]
eac27c20d3f0f9cb50439b66d098f69981345889Christian MaederdatatypeKeys = xsdKeys ++ nonXSDKeys
eac27c20d3f0f9cb50439b66d098f69981345889Christian Maederdata DatatypeFacet =
c8ecc5578d32b222f35b625d4dfe7a3fd8bb4173Christian Maeder | MININCLUSIVE
c04cc42aa672aa49b45005e6eed77cc80e0d6ae0Christian Maeder | MINEXCLUSIVE
7aeb33d3af3230641a33c39b7e7ba546bb35b969Christian Maeder | MAXINCLUSIVE
cfb5b8ae84a762dd5104af0362e80e0c0cf7cec8Christian Maeder | MAXEXCLUSIVE
cfb5b8ae84a762dd5104af0362e80e0c0cf7cec8Christian Maeder | TOTALDIGITS
cfb5b8ae84a762dd5104af0362e80e0c0cf7cec8Christian Maeder | FRACTIONDIGITS
b32596e241446281ecf820b277f5b85466f99821Christian Maeder deriving (Show, Eq, Ord)
c8ecc5578d32b222f35b625d4dfe7a3fd8bb4173Christian MaedershowFacet :: DatatypeFacet -> String
7aeb33d3af3230641a33c39b7e7ba546bb35b969Christian MaedershowFacet df = case df of
c8ecc5578d32b222f35b625d4dfe7a3fd8bb4173Christian Maeder LENGTH -> lengthS
c8ecc5578d32b222f35b625d4dfe7a3fd8bb4173Christian Maeder MINLENGTH -> minLengthS
c8ecc5578d32b222f35b625d4dfe7a3fd8bb4173Christian Maeder MAXLENGTH -> maxLengthS
a208edf329751a734895216ad5b0e334a9ac6a44Christian Maeder PATTERN -> patternS
a208edf329751a734895216ad5b0e334a9ac6a44Christian Maeder LANGRANGE -> langRangeS
a208edf329751a734895216ad5b0e334a9ac6a44Christian Maeder MININCLUSIVE -> lessEq
a208edf329751a734895216ad5b0e334a9ac6a44Christian Maeder MINEXCLUSIVE -> lessS
a208edf329751a734895216ad5b0e334a9ac6a44Christian Maeder MAXINCLUSIVE -> greaterEq
a208edf329751a734895216ad5b0e334a9ac6a44Christian Maeder MAXEXCLUSIVE -> greaterS
a208edf329751a734895216ad5b0e334a9ac6a44Christian Maeder TOTALDIGITS -> digitsS
a208edf329751a734895216ad5b0e334a9ac6a44Christian Maeder FRACTIONDIGITS -> fractionS
a208edf329751a734895216ad5b0e334a9ac6a44Christian MaederfacetList :: [DatatypeFacet]
a208edf329751a734895216ad5b0e334a9ac6a44Christian MaederfacetList = [LENGTH, MINLENGTH, MAXLENGTH, PATTERN, LANGRANGE, MININCLUSIVE,
81ae4270c8508e5e630e50923a2e790e7b1e5997Christian Maeder MINEXCLUSIVE, MAXINCLUSIVE, MAXEXCLUSIVE, TOTALDIGITS, FRACTIONDIGITS]