diff --git a/ontology/uco-gufo.ttl b/ontology/uco-gufo.ttl index 871b9df..56650d7 100644 --- a/ontology/uco-gufo.ttl +++ b/ontology/uco-gufo.ttl @@ -40,6 +40,52 @@ drafting:Bearing rdfs:seeAlso ; . +drafting:BuildUtility + a + gufo:Category , + owl:Class + ; + rdfs:subClassOf uco-observable:Software ; + rdfs:isDefinedBy ; + owl:disjointWith + drafting:ServicePack , + drafting:Task , + uco-observable:Library , + uco-observable:OperatingSystem , + uco-observable:Process , + uco-observable:ProcessThread + ; + . + +drafting:Compiler + a + gufo:SubKind , + owl:Class + ; + rdfs:subClassOf + gufo:FunctionalComplex , + uco-observable:Software + ; + rdfs:isDefinedBy ; + owl:disjointWith + drafting:ServicePack , + drafting:Task , + uco-observable:Library , + uco-observable:OperatingSystem , + uco-observable:Process , + uco-observable:ProcessThread + ; + . + +drafting:DeploymentScript + a + gufo:SubKind , + owl:Class + ; + rdfs:subClassOf drafting:Script ; + rdfs:isDefinedBy ; + . + drafting:Endurant a owl:Class ; rdfs:subClassOf @@ -78,6 +124,63 @@ drafting:GeneralFacetType ; . +drafting:LinuxProcess + a + gufo:SubKind , + owl:Class + ; + rdfs:subClassOf uco-observable:Process ; + . + +drafting:LinuxService + a + gufo:SubKind , + owl:Class + ; + rdfs:subClassOf + drafting:LinuxProcess , + drafting:Service + ; + rdfs:isDefinedBy ; + . + +drafting:LinuxTask + a + gufo:SubKind , + owl:Class + ; + rdfs:subClassOf drafting:Task ; + rdfs:isDefinedBy ; + . + +drafting:LinuxThread + a + gufo:SubKind , + owl:Class + ; + rdfs:subClassOf uco-observable:ProcessThread ; + . + +drafting:Package + a + gufo:Category , + owl:Class + ; + rdfs:subClassOf + gufo:FunctionalComplex , + uco-observable:Software , + [ + a owl:Restriction ; + owl:onProperty [ + owl:inverse gufo:isComponentOf ; + ] ; + owl:onClass drafting:SoftwareBuild ; + owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ; + ] + ; + rdfs:isDefinedBy ; + . + drafting:Perdurant a owl:Class ; rdfs:subClassOf @@ -97,6 +200,65 @@ drafting:Quality rdfs:seeAlso ; . +drafting:Script + a + gufo:Kind , + owl:Class + ; + rdfs:subClassOf uco-observable:Software ; + rdfs:isDefinedBy ; + owl:disjointWith + drafting:Task , + uco-observable:Process , + uco-observable:ProcessThread + ; + . + +drafting:Service + a + gufo:Category , + owl:Class + ; + rdfs:subClassOf uco-observable:Process ; + rdfs:isDefinedBy ; + . + +drafting:ServicePack + a + gufo:Kind , + owl:Class + ; + rdfs:subClassOf drafting:Package ; + rdfs:isDefinedBy ; + owl:disjointWith + drafting:BuildUtility , + drafting:Compiler , + drafting:Task , + uco-observable:Application , + uco-observable:Library , + uco-observable:OperatingSystem , + uco-observable:Process , + uco-observable:ProcessThread + ; + . + +drafting:SoftwareBuild + a + gufo:Kind , + owl:Class + ; + rdfs:subClassOf + gufo:FunctionalComplex , + uco-observable:Software + ; + rdfs:isDefinedBy ; + owl:disjointWith + drafting:Task , + uco-observable:Process , + uco-observable:ProcessThread + ; + . + drafting:SpecificFacetType a owl:Class ; rdfs:subClassOf @@ -105,6 +267,28 @@ drafting:SpecificFacetType ; . +drafting:Task + a + gufo:Kind , + owl:Class + ; + rdfs:subClassOf uco-observable:Software ; + rdfs:isDefinedBy ; + owl:disjointWith + drafting:BuildUtility , + drafting:Compiler , + drafting:Script , + drafting:ServicePack , + drafting:SoftwareBuild , + uco-observable:Application , + uco-observable:Code , + uco-observable:Library , + uco-observable:OperatingSystem , + uco-observable:Process , + uco-observable:ProcessThread + ; + . + drafting:Vehicle a owl:Class ; rdfs:subClassOf uco-observable:Device ; @@ -305,10 +489,31 @@ uco-observable:AlternateDataStream ; . +uco-observable:Application + a gufo:Category ; + owl:disjointWith + drafting:ServicePack , + drafting:Task , + uco-observable:Library , + uco-observable:OperatingSystem , + uco-observable:Process , + uco-observable:ProcessThread + ; + . + uco-observable:BluetoothAddressFacet a drafting:SpecificFacetType ; . +uco-observable:Code + a gufo:Category ; + owl:disjointWith + drafting:Task , + uco-observable:Process , + uco-observable:ProcessThread + ; + . + uco-observable:Device rdfs:subClassOf drafting:Endurant , @@ -320,14 +525,103 @@ uco-observable:FileSystemObject a gufo:Category ; . +uco-observable:Library + a gufo:SubKind ; + owl:disjointWith + drafting:BuildUtility , + drafting:Compiler , + drafting:ServicePack , + drafting:Task , + uco-observable:Application , + uco-observable:OperatingSystem , + uco-observable:Process , + uco-observable:ProcessThread + ; + . + uco-observable:MACAddressFacet a drafting:GeneralFacetType ; . +uco-observable:OperatingSystem + a gufo:Kind ; + owl:disjointWith + drafting:BuildUtility , + drafting:Compiler , + drafting:ServicePack , + drafting:Task , + uco-observable:Application , + uco-observable:Library , + uco-observable:Process , + uco-observable:ProcessThread + ; + . + +uco-observable:Process + a gufo:Kind ; + owl:disjointWith + drafting:BuildUtility , + drafting:Compiler , + drafting:Script , + drafting:ServicePack , + drafting:SoftwareBuild , + drafting:Task , + uco-observable:Application , + uco-observable:Code , + uco-observable:Library , + uco-observable:OperatingSystem , + uco-observable:ProcessThread + ; + . + +uco-observable:ProcessThread + a gufo:Kind ; + owl:disjointWith + drafting:BuildUtility , + drafting:Compiler , + drafting:Script , + drafting:ServicePack , + drafting:SoftwareBuild , + drafting:Task , + uco-observable:Application , + uco-observable:Code , + uco-observable:Library , + uco-observable:OperatingSystem , + uco-observable:Process + ; + . + +uco-observable:Software + a gufo:Category ; + . + +uco-observable:WindowsService + a gufo:SubKind ; + rdfs:subClassOf drafting:Service ; + . + +uco-observable:WindowsTask + a gufo:SubKind ; + rdfs:subClassOf drafting:Task ; + . + +uco-observable:WindowsThread + a gufo:SubKind ; + rdfs:subClassOf uco-observable:ProcessThread ; + . + uco-types:Hash rdfs:subClassOf gufo:AbstractIndividual ; . +[] + a owl:Axiom ; + rdfs:comment "Mereologically, Package is comprised of multiple parts, including the distribution resource (/payload)."@en ; + owl:annotatedObject gufo:FunctionalComplex ; + owl:annotatedProperty rdfs:subClassOf ; + owl:annotatedSubject drafting:Package ; + . + [] a owl:Axiom ; rdfs:comment diff --git a/tests/Makefile b/tests/Makefile index acb2734..52b61fb 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -105,7 +105,7 @@ monolithic.ttl: \ > _$@ source $(top_srcdir)/venv/bin/activate \ && pyshacl \ - --shacl $(uco_srcdir)/ontology/owl/owl.ttl \ + --shacl _$@ \ _$@ # The monolithic build reviews itself, due to shapes pertaining to meta-classes. source $(top_srcdir)/venv/bin/activate \ diff --git a/tests/exemplars.ttl b/tests/exemplars.ttl index 5e7b9c5..e4704ff 100644 --- a/tests/exemplars.ttl +++ b/tests/exemplars.ttl @@ -63,6 +63,10 @@ kb:AnalyticResult-34fb92db-d576-45a7-9d62-dae04510968f a uco-analysis:AnalyticResult ; . +kb:Application-b1ccc498-d1ae-4101-a383-47fa1a1dcc54 + a uco-observable:Application ; + . + kb:Bearing-74c2bb20-1e4f-40ac-807e-bc2c528e39da a drafting:Bearing ; gufo:inheresIn kb:Vehicle-c7e910e8-4bed-473e-ad74-3df3eb63cbcc ; @@ -80,11 +84,23 @@ kb:BluetoothAddressFacet-717b8cce-e9c2-4d59-81e4-1747d7e2d8ee a uco-observable:BluetoothAddressFacet ; . +kb:BuildUtility-ecc20d36-1575-4d6b-adde-d22f3dd40cca + a drafting:BuildUtility ; + . + kb:Camera-1c9a2999-b34c-459b-b983-113c7b9e71df a uco-observable:Device ; rdfs:comment "A digital, non-phone camera."@en ; . +kb:Code-8a651185-47ff-4aea-94e9-b7995f1b24f8 + a uco-observable:Code ; + . + +kb:Compiler-7ae00fea-f392-4da5-9b07-ea0ee12e27ed + a drafting:Compiler ; + . + kb:ContentData-0571dfb7-889e-4e8c-bec7-47a62ab9286f a uco-observable:ContentData ; . @@ -102,6 +118,10 @@ kb:ContentDataFacet-a961d865-087b-43bd-ab31-0e33331c5628 a uco-observable:ContentDataFacet ; . +kb:DeploymentScript-6a4ce3a2-afbe-4680-9609-3b68af8965ff + a drafting:DeploymentScript ; + . + kb:Device-f28f07fa-0c36-486e-b957-750d183e5851 a uco-observable:Device ; rdfs:comment "A subject device that was photographed."@en ; @@ -149,6 +169,22 @@ kb:Interval-336d4db4-727e-4694-8bf0-5902c6ae504f time:inside kb:Instant-2918592a-9d87-4b30-acbc-521a19f97fcd ; . +kb:Library:bc578b6e-db2d-4b5f-8108-137fe081573f + a uco-observable:Library ; + . + +kb:LinuxService-971020ef-07cd-4005-977c-b31c56789aca + a drafting:LinuxService ; + . + +kb:LinuxTask-45f8dd65-afee-4f48-8d4c-886b5d53cfa3 + a drafting:LinuxTask ; + . + +kb:LinuxThread-28b71acf-ac8e-40af-b573-56f2c2d00a1f + a drafting:LinuxThread ; + . + kb:Location-c39f5c70-ba6d-44a1-8c6c-426b0372eade a uco-location:Location ; . @@ -157,10 +193,18 @@ kb:MACAddressFacet-3b25d05e-a3b0-4828-8b6d-1e08f4d4264f a uco-observable:MACAddressFacet ; . +kb:OperatingSystem-78388f2c-305a-4f9c-8fd5-2ba98d987b11 + a uco-observable:OperatingSystem ; + . + kb:Organization-3b542161-47e1-40cd-a1b1-e1b9d07af81f a uco-identity:Organization ; . +kb:Package-ed1cf421-2ecc-43d8-a1b8-daaec4f8021b + a drafting:Package ; + . + kb:Person-0c9728af-7f52-400e-9861-72cd11f6966a a uco-identity:Person ; . @@ -173,6 +217,10 @@ kb:Person-ee7130a7-0fec-48df-8312-4da1a214bd59 a uco-identity:Person ; . +kb:ProcessThread-f400eeb2-b83f-4a52-9d1a-dcc9cae0da2e + a uco-observable:ProcessThread ; + . + kb:Quality-4b765c1f-362c-4562-a50f-7bb781fe4737 a drafting:Quality ; gufo:hasReifiedQualityValue kb:Hash-4c3d0623-d365-4c69-a1a1-01523c6502fa ; @@ -203,6 +251,14 @@ kb:Relationship-2be6b54a-a051-499c-9dcd-63d17d813293 uco-core:target kb:ContentData-3f13e43a-a3f4-4dcc-8db2-e934b24890ec ; . +kb:ServicePack-fbdc96ef-b634-4869-8cd6-b23d31ff5b18 + a drafting:ServicePack ; + . + +kb:SoftwareBuild-35bf4562-2539-4c7f-a4f5-95865c6f81fa + a drafting:SoftwareBuild ; + . + kb:Vehicle-c7e910e8-4bed-473e-ad74-3df3eb63cbcc a drafting:Vehicle ; gufo:standsInQualifiedAttribution @@ -216,3 +272,15 @@ kb:Velocity-62bc6232-b570-45d7-b382-d4e0a36fceb9 gufo:inheresIn kb:Vehicle-c7e910e8-4bed-473e-ad74-3df3eb63cbcc ; . +kb:WindowsService-ba5cfea3-b6f8-474d-8130-053b752cbc8c + a uco-observable:WindowsService ; + . + +kb:WindowsTask-1148ebc4-750b-43f8-a17d-6ba239f62ae7 + a uco-observable:WindowsTask ; + . + +kb:WindowsThread-aa892ff7-ffd9-4269-89ab-79470813ab88 + a uco-observable:WindowsThread ; + . +