Skip to content

Commit

Permalink
make sure to add labels to Brick subclasses (#663)
Browse files Browse the repository at this point in the history
  • Loading branch information
gtfierro authored Sep 12, 2024
1 parent 860ccc3 commit 4b881f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generate_brick.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 4b881f4

Please sign in to comment.