Updated prefix handling, more icons #7
Loading…
Reference in a new issue
No description provided.
Delete branch "prefixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The changes below address #3 for this UI deployment. We need to document this somewhere still
Add IAO prefix to resolve it externally
The issue manifested as an 'obo'-based IRI not resolving externally even
though obo was included in id_resolves_externally. This is why:
The OWL export of the demo-research-assets schema contains the prefix:
'@prefix IAO: http://purl.obolibrary.org/obo/IAO_ .'
shacl-vue processes the OWL, so it receives this prefix. It also receives the 'obo'
prefix. shacl-vue extracts the prefix of a URI based on the longest match of known
prefix URIs, so for the cas of e.g. 'http://purl.obolibrary.org/obo/IAO_0000010',
it matches IAO and not obo. And since IAO was not included in id_resolves_externally
(even though obo was), it did not show that the id is resolvable externally.
This update just adds IAO to the list as a quick fix.
Remove now redundant prefixes from config
With 23b0dbdac7
we have introduced a way for datalad-concepts to export shacl that includes
all prefixes from the 'prefixes' section in the relevant schema. Since the
'prefixes' object in the shacl-vue config serves as a means to include any
additional prefixes not provided by the shacl (or owl), and since that object
did not already include any additional prefixes not included in the schema
prefixes section, we can empty this object. Then we can build it up minimally
with additional prefixes needed by shacl-vue as they arise.
Great, thanks!