# Copyright 2018 École des Mines de Saint-Étienne.
# 
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#      http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing,
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

@prefix az: <http://zimmer.aprilfoolsreview.com/antoine#> .
@prefix dc: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix max: <http://maxime-lefrancois.info/me#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix lindt: <http://w3id.org/lindt/voc#> .

@base <http://w3id.org/lindt/> .

@prefix cdt: <https://w3id.org/cdt/> .

<custom_datatypes> a foaf:Document ;
  dc:creator max: , az:me ;
  dc:modified  "2015-04-24T15:42:42+02:00"^^xsd:dateTimeStamp ;
  dc:modified  "2016-08-25T17:26:00+01:00"^^xsd:dateTimeStamp ;
  dc:modified  "2018-03-14T19:52:00+01:00"^^xsd:dateTimeStamp ;
  dc:modified  "2018-03-20T15:42:42+01:00"^^xsd:dateTimeStamp ;
  dc:modified "2021-07-19T14:58:00+01:00"^^xsd:dateTimeStamp .

<custom_datatypes.html> a foaf:Document;
  dc:creator  max:;
  dc:modified  "2016-04-22T10:42:42+02:00"^^xsd:dateTimeStamp ;
  dc:modified  "2018-03-14T19:52:00+01:00"^^xsd:dateTimeStamp ;
  dc:modified  "2018-03-20T15:42:42+01:00"^^xsd:dateTimeStamp ;
  dc:modified "2021-07-19T14:58:00+01:00"^^xsd:dateTimeStamp .
 
<custom_datatypes.ttl> a foaf:Document;
  dc:creator max: , az:me ;
  dc:modified  "2015-04-24T15:42:42+02:00"^^xsd:dateTimeStamp ;
  dc:modified  "2016-08-25T17:26:00+01:00"^^xsd:dateTimeStamp ;
  dc:modified  "2018-03-15T13:46:00+01:00"^^xsd:dateTimeStamp ;
  dc:modified  "2018-03-20T15:42:42+01:00"^^xsd:dateTimeStamp ;
  dc:modified "2021-07-19T14:58:00+01:00"^^xsd:dateTimeStamp .


cdt:ucum  a  lindt:Datatype , rdfs:Datatype ;
    rdfs:subClassOf  rdfs:Literal;
    rdfs:label  "ucum"@en ;
    rdfs:seeAlso  <custom_datatypes.html> ;
    rdfs:isDefinedBy  <custom_datatypes>;
    rdfs:comment  """Datatype to encode measurements in a simple literal. 

Lexical space is the Concatenation of the lexical form of an xsd:decimal, optionally followed by e or E and the lexical form of an xsd:integer, at least one space, and a unit expression constructed using The Unified Code for Units of Measure code system.

Value space is the set of pairs (v, u) such that v is a real number and u is any unit with magnitude 1 regarding the base units of Section 4.2 of [UCUM].


The first part of the lexical form defines a number v = m × 10e where m is represented by the mandatory xsd:decimal and e is represented by the optional xsd:integer, or equal to 0 if omitted. The second part of the lexical form defines a unit u = r·b where r is the magnitude of u regarding the base units of Section 4.2 of [UCUM]. The lexical-to-value mapping maps the lexical form to the pair (v × r, b)."""@en .
