Skip to content

Commit

Permalink
Merge pull request #601 from ucoProject/develop
Browse files Browse the repository at this point in the history
Issues 573, 584, 599: Catch develop-2.0.0 up to develop
  • Loading branch information
plbt5 authored May 1, 2024
2 parents d909363 + 27ca6b0 commit f7145bf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ontology/owl/owl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,12 @@ uco-owl:Disjointedness-C-DT-shape
sh:sparql [
a sh:SPARQLConstraint ;
rdfs:seeAlso <https://www.w3.org/TR/2012/REC-owl2-syntax-20121211/#Typing_Constraints_of_OWL_2_DL> ;
sh:message "An IRI may not be a member of both an owl:Class and owl:Datatype."@en ;
sh:message "An IRI may not be a member of both an owl:Class and rdfs:Datatype."@en ;
sh:select """
PREFIX owl: <http://www.w3.org/2002/07/owl#>
SELECT $this
WHERE {
$this a owl:Datatype ;
$this a rdfs:Datatype ;
}
""" ;
] ;
Expand Down
1 change: 0 additions & 1 deletion ontology/uco/core/core.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ core:ContextualCompilation
rdfs:comment "A contextual compilation is a grouping of things sharing some context (e.g., a set of network connections observed on a given day, all accounts associated with a given person)."@en ;
sh:property [
sh:class core:UcoObject ;
sh:minCount "1"^^xsd:integer ;
sh:nodeKind sh:IRI ;
sh:path core:object ;
] ;
Expand Down
14 changes: 14 additions & 0 deletions ontology/uco/observable/observable.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5059,6 +5059,20 @@ observable:ObservableRelationship
;
rdfs:label "ObservableRelationship"@en ;
rdfs:comment "An observable relationship is a grouping of characteristics unique to an assertion of an association between two observable objects."@en ;
sh:property
[
sh:class observable:Observable ;
sh:message "The source on an ObservableRelationship is expected to be typed as an Observable, and the noted value node is not. This will be an error in UCO 2.0.0."@en ;
sh:path core:source ;
sh:severity sh:Warning ;
] ,
[
sh:class observable:Observable ;
sh:message "The target on an ObservableRelationship is expected to be typed as an Observable, and the noted value node is not. This will be an error in UCO 2.0.0."@en ;
sh:path core:target ;
sh:severity sh:Warning ;
]
;
sh:targetClass observable:ObservableRelationship ;
.

Expand Down

0 comments on commit f7145bf

Please sign in to comment.