-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disallow subclasses of core:UcoObject and co:Collection in UCO reposi…
…tory A follow-on patch will regenerate Make-managed files. References: * #509 Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
- Loading branch information
1 parent
72427e2
commit cc1ec31
Showing
3 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
57 changes: 57 additions & 0 deletions
57
tests/shapes/examples_uco_qc/co_Collection_core_UcoObject_XFAIL.ttl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
@prefix co: <http://purl.org/co/> . | ||
@prefix core: <https://ontology.unifiedcyberontology.org/uco/core/> . | ||
@prefix ex: <http://example.org/ontology/> . | ||
@prefix observable: <https://ontology.unifiedcyberontology.org/uco/obserable/> . | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@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#> . | ||
|
||
ex:IPAddressRoute | ||
a owl:Class ; | ||
rdfs:comment "This is expected to trigger a disjointed-classes violation, once subclass expansion occurs. This example copies subclass axioms from co:, core:, and observable:."@en ; | ||
rdfs:subClassOf | ||
co:List , | ||
observable:ObservableObject | ||
; | ||
. | ||
|
||
co:Bag | ||
a owl:Class ; | ||
rdfs:subClassOf co:Collection ; | ||
. | ||
|
||
co:List | ||
a owl:Class ; | ||
rdfs:comment "This definition is excerpted from co:."@en ; | ||
rdfs:subClassOf [ | ||
a owl:Class ; | ||
owl:intersectionOf ( | ||
co:Bag | ||
[ | ||
a owl:Restriction ; | ||
owl:onProperty co:item ; | ||
owl:allValuesFrom co:ListItem ; | ||
] | ||
) ; | ||
] ; | ||
. | ||
|
||
core:Item | ||
a owl:Class ; | ||
rdfs:subClassOf core:UcoObject ; | ||
. | ||
|
||
observable:ObservableObject | ||
a owl:Class ; | ||
rdfs:subClassOf | ||
core:Item , | ||
observable:Observable | ||
; | ||
. | ||
|
||
observable:Observable | ||
a owl:Class ; | ||
rdfs:subClassOf core:UcoObject ; | ||
. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters