Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion pylode/profiles/supermodel/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,16 @@ def _make_preamble(self):
][0]
),
)

# Imports
if (
OWL.imports in self.query.onts_props
and len(self.query.onts_props[OWL.imports]) > 0
):
imports = [
str(imp)
for imp in self.query.onts_props[OWL.imports]
]
metadata_row("Imports", imports)
if (
DCTERMS.description in self.query.onts_props
and len(self.query.onts_props[DCTERMS.description]) > 0
Expand Down
1 change: 1 addition & 0 deletions pylode/rdf_elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
SKOS.note,
DCTERMS.description,
ONTDOC.restriction,
OWL.imports,
]

# properties for OWL Class instances
Expand Down