LV2 subproject with meson
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

472 lines
9.1 KiB

  1. @prefix owl: <http://www.w3.org/2002/07/owl#> .
  2. @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
  3. @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
  4. @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
  5. xsd:
  6. a owl:Ontology ;
  7. rdfs:comment "XML Schema Datatypes" .
  8. xsd:anySimpleType
  9. a rdfs:Datatype .
  10. xsd:ENTITY
  11. a rdfs:Datatype ;
  12. owl:onDatatype xsd:NCName .
  13. xsd:ID
  14. a rdfs:Datatype ;
  15. owl:onDatatype xsd:NCName .
  16. xsd:IDREF
  17. a rdfs:Datatype ;
  18. owl:onDatatype xsd:NCName .
  19. xsd:NCName
  20. a rdfs:Datatype ;
  21. owl:onDatatype xsd:Name .
  22. xsd:NMTOKEN
  23. a rdfs:Datatype ;
  24. owl:onDatatype xsd:token .
  25. xsd:Name
  26. a rdfs:Datatype ;
  27. owl:onDatatype xsd:token .
  28. xsd:QName
  29. a rdfs:Datatype ;
  30. rdfs:label "XML qualified name" ;
  31. owl:onDatatype xsd:anySimpleType ;
  32. owl:withRestrictions (
  33. [
  34. xsd:whiteSpace "collapse"
  35. ]
  36. ) .
  37. xsd:anyURI
  38. a rdfs:Datatype ;
  39. rdfs:label "URI reference" ;
  40. owl:onDatatype xsd:anySimpleType ;
  41. owl:withRestrictions (
  42. [
  43. xsd:whiteSpace "collapse"
  44. ]
  45. ) .
  46. xsd:base64Binary
  47. a rdfs:Datatype ;
  48. rdfs:comment "Base64-encoded arbitrary binary data." ;
  49. rdfs:label "base64 binary" ;
  50. owl:onDatatype xsd:anySimpleType ;
  51. owl:withRestrictions (
  52. [
  53. xsd:pattern "(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?"
  54. ] [
  55. xsd:whiteSpace "collapse"
  56. ]
  57. ) .
  58. xsd:boolean
  59. a rdfs:Datatype ;
  60. rdfs:label "boolean" ;
  61. owl:onDatatype xsd:anySimpleType ;
  62. owl:withRestrictions (
  63. [
  64. xsd:pattern "(true|false)"
  65. ] [
  66. xsd:whiteSpace "collapse"
  67. ]
  68. ) .
  69. xsd:byte
  70. a rdfs:Datatype ;
  71. rdfs:label "byte" ;
  72. owl:onDatatype xsd:short ;
  73. owl:withRestrictions (
  74. [
  75. xsd:minInclusive -128
  76. ] [
  77. xsd:maxInclusive 127
  78. ]
  79. ) .
  80. xsd:date
  81. a rdfs:Datatype ;
  82. rdfs:label "date" ;
  83. owl:onDatatype xsd:anySimpleType ;
  84. owl:withRestrictions (
  85. [
  86. xsd:pattern "-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"
  87. ] [
  88. xsd:whiteSpace "collapse"
  89. ]
  90. ) .
  91. xsd:dateTime
  92. a rdfs:Datatype ;
  93. rdfs:label "date time" ;
  94. owl:onDatatype xsd:anySimpleType ;
  95. owl:withRestrictions (
  96. [
  97. xsd:pattern "-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?|(24:00:00(\\.0+)?))(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"
  98. ] [
  99. xsd:whiteSpace "collapse"
  100. ]
  101. ) .
  102. xsd:decimal
  103. a rdfs:Datatype ;
  104. rdfs:comment "A subset of the real numbers, which can be represented by decimal numerals." ;
  105. rdfs:label "decimal" ;
  106. owl:onDatatype xsd:anySimpleType ;
  107. owl:withRestrictions (
  108. [
  109. xsd:pattern "[+-]?[0-9]*\\.?[0-9]*"
  110. ] [
  111. xsd:whiteSpace "collapse"
  112. ]
  113. ) .
  114. xsd:double
  115. a rdfs:Datatype ;
  116. rdfs:comment "IEEE double-precision 64-bit floating point." ;
  117. rdfs:label "double" ;
  118. owl:onDatatype xsd:anySimpleType ;
  119. owl:withRestrictions (
  120. [
  121. xsd:pattern "[+-]?[0-9]*\\.?[0-9]*([eE][-+]?[0-9]+)?"
  122. ] [
  123. xsd:whiteSpace "collapse"
  124. ]
  125. ) .
  126. xsd:duration
  127. a rdfs:Datatype ;
  128. rdfs:label "duration" ;
  129. owl:onDatatype xsd:anySimpleType ;
  130. owl:withRestrictions (
  131. [
  132. xsd:whiteSpace "collapse"
  133. ]
  134. ) .
  135. xsd:float
  136. a rdfs:Datatype ;
  137. rdfs:comment "IEEE single-precision 32-bit floating point." ;
  138. rdfs:label "float" ;
  139. owl:onDatatype xsd:anySimpleType ;
  140. owl:withRestrictions (
  141. [
  142. xsd:pattern "[+-]?[0-9]*\\.?[0-9]*([eE][-+]?[0-9]+)?"
  143. ] [
  144. xsd:whiteSpace "collapse"
  145. ]
  146. ) .
  147. xsd:fractionDigits
  148. a rdf:Property ,
  149. owl:DatatypeProperty ;
  150. rdfs:comment "The total number of digits to the right of the decimal point required to represent a value." ;
  151. rdfs:label "fraction digits" ;
  152. rdfs:range xsd:nonNegativeInteger .
  153. xsd:gDay
  154. a rdfs:Datatype ;
  155. owl:onDatatype xsd:anySimpleType ;
  156. owl:withRestrictions (
  157. [
  158. xsd:whiteSpace "collapse"
  159. ]
  160. ) .
  161. xsd:gMonth
  162. a rdfs:Datatype ;
  163. owl:onDatatype xsd:anySimpleType ;
  164. owl:withRestrictions (
  165. [
  166. xsd:whiteSpace "collapse"
  167. ]
  168. ) .
  169. xsd:gMonthDay
  170. a rdfs:Datatype ;
  171. owl:onDatatype xsd:anySimpleType ;
  172. owl:withRestrictions (
  173. [
  174. xsd:whiteSpace "collapse"
  175. ]
  176. ) .
  177. xsd:gYear
  178. a rdfs:Datatype ;
  179. owl:onDatatype xsd:anySimpleType ;
  180. owl:withRestrictions (
  181. [
  182. xsd:whiteSpace "collapse"
  183. ]
  184. ) .
  185. xsd:gYearMonth
  186. a rdfs:Datatype ;
  187. owl:onDatatype xsd:anySimpleType ;
  188. owl:withRestrictions (
  189. [
  190. xsd:whiteSpace "collapse"
  191. ]
  192. ) .
  193. xsd:hexBinary
  194. a rdfs:Datatype ;
  195. rdfs:comment "Hex-encoded arbitrary binary data." ;
  196. rdfs:label "hex binary" ;
  197. owl:onDatatype xsd:anySimpleType ;
  198. owl:withRestrictions (
  199. [
  200. xsd:pattern "[0-9A-F]*"
  201. ] [
  202. xsd:whiteSpace "collapse"
  203. ]
  204. ) .
  205. xsd:int
  206. a rdfs:Datatype ;
  207. rdfs:label "int" ;
  208. owl:onDatatype xsd:long ;
  209. owl:withRestrictions (
  210. [
  211. xsd:minInclusive -2147483648
  212. ] [
  213. xsd:maxInclusive 2147483647
  214. ]
  215. ) .
  216. xsd:integer
  217. a rdfs:Datatype ;
  218. rdfs:label "integer" ;
  219. owl:onDatatype xsd:decimal ;
  220. owl:withRestrictions (
  221. [
  222. xsd:pattern "[-+]?[0-9]+"
  223. ] [
  224. xsd:fractionDigits 0
  225. ]
  226. ) .
  227. xsd:language
  228. a rdfs:Datatype ;
  229. rdfs:label "language" ;
  230. owl:onDatatype xsd:token ;
  231. owl:withRestrictions (
  232. [
  233. xsd:pattern "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*"
  234. ]
  235. ) .
  236. xsd:long
  237. a rdfs:Datatype ;
  238. rdfs:label "long" ;
  239. owl:onDatatype xsd:integer ;
  240. owl:withRestrictions (
  241. [
  242. xsd:minInclusive -9223372036854775808
  243. ] [
  244. xsd:maxInclusive 9223372036854775807
  245. ]
  246. ) .
  247. xsd:maxExclusive
  248. a rdf:Property ,
  249. owl:DatatypeProperty ;
  250. rdfs:comment "The exclusive upper bound of an ordered datatype." ;
  251. rdfs:label "max exclusive" .
  252. xsd:maxInclusive
  253. a rdf:Property ,
  254. owl:DatatypeProperty ;
  255. rdfs:comment "The inclusive upper bound of an ordered datatype." ;
  256. rdfs:label "max inclusive" .
  257. xsd:minExclusive
  258. a rdf:Property ,
  259. owl:DatatypeProperty ;
  260. rdfs:comment "The exclusive lower bound of an ordered datatype." ;
  261. rdfs:label "min exclusive" .
  262. xsd:minInclusive
  263. a rdf:Property ,
  264. owl:DatatypeProperty ;
  265. rdfs:comment "The inclusive lower bound of an ordered datatype." ;
  266. rdfs:label "min inclusive" .
  267. xsd:negativeInteger
  268. a rdfs:Datatype ;
  269. rdfs:label "negative integer" ;
  270. owl:onDatatype xsd:nonPositiveInteger ;
  271. owl:withRestrictions (
  272. [
  273. xsd:maxInclusive -1
  274. ]
  275. ) .
  276. xsd:nonNegativeInteger
  277. a rdfs:Datatype ;
  278. rdfs:label "non-negative integer" ;
  279. owl:onDatatype xsd:integer ;
  280. owl:withRestrictions (
  281. [
  282. xsd:pattern "[0-9]*"
  283. ] [
  284. xsd:minInclusive 0
  285. ]
  286. ) .
  287. xsd:nonPositiveInteger
  288. a rdfs:Datatype ;
  289. rdfs:label "non-positive integer" ;
  290. owl:onDatatype xsd:integer ;
  291. owl:withRestrictions (
  292. [
  293. xsd:pattern "(0|-[0-9]+)"
  294. ] [
  295. xsd:maxInclusive 0
  296. ]
  297. ) .
  298. xsd:normalizedString
  299. a rdfs:Datatype ;
  300. rdfs:comment "The set of strings that do not contain the carriage return (#xD), line feed (#xA) nor tab (#x9) characters." ;
  301. rdfs:label "normalized string" ;
  302. owl:onDatatype xsd:string ;
  303. owl:withRestrictions (
  304. [
  305. xsd:whiteSpace "replace"
  306. ]
  307. ) .
  308. xsd:pattern
  309. a rdf:Property ,
  310. owl:DatatypeProperty ;
  311. rdfs:comment "A regular expression that matches complete valid literals." ;
  312. rdfs:label "pattern" .
  313. xsd:whiteSpace
  314. a rdf:Property ,
  315. owl:DatatypeProperty ;
  316. rdfs:comment "A string that describes whitespace normalization for a string type." ;
  317. rdfs:label "white space" ;
  318. rdfs:range [
  319. a rdfs:Datatype ;
  320. owl:onDatatype xsd:string ;
  321. owl:withRestrictions (
  322. [
  323. xsd:pattern "(preserve|replace|collapse)"
  324. ]
  325. )
  326. ] .
  327. xsd:positiveInteger
  328. a rdfs:Datatype ;
  329. rdfs:label "positive integer" ;
  330. owl:onDatatype xsd:nonNegativeInteger ;
  331. owl:withRestrictions (
  332. [
  333. xsd:pattern "[+]?[0-9]+"
  334. ] [
  335. xsd:minInclusive 1
  336. ]
  337. ) .
  338. xsd:short
  339. a rdfs:Datatype ;
  340. rdfs:label "short" ;
  341. owl:onDatatype xsd:int ;
  342. owl:withRestrictions (
  343. [
  344. xsd:minInclusive -32768
  345. ] [
  346. xsd:maxInclusive 32767
  347. ]
  348. ) .
  349. xsd:string
  350. a rdfs:Datatype ;
  351. rdfs:comment "A character string." ;
  352. rdfs:label "string" ;
  353. owl:onDatatype xsd:anySimpleType ;
  354. owl:withRestrictions (
  355. [
  356. xsd:whiteSpace "preserve"
  357. ]
  358. ) .
  359. xsd:time
  360. a rdfs:Datatype ;
  361. rdfs:label "time" ;
  362. owl:onDatatype xsd:anySimpleType ;
  363. owl:withRestrictions (
  364. [
  365. xsd:pattern "[1-2][0-9]:[0-5][0-9]:[0-5][0-9].[0-9][0-9][0-9]"
  366. ] [
  367. xsd:whiteSpace "collapse"
  368. ]
  369. ) .
  370. xsd:token
  371. a rdfs:Datatype ;
  372. rdfs:comment "The set of strings that do not contain the carriage return (#xD), line feed (#xA) nor tab (#x9) characters, that have no leading or trailing spaces (#x20) and that have no internal sequences of two or more spaces." ;
  373. rdfs:label "token" ;
  374. owl:onDatatype xsd:normalizedString ;
  375. owl:withRestrictions (
  376. [
  377. xsd:whiteSpace "collapse"
  378. ]
  379. ) .
  380. xsd:totalDigits
  381. a rdf:Property ,
  382. owl:DatatypeProperty ;
  383. rdfs:comment "The maximum number of decimal digits required to represent a value." ;
  384. rdfs:label "total digits" ;
  385. rdfs:range xsd:positiveInteger .
  386. xsd:unsignedByte
  387. a rdfs:Datatype ;
  388. rdfs:label "unsigned byte" ;
  389. owl:onDatatype xsd:unsignedShort ;
  390. owl:withRestrictions (
  391. [
  392. xsd:maxInclusive 255
  393. ]
  394. ) .
  395. xsd:unsignedInt
  396. a rdfs:Datatype ;
  397. rdfs:label "unsigned int" ;
  398. owl:onDatatype xsd:unsignedLong ;
  399. owl:withRestrictions (
  400. [
  401. xsd:maxInclusive 4294967295
  402. ]
  403. ) .
  404. xsd:unsignedLong
  405. a rdfs:Datatype ;
  406. rdfs:label "unsigned long" ;
  407. owl:onDatatype xsd:nonNegativeInteger ;
  408. owl:withRestrictions (
  409. [
  410. xsd:maxInclusive 18446744073709551615
  411. ]
  412. ) .
  413. xsd:unsignedShort
  414. a rdfs:Datatype ;
  415. rdfs:label "unsigned short" ;
  416. owl:onDatatype xsd:unsignedInt ;
  417. owl:withRestrictions (
  418. [
  419. xsd:maxInclusive 65535
  420. ]
  421. ) .