@prefix : <https://w3id.org/isCharacterisedBy#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <https://w3id.org/isCharacterisedBy> .

<https://w3id.org/isCharacterisedBy> rdf:type owl:Ontology ;
                                      <http://creativecommons.org/ns#license> <https://creativecommons.org/licenses/by-nc/4.0/> ;
                                      <http://gbol.life/ontology/bibo#status> "published" ;
                                      <http://purl.org/dc/terms/bibliographicCitation> "Work in progress" ;
                                      <http://purl.org/dc/terms/contributor> """Izaskun Fernandez (Tekniker) 
Iban Quintana (Tekniker) 
Xana Fernandez (Tekniker)"""@en ;
                                      <http://purl.org/dc/terms/created> "2023-05-30" ;
                                      <http://purl.org/dc/terms/creator> "Patricia Casla (Tekniker)"@en ;
                                      <http://purl.org/dc/terms/description> "The goal of this ontology design pattern is to characterise a subject or group of subjects of interest by assigning qualifiable or quantifiable attributes or characteristics."@en ;
                                      <http://purl.org/dc/terms/issued> "2023-05-30" ;
                                      <http://purl.org/dc/terms/publisher> "Tekniker" ;
                                      <http://purl.org/dc/terms/title> "isCharacterisedBy ontology design pattern " ;
                                      <http://purl.org/vocab/vann/preferredNamespacePrefix> "icb" ;
                                      <http://purl.org/vocab/vann/preferredNamespaceUri> "https://w3id.org/isCharacterisedBy" ;
                                      owl:versionInfo 1.0 .

#################################################################
#    Annotation properties
#################################################################

###  http://creativecommons.org/ns#license
<http://creativecommons.org/ns#license> rdf:type owl:AnnotationProperty .


###  http://gbol.life/ontology/bibo#status
<http://gbol.life/ontology/bibo#status> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/bibliographicCitation
<http://purl.org/dc/terms/bibliographicCitation> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/contributor
<http://purl.org/dc/terms/contributor> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/created
<http://purl.org/dc/terms/created> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/creator
<http://purl.org/dc/terms/creator> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/description
<http://purl.org/dc/terms/description> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/issued
<http://purl.org/dc/terms/issued> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/publisher
<http://purl.org/dc/terms/publisher> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/title
<http://purl.org/dc/terms/title> rdf:type owl:AnnotationProperty .


###  http://purl.org/vocab/vann/preferredNamespacePrefix
<http://purl.org/vocab/vann/preferredNamespacePrefix> rdf:type owl:AnnotationProperty .


###  http://purl.org/vocab/vann/preferredNamespaceUri
<http://purl.org/vocab/vann/preferredNamespaceUri> rdf:type owl:AnnotationProperty .


###  http://www.w3.org/2002/07/owl#qualifiedCardinality
owl:qualifiedCardinality rdf:type owl:AnnotationProperty .


###  http://www.w3.org/2003/06/sw-vocab-status/ns#term_status
<http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> rdf:type owl:AnnotationProperty .


#################################################################
#    Object Properties
#################################################################

###  https://w3id.org/isCharacterisedBy#belongsTo
:belongsTo rdf:type owl:ObjectProperty ;
           owl:inverseOf :isGroupingOf ;
           rdfs:comment "Relationship between a member and the group it belongs to." ;
           rdfs:isDefinedBy "https://w3id.org/isCharacterisedBy" ;
           rdfs:label "belongsTo" ;
           <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "Testing" .


###  https://w3id.org/isCharacterisedBy#characterises
:characterises rdf:type owl:ObjectProperty ;
               owl:inverseOf :isCharacterisedBy ;
               rdfs:range :SubjectOfInterest ;
               rdfs:comment "Relationship between a Property and the SubjectOfInterest it characterises." ;
               rdfs:isDefinedBy "https://w3id.org/isCharacterisedBy" ;
               rdfs:label "characterises" ;
               <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "Testing" .


###  https://w3id.org/isCharacterisedBy#hasUnit
:hasUnit rdf:type owl:ObjectProperty ;
         owl:inverseOf :isUnitFor ;
         rdfs:range :Unit ;
         rdfs:comment "Relationship between a quantifiable property and a unit of measurement" ;
         rdfs:isDefinedBy "https://w3id.org/isCharacterisedBy" ;
         rdfs:label "hasUnit" ;
         <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "Testing" .


###  https://w3id.org/isCharacterisedBy#isCharacterisedBy
:isCharacterisedBy rdf:type owl:ObjectProperty ;
                   rdfs:domain :SubjectOfInterest ;
                   rdfs:comment "Relationship between a SubjectOfInterest and the Property that characterises it." ;
                   rdfs:isDefinedBy "https://w3id.org/isCharacterisedBy" ;
                   rdfs:label "isCharacterisedBy" ;
                   <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "Testing" .


###  https://w3id.org/isCharacterisedBy#isGroupingOf
:isGroupingOf rdf:type owl:ObjectProperty ;
              rdfs:comment "Relationship between a group and the members of such group. All the members of a group have the same charabterists or attributes." ;
              rdfs:isDefinedBy "https://w3id.org/isCharacterisedBy" ;
              rdfs:label "isGroupingOf" ;
              <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "Testing" .


###  https://w3id.org/isCharacterisedBy#isUnitFor
:isUnitFor rdf:type owl:ObjectProperty ;
           rdfs:domain :Unit ;
           rdfs:comment "Relationship between an unit and the property of which it is a unit of measurement." ;
           rdfs:isDefinedBy "https://w3id.org/isCharacterisedBy" ;
           rdfs:label "isUnitFor" ;
           <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "Testing" .


#################################################################
#    Data properties
#################################################################

###  http://purl.org/dc/terms/identifier
<http://purl.org/dc/terms/identifier> rdf:type owl:DatatypeProperty ;
                                      rdfs:comment "An unambiguous reference to the resource within a given context." ;
                                      rdfs:isDefinedBy "http://purl.org/dc/terms" ;
                                      rdfs:label "identifier" .


###  http://purl.org/dc/terms/title
<http://purl.org/dc/terms/title> rdf:type owl:DatatypeProperty .


###  https://w3id.org/isCharacterisedBy#maxValue
:maxValue rdf:type owl:DatatypeProperty ;
          rdfs:comment "Maximum permissible value." ;
          rdfs:isDefinedBy "https://w3id.org/isCharacterisedBy" ;
          rdfs:label "maxValue" ;
          <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "Testing" .


###  https://w3id.org/isCharacterisedBy#minValue
:minValue rdf:type owl:DatatypeProperty ;
          rdfs:comment "Minimun permissible value." ;
          rdfs:isDefinedBy "https://w3id.org/isCharacterisedBy" ;
          rdfs:label "minValue" ;
          <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "Testing" .


###  https://w3id.org/isCharacterisedBy#value
:value rdf:type owl:DatatypeProperty ;
       rdfs:comment "Specific value." ;
       rdfs:isDefinedBy "https://w3id.org/isCharacterisedBy" ;
       rdfs:label "value" ;
       <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "Testing" .


#################################################################
#    Classes
#################################################################

###  https://w3id.org/isCharacterisedBy#Property
:Property rdf:type owl:Class ;
          rdfs:subClassOf [ rdf:type owl:Restriction ;
                            owl:onProperty :hasUnit ;
                            owl:allValuesFrom :Unit
                          ] ,
                          [ rdf:type owl:Restriction ;
                            owl:onProperty :characterises ;
                            owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                            owl:onClass :SubjectOfInterest
                          ] ,
                          [ rdf:type owl:Restriction ;
                            owl:onProperty :hasUnit ;
                            owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                            owl:onClass :Unit
                          ] ,
                          [ rdf:type owl:Restriction ;
                            owl:onProperty :maxValue ;
                            owl:allValuesFrom xsd:double
                          ] ,
                          [ rdf:type owl:Restriction ;
                            owl:onProperty :minValue ;
                            owl:allValuesFrom xsd:double
                          ] ,
                          [ rdf:type owl:Restriction ;
                            owl:onProperty :value ;
                            owl:allValuesFrom xsd:double
                          ] ,
                          [ rdf:type owl:Restriction ;
                            owl:onProperty <http://purl.org/dc/terms/identifier> ;
                            owl:cardinality "1"^^xsd:nonNegativeInteger
                          ] ,
                          [ rdf:type owl:Restriction ;
                            owl:onProperty <http://purl.org/dc/terms/title> ;
                            owl:maxCardinality "1"^^xsd:nonNegativeInteger
                          ] ;
          rdfs:comment "Property is a qualifiable or quantifiable attribute, or characteristic of something. or somebody" ;
          rdfs:isDefinedBy "https://w3id.org/isCharacterisedBy" ;
          rdfs:label "Property" ;
          <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "Testing" .


###  https://w3id.org/isCharacterisedBy#SubjectOfInterest
:SubjectOfInterest rdf:type owl:Class ;
                   rdfs:subClassOf [ rdf:type owl:Restriction ;
                                     owl:onProperty :isCharacterisedBy ;
                                     owl:allValuesFrom :Property
                                   ] ,
                                   [ rdf:type owl:Restriction ;
                                     owl:onProperty :isGroupingOf ;
                                     owl:allValuesFrom :SubjectOfInterest
                                   ] ,
                                   [ rdf:type owl:Restriction ;
                                     owl:onProperty <http://purl.org/dc/terms/identifier> ;
                                     owl:cardinality "1"^^xsd:nonNegativeInteger
                                   ] ,
                                   [ rdf:type owl:Restriction ;
                                     owl:onProperty <http://purl.org/dc/terms/title> ;
                                     owl:maxCardinality "1"^^xsd:nonNegativeInteger
                                   ] ;
                   rdfs:comment "A subject of interest is an abstraction of a real world phenomena (thing, person, event, etc)." ;
                   rdfs:isDefinedBy "https://w3id.org/isCharacterisedBy" ;
                   rdfs:label "SubjectOfInterest" ;
                   <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "Testing" .


###  https://w3id.org/isCharacterisedBy#Unit
:Unit rdf:type owl:Class ;
      rdfs:comment "A reference to the unit of measure of a quantifiable aspect (attribute or characteristic)." ;
      rdfs:isDefinedBy "https://w3id.org/isCharacterisedBy" ;
      rdfs:label "Unit" ;
      <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "Testing" .


#################################################################
#    Annotations
#################################################################

<http://purl.org/dc/terms/title> rdfs:comment "A name given to the resource." ;
                                 rdfs:isDefinedBy "http://purl.org/dc/terms" ;
                                 rdfs:label "title" ;
                                 <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "" .


#################################################################
#    General axioms
#################################################################

[ rdf:type owl:AllDisjointClasses ;
  owl:members ( :Property
                :SubjectOfInterest
                :Unit
              )
] .


#################################################################
#    Rules
#################################################################

<urn:swrl:var#p> rdf:type <http://www.w3.org/2003/11/swrl#Variable> .

<urn:swrl:var#soi> rdf:type <http://www.w3.org/2003/11/swrl#Variable> .

<urn:swrl:var#soc> rdf:type <http://www.w3.org/2003/11/swrl#Variable> .

[ rdf:type <http://www.w3.org/2003/11/swrl#Imp> ;
   <http://www.w3.org/2003/11/swrl#body> [ rdf:type <http://www.w3.org/2003/11/swrl#AtomList> ;
                                           rdf:first [ rdf:type <http://www.w3.org/2003/11/swrl#ClassAtom> ;
                                                       <http://www.w3.org/2003/11/swrl#classPredicate> :Property ;
                                                       <http://www.w3.org/2003/11/swrl#argument1> <urn:swrl:var#p>
                                                     ] ;
                                           rdf:rest [ rdf:type <http://www.w3.org/2003/11/swrl#AtomList> ;
                                                      rdf:first [ rdf:type <http://www.w3.org/2003/11/swrl#ClassAtom> ;
                                                                  <http://www.w3.org/2003/11/swrl#classPredicate> :SubjectOfInterest ;
                                                                  <http://www.w3.org/2003/11/swrl#argument1> <urn:swrl:var#soi>
                                                                ] ;
                                                      rdf:rest [ rdf:type <http://www.w3.org/2003/11/swrl#AtomList> ;
                                                                 rdf:first [ rdf:type <http://www.w3.org/2003/11/swrl#IndividualPropertyAtom> ;
                                                                             <http://www.w3.org/2003/11/swrl#propertyPredicate> :isCharacterisedBy ;
                                                                             <http://www.w3.org/2003/11/swrl#argument1> <urn:swrl:var#soc> ;
                                                                             <http://www.w3.org/2003/11/swrl#argument2> <urn:swrl:var#p>
                                                                           ] ;
                                                                 rdf:rest [ rdf:type <http://www.w3.org/2003/11/swrl#AtomList> ;
                                                                            rdf:first [ rdf:type <http://www.w3.org/2003/11/swrl#ClassAtom> ;
                                                                                        <http://www.w3.org/2003/11/swrl#classPredicate> :SubjectOfInterest ;
                                                                                        <http://www.w3.org/2003/11/swrl#argument1> <urn:swrl:var#soc>
                                                                                      ] ;
                                                                            rdf:rest [ rdf:type <http://www.w3.org/2003/11/swrl#AtomList> ;
                                                                                       rdf:first [ rdf:type <http://www.w3.org/2003/11/swrl#IndividualPropertyAtom> ;
                                                                                                   <http://www.w3.org/2003/11/swrl#propertyPredicate> :belongsTo ;
                                                                                                   <http://www.w3.org/2003/11/swrl#argument1> <urn:swrl:var#soi> ;
                                                                                                   <http://www.w3.org/2003/11/swrl#argument2> <urn:swrl:var#soc>
                                                                                                 ] ;
                                                                                       rdf:rest rdf:nil
                                                                                     ]
                                                                          ]
                                                               ]
                                                    ]
                                         ] ;
   <http://www.w3.org/2003/11/swrl#head> [ rdf:type <http://www.w3.org/2003/11/swrl#AtomList> ;
                                           rdf:first [ rdf:type <http://www.w3.org/2003/11/swrl#IndividualPropertyAtom> ;
                                                       <http://www.w3.org/2003/11/swrl#propertyPredicate> :isCharacterisedBy ;
                                                       <http://www.w3.org/2003/11/swrl#argument1> <urn:swrl:var#soi> ;
                                                       <http://www.w3.org/2003/11/swrl#argument2> <urn:swrl:var#p>
                                                     ] ;
                                           rdf:rest rdf:nil
                                         ]
 ] .

###  Generated by the OWL API (version 5.1.11) https://github.com/owlcs/owlapi/
