Skip to content

Commit 9bb6457

Browse files
committed
Update list of OWL TBox-focused shapes
Adoption of CASE 1.3.0 happens to address `case-utils` Issue 142, because UCO Issue 571 deactivated `uco-owl:List-shape`. This patch considers some of the OWL shapes as applicable in ABox review. * `uco-owl:distinctMembers-subjects-shape` and `uco-owl:members-subjects-shape` can be used in `owl:AllDifferent` to specify that some IRIs in the graph truly do not pertain to the same individual. * `uco-owl:rdf-first-subjects-shape` and `uco-owl:rdf-rest-subjects-shape` serve as an RDF-wide syntax reviewer on `rdf:List`, confirming that lists are specified at least as much as they need to be, and also do not fork. No effects were observed on Make-managed files. References: * #142 * ucoProject/UCO#571 Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
1 parent 369c83c commit 9bb6457

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

case_utils/case_validate/validate_utils.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,18 @@ def disable_tbox_review(graph: rdflib.Graph) -> None:
197197
"Disjointedness-AP-OP-shape",
198198
"Disjointedness-C-DT-shape",
199199
"Disjointedness-DP-OP-shape",
200-
"List-shape",
201200
"ObjectProperty-shacl-constraints-shape",
201+
"Sequence-shape",
202+
"disjointUnionOf-subjects-shape",
203+
"hasKey-subjects-shape",
204+
"intersectionOf-subjects-shape",
205+
"onProperties-subjects-shape",
206+
"oneOf-subjects-shape",
202207
"ontologyIRI-versionIRI-prerequisite-shape",
208+
"propertyChainAxiom-subjects-shape",
209+
"unionOf-subjects-shape",
203210
"versionIRI-nodeKind-shape",
211+
"withRestrictions-subjects-shape",
204212
}:
205213
n_tbox_shape = ns_uco_owl[tbox_shape_basename]
206214
graph.add((n_tbox_shape, NS_SH.deactivated, l_true))

0 commit comments

Comments
 (0)