From 4b881f4b5ae3f6a18eb546da77f074cdcc4f7537 Mon Sep 17 00:00:00 2001 From: Gabe Fierro Date: Thu, 12 Sep 2024 12:57:47 -0600 Subject: [PATCH] make sure to add labels to Brick subclasses (#663) --- generate_brick.py | 1 + 1 file changed, 1 insertion(+) diff --git a/generate_brick.py b/generate_brick.py index 4964f527..ae2439e4 100755 --- a/generate_brick.py +++ b/generate_brick.py @@ -823,6 +823,7 @@ def handle_concept_labels(): If there are two or more labels for a concept, choose one and raise a Warning """ concepts = chain( + G.transitive_subjects(RDFS.subClassOf, BRICK.Entity), G.subjects(A, BRICK.Entity), G.subjects(A, OWL.ObjectProperty), G.subjects(A, OWL.DatatypeProperty),