From d8afa8e6fb18597775e8680b6af3c4a0c99fe4c0 Mon Sep 17 00:00:00 2001 From: Alex Nelson Date: Tue, 5 Mar 2024 15:10:41 -0500 Subject: [PATCH] Apply EndurantType hierarchy for Qualities of vehicle example No effects were observed on Make-managed files. References: * https://github.com/ucoProject/UCO/issues/567 Signed-off-by: Alex Nelson --- ontology/uco-gufo.ttl | 25 ++++++++++++++++++++ tests/exemplars.ttl | 55 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/ontology/uco-gufo.ttl b/ontology/uco-gufo.ttl index ffd81f0..fa2bd51 100644 --- a/ontology/uco-gufo.ttl +++ b/ontology/uco-gufo.ttl @@ -9,6 +9,7 @@ @prefix uco-action: . @prefix uco-core: . @prefix uco-identity: . +@prefix uco-observable: . @prefix uco-types: . @prefix xsd: . @@ -20,6 +21,15 @@ ; . +drafting:Bearing + a + gufo:Kind , + owl:Class + ; + rdfs:subClassOf drafting:Quality ; + rdfs:seeAlso ; + . + drafting:Endurant a owl:Class ; rdfs:subClassOf @@ -48,6 +58,21 @@ drafting:Quality rdfs:seeAlso ; . +drafting:Vehicle + a owl:Class ; + rdfs:subClassOf uco-observable:Device ; + rdfs:seeAlso ; + . + +drafting:Velocity + a + gufo:Kind , + owl:Class + ; + rdfs:subClassOf drafting:Quality ; + rdfs:seeAlso ; + . + uco-action:Action rdfs:subClassOf drafting:Perdurant ; . diff --git a/tests/exemplars.ttl b/tests/exemplars.ttl index 7665e7f..94c7027 100644 --- a/tests/exemplars.ttl +++ b/tests/exemplars.ttl @@ -6,6 +6,7 @@ @prefix owl: . @prefix rdf: . @prefix rdfs: . +@prefix time: . @prefix uco-action: . @prefix uco-core: . @prefix uco-identity: . @@ -28,6 +29,11 @@ kb:Action-13c91d40-9ca0-4558-81a1-4f7db888c371 gufo:hasEndPointInXSDDateTimeStamp "2021-02-03T04:05:06Z"^^xsd:dateTimeStamp ; . +kb:Bearing-74c2bb20-1e4f-40ac-807e-bc2c528e39da + a drafting:Bearing ; + gufo:inheresIn kb:Vehicle-c7e910e8-4bed-473e-ad74-3df3eb63cbcc ; + . + kb:ContentData-179c7e84-f72d-47f7-b6f3-3f4a1f0938bd a uco-observable:ContentData ; . @@ -49,6 +55,26 @@ kb:Hash-4c3d0623-d365-4c69-a1a1-01523c6502fa uco-types:hashValue "da39a3ee5e6b4b0d3255bfef95601890afd80709"^^xsd:hexBinary ; . +kb:Instant-24d2c5f3-d194-4db9-972a-9472c267d047 + a time:Instant ; + . + +kb:Instant-2918592a-9d87-4b30-acbc-521a19f97fcd + a time:Instant ; + time:inXSDDateTimeStamp "2023-11-22T15:30:00Z"^^xsd:dateTimeStamp ; + . + +kb:Instant-c9ae3fce-ddcb-416b-971b-559c2f5bee95 + a time:Instant ; + . + +kb:Interval-336d4db4-727e-4694-8bf0-5902c6ae504f + a time:Interval ; + time:hasBeginning kb:Instant-24d2c5f3-d194-4db9-972a-9472c267d047 ; + time:hasEnd kb:Instant-c9ae3fce-ddcb-416b-971b-559c2f5bee95 ; + time:inside kb:Instant-2918592a-9d87-4b30-acbc-521a19f97fcd ; + . + kb:Organization-3b542161-47e1-40cd-a1b1-e1b9d07af81f a uco-identity:Organization ; . @@ -63,3 +89,32 @@ kb:Quality-4b765c1f-362c-4562-a50f-7bb781fe4737 gufo:inheresIn kb:ContentData-179c7e84-f72d-47f7-b6f3-3f4a1f0938bd ; . +kb:QualityValueAttributionSituation-3ec99074-3cd1-4d24-a2c0-2339850ab9d2 + a gufo:QualityValueAttributionSituation ; + gufo:concernsQualityType drafting:Bearing ; + gufo:concernsQualityValue "90 degrees" ; + gufo:hasBeginPoint kb:Instant-24d2c5f3-d194-4db9-972a-9472c267d047 ; + gufo:hasEndPoint kb:Instant-c9ae3fce-ddcb-416b-971b-559c2f5bee95 ; + . + +kb:QualityValueAttributionSituation-872b7dd1-b49a-4278-bfdf-df507493d63f + a gufo:QualityValueAttributionSituation ; + gufo:concernsQualityType drafting:Velocity ; + gufo:concernsQualityValue "50 km/h" ; + gufo:hasBeginPoint kb:Instant-24d2c5f3-d194-4db9-972a-9472c267d047 ; + gufo:hasEndPoint kb:Instant-c9ae3fce-ddcb-416b-971b-559c2f5bee95 ; + . + +kb:Velocity-62bc6232-b570-45d7-b382-d4e0a36fceb9 + a drafting:Velocity ; + gufo:inheresIn kb:Vehicle-c7e910e8-4bed-473e-ad74-3df3eb63cbcc ; + . + +kb:Vehicle-c7e910e8-4bed-473e-ad74-3df3eb63cbcc + a drafting:Vehicle ; + gufo:standsInQualifiedAttribution + kb:QualityValueAttributionSituation-3ec99074-3cd1-4d24-a2c0-2339850ab9d2 , + kb:QualityValueAttributionSituation-872b7dd1-b49a-4278-bfdf-df507493d63f + ; + . +