Skip to content
Merged
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
4 changes: 4 additions & 0 deletions tripper/datadoc/keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -1103,6 +1103,10 @@ def get_input_value(entity, key):
d.type = to_prefixed(value["@type"], p)
d.domain = value.get("domain", RDFS.Resource)

if isinstance(d.domain, dict):
# Ignore the case where the domain is a logical construct
continue

for domain in asseq(d.domain):
dlabel = prefix_iri(domain, p, strict=True)
domainname = clslabels.get(dlabel, iriname(domain))
Expand Down
Loading