From 1056214695591e5cfe30980980aa1fa81e3f8e87 Mon Sep 17 00:00:00 2001 From: Cameron More <123985185+cameronmore@users.noreply.github.com> Date: Mon, 5 Aug 2024 18:16:18 -0400 Subject: [PATCH 1/2] asserted 'has value' data property and added definitions --- InformationEntityOntology.ttl | 26 ++++++++++++++++++++++++-- ModalRelationOntology.ttl | 24 +++++++++++++++++++++++- 2 files changed, 47 insertions(+), 3 deletions(-) diff --git a/InformationEntityOntology.ttl b/InformationEntityOntology.ttl index e05f625a..2bd14b01 100644 --- a/InformationEntityOntology.ttl +++ b/InformationEntityOntology.ttl @@ -385,68 +385,90 @@ cco:uses_time_zone_identifier rdf:type owl:ObjectProperty ; ### http://www.ontologyrepository.com/CommonCoreOntologies/has_URI_value cco:has_URI_value rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf cco:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:anyURI ; + cco:definition "A data property that has as its range a URI value."@en ; cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/InformationEntityOntology"^^xsd:anyURI ; rdfs:label "has URI value"@en . ### http://www.ontologyrepository.com/CommonCoreOntologies/has_boolean_value cco:has_boolean_value rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf cco:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:boolean ; + cco:definition "A data property that has as its range a boolean value."@en ; cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/InformationEntityOntology"^^xsd:anyURI ; rdfs:label "has boolean value"@en . ### http://www.ontologyrepository.com/CommonCoreOntologies/has_date_value cco:has_date_value rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf cco:has_value ; rdfs:domain cco:InformationBearingEntity ; + cco:definition "A data property that has as its range a date value."@en ; cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/InformationEntityOntology"^^xsd:anyURI ; rdfs:label "has date value"@en . ### http://www.ontologyrepository.com/CommonCoreOntologies/has_datetime_value cco:has_datetime_value rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf cco:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:dateTime ; + cco:definition "A data property that has as its value a datetime value."@en ; cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/InformationEntityOntology"^^xsd:anyURI ; rdfs:label "has datetime value"@en . ### http://www.ontologyrepository.com/CommonCoreOntologies/has_decimal_value cco:has_decimal_value rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf cco:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:decimal ; + cco:definition "A data property that has as its range a decimal value."@en ; cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/InformationEntityOntology"^^xsd:anyURI ; rdfs:label "has decimal value"@en . ### http://www.ontologyrepository.com/CommonCoreOntologies/has_double_value cco:has_double_value rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf cco:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:double ; + cco:definition "A data property that has as its range a double value."@en ; cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/InformationEntityOntology"^^xsd:anyURI ; rdfs:label "has double value"@en . ### http://www.ontologyrepository.com/CommonCoreOntologies/has_integer_value cco:has_integer_value rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf cco:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:integer ; + cco:definition "A data property that has as its range an integer value."@en ; cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/InformationEntityOntology"^^xsd:anyURI ; rdfs:label "has integer value"@en . ### http://www.ontologyrepository.com/CommonCoreOntologies/has_text_value cco:has_text_value rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf cco:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:string ; - cco:definition "A relationship between an Information Bearing Entity and a string representation."@en ; + cco:definition "A data property that has as its range a string value."@en ; cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/InformationEntityOntology"^^xsd:anyURI ; rdfs:label "has text value"@en . +### http://www.ontologyrepository.com/CommonCoreOntologies/has_value +cco:has_value rdf:type owl:DatatypeProperty ; + cco:definition "A data property that has a range of some data value."@en ; + cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/InformationEntityOntology"^^xsd:anyURI ; + rdfs:label "has value"@en . + + ################################################################# # Classes ################################################################# @@ -2203,4 +2225,4 @@ cco:ZuluTimeZone rdf:type owl:NamedIndividual , rdfs:label "Zulu Time Zone"@en . -### Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi +### Generated by the OWL API (version 4.5.25.2023-02-15T19:15:49Z) https://github.com/owlcs/owlapi diff --git a/ModalRelationOntology.ttl b/ModalRelationOntology.ttl index 644b8917..bacca893 100644 --- a/ModalRelationOntology.ttl +++ b/ModalRelationOntology.ttl @@ -2805,8 +2805,10 @@ mro:asWKT rdf:type owl:DatatypeProperty ; ### http://www.ontologyrepository.com/CommonCoreOntologies/ModalRelationOntology/has_URI_value mro:has_URI_value rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf mro:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:anyURI ; + cco:definition "A data property that has as its range a URI value."@en ; cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/ModalRelationOntology" ; rdfs:label "has URI value"@en . @@ -2821,47 +2823,59 @@ mro:has_altitude_value rdf:type owl:DatatypeProperty ; ### http://www.ontologyrepository.com/CommonCoreOntologies/ModalRelationOntology/has_boolean_value mro:has_boolean_value rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf mro:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:boolean ; + cco:definition "A data property that has as its range a boolean value."@en ; cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/ModalRelationOntology" ; rdfs:label "has boolean value"@en . ### http://www.ontologyrepository.com/CommonCoreOntologies/ModalRelationOntology/has_date_value mro:has_date_value rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf mro:has_value ; rdfs:domain cco:InformationBearingEntity ; + cco:definition "A data property that has as its range a date value."@en ; cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/ModalRelationOntology" ; rdfs:label "has date value"@en . ### http://www.ontologyrepository.com/CommonCoreOntologies/ModalRelationOntology/has_datetime_value mro:has_datetime_value rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf mro:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:dateTime ; + cco:definition "A data property that has as its value a datetime value."@en ; cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/ModalRelationOntology" ; rdfs:label "has datetime value"@en . ### http://www.ontologyrepository.com/CommonCoreOntologies/ModalRelationOntology/has_decimal_value mro:has_decimal_value rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf mro:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:decimal ; + cco:definition "A data property that has as its range a decimal value."@en ; cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/ModalRelationOntology" ; rdfs:label "has decimal value"@en . ### http://www.ontologyrepository.com/CommonCoreOntologies/ModalRelationOntology/has_double_value mro:has_double_value rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf mro:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:double ; + cco:definition "A data property that has as its range a double value."@en ; cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/ModalRelationOntology" ; rdfs:label "has double value"@en . ### http://www.ontologyrepository.com/CommonCoreOntologies/ModalRelationOntology/has_integer_value mro:has_integer_value rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf mro:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:integer ; + cco:definition "A data property that has as its range an integer value."@en ; cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/ModalRelationOntology" ; rdfs:label "has integer value"@en . @@ -2884,13 +2898,21 @@ mro:has_longitude_value rdf:type owl:DatatypeProperty ; ### http://www.ontologyrepository.com/CommonCoreOntologies/ModalRelationOntology/has_text_value mro:has_text_value rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf mro:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:string ; - cco:definition "A relationship between an Information Bearing Entity and a string representation."@en ; + cco:definition "A data property that has as its range a string value."@en ; cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/ModalRelationOntology" ; rdfs:label "has text value"@en . +### http://www.ontologyrepository.com/CommonCoreOntologies/ModalRelationOntology/has_value +mro:has_value rdf:type owl:DatatypeProperty ; + cco:definition "A data property that has a range of some data value."@en ; + cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/ModalRelationOntology" ; + rdfs:label "has value"@en . + + ######################################### ### Class stubs to make Protege play nice ######################################### From 06095f84a0e808701a50812206411ae5eacc8d5d Mon Sep 17 00:00:00 2001 From: Cameron More <123985185+cameronmore@users.noreply.github.com> Date: Tue, 6 Aug 2024 10:39:51 -0400 Subject: [PATCH 2/2] removed reference to has_value and expanded range of has_text_value re #188 --- InformationEntityOntology.ttl | 21 +++++---------------- ModalRelationOntology.ttl | 21 +++++---------------- 2 files changed, 10 insertions(+), 32 deletions(-) diff --git a/InformationEntityOntology.ttl b/InformationEntityOntology.ttl index 2bd14b01..4549d893 100644 --- a/InformationEntityOntology.ttl +++ b/InformationEntityOntology.ttl @@ -385,7 +385,6 @@ cco:uses_time_zone_identifier rdf:type owl:ObjectProperty ; ### http://www.ontologyrepository.com/CommonCoreOntologies/has_URI_value cco:has_URI_value rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf cco:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:anyURI ; cco:definition "A data property that has as its range a URI value."@en ; @@ -395,7 +394,6 @@ cco:has_URI_value rdf:type owl:DatatypeProperty ; ### http://www.ontologyrepository.com/CommonCoreOntologies/has_boolean_value cco:has_boolean_value rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf cco:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:boolean ; cco:definition "A data property that has as its range a boolean value."@en ; @@ -405,7 +403,6 @@ cco:has_boolean_value rdf:type owl:DatatypeProperty ; ### http://www.ontologyrepository.com/CommonCoreOntologies/has_date_value cco:has_date_value rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf cco:has_value ; rdfs:domain cco:InformationBearingEntity ; cco:definition "A data property that has as its range a date value."@en ; cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/InformationEntityOntology"^^xsd:anyURI ; @@ -414,7 +411,6 @@ cco:has_date_value rdf:type owl:DatatypeProperty ; ### http://www.ontologyrepository.com/CommonCoreOntologies/has_datetime_value cco:has_datetime_value rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf cco:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:dateTime ; cco:definition "A data property that has as its value a datetime value."@en ; @@ -424,7 +420,6 @@ cco:has_datetime_value rdf:type owl:DatatypeProperty ; ### http://www.ontologyrepository.com/CommonCoreOntologies/has_decimal_value cco:has_decimal_value rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf cco:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:decimal ; cco:definition "A data property that has as its range a decimal value."@en ; @@ -434,7 +429,6 @@ cco:has_decimal_value rdf:type owl:DatatypeProperty ; ### http://www.ontologyrepository.com/CommonCoreOntologies/has_double_value cco:has_double_value rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf cco:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:double ; cco:definition "A data property that has as its range a double value."@en ; @@ -444,7 +438,6 @@ cco:has_double_value rdf:type owl:DatatypeProperty ; ### http://www.ontologyrepository.com/CommonCoreOntologies/has_integer_value cco:has_integer_value rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf cco:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:integer ; cco:definition "A data property that has as its range an integer value."@en ; @@ -454,21 +447,17 @@ cco:has_integer_value rdf:type owl:DatatypeProperty ; ### http://www.ontologyrepository.com/CommonCoreOntologies/has_text_value cco:has_text_value rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf cco:has_value ; rdfs:domain cco:InformationBearingEntity ; - rdfs:range xsd:string ; + rdfs:range [ rdf:type rdfs:Datatype ; + owl:unionOf ( rdf:langString + xsd:string + ) + ] ; cco:definition "A data property that has as its range a string value."@en ; cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/InformationEntityOntology"^^xsd:anyURI ; rdfs:label "has text value"@en . -### http://www.ontologyrepository.com/CommonCoreOntologies/has_value -cco:has_value rdf:type owl:DatatypeProperty ; - cco:definition "A data property that has a range of some data value."@en ; - cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/InformationEntityOntology"^^xsd:anyURI ; - rdfs:label "has value"@en . - - ################################################################# # Classes ################################################################# diff --git a/ModalRelationOntology.ttl b/ModalRelationOntology.ttl index bacca893..14f0287f 100644 --- a/ModalRelationOntology.ttl +++ b/ModalRelationOntology.ttl @@ -2805,7 +2805,6 @@ mro:asWKT rdf:type owl:DatatypeProperty ; ### http://www.ontologyrepository.com/CommonCoreOntologies/ModalRelationOntology/has_URI_value mro:has_URI_value rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf mro:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:anyURI ; cco:definition "A data property that has as its range a URI value."@en ; @@ -2823,7 +2822,6 @@ mro:has_altitude_value rdf:type owl:DatatypeProperty ; ### http://www.ontologyrepository.com/CommonCoreOntologies/ModalRelationOntology/has_boolean_value mro:has_boolean_value rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf mro:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:boolean ; cco:definition "A data property that has as its range a boolean value."@en ; @@ -2833,7 +2831,6 @@ mro:has_boolean_value rdf:type owl:DatatypeProperty ; ### http://www.ontologyrepository.com/CommonCoreOntologies/ModalRelationOntology/has_date_value mro:has_date_value rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf mro:has_value ; rdfs:domain cco:InformationBearingEntity ; cco:definition "A data property that has as its range a date value."@en ; cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/ModalRelationOntology" ; @@ -2842,7 +2839,6 @@ mro:has_date_value rdf:type owl:DatatypeProperty ; ### http://www.ontologyrepository.com/CommonCoreOntologies/ModalRelationOntology/has_datetime_value mro:has_datetime_value rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf mro:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:dateTime ; cco:definition "A data property that has as its value a datetime value."@en ; @@ -2852,7 +2848,6 @@ mro:has_datetime_value rdf:type owl:DatatypeProperty ; ### http://www.ontologyrepository.com/CommonCoreOntologies/ModalRelationOntology/has_decimal_value mro:has_decimal_value rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf mro:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:decimal ; cco:definition "A data property that has as its range a decimal value."@en ; @@ -2862,7 +2857,6 @@ mro:has_decimal_value rdf:type owl:DatatypeProperty ; ### http://www.ontologyrepository.com/CommonCoreOntologies/ModalRelationOntology/has_double_value mro:has_double_value rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf mro:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:double ; cco:definition "A data property that has as its range a double value."@en ; @@ -2872,7 +2866,6 @@ mro:has_double_value rdf:type owl:DatatypeProperty ; ### http://www.ontologyrepository.com/CommonCoreOntologies/ModalRelationOntology/has_integer_value mro:has_integer_value rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf mro:has_value ; rdfs:domain cco:InformationBearingEntity ; rdfs:range xsd:integer ; cco:definition "A data property that has as its range an integer value."@en ; @@ -2898,21 +2891,17 @@ mro:has_longitude_value rdf:type owl:DatatypeProperty ; ### http://www.ontologyrepository.com/CommonCoreOntologies/ModalRelationOntology/has_text_value mro:has_text_value rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf mro:has_value ; rdfs:domain cco:InformationBearingEntity ; - rdfs:range xsd:string ; + rdfs:range [ rdf:type rdfs:Datatype ; + owl:unionOf ( rdf:langString + xsd:string + ) + ] ; cco:definition "A data property that has as its range a string value."@en ; cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/ModalRelationOntology" ; rdfs:label "has text value"@en . -### http://www.ontologyrepository.com/CommonCoreOntologies/ModalRelationOntology/has_value -mro:has_value rdf:type owl:DatatypeProperty ; - cco:definition "A data property that has a range of some data value."@en ; - cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/ModalRelationOntology" ; - rdfs:label "has value"@en . - - ######################################### ### Class stubs to make Protege play nice #########################################