Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic prefix display #38

Closed
simongray opened this issue May 2, 2022 · 0 comments
Closed

Dynamic prefix display #38

simongray opened this issue May 2, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@simongray
Copy link
Member

simongray commented May 2, 2022

Currently, prefixes are hidden by default in the value part of the attribute-value table. The original intention was to let the user (eventually) hide/show the prefixes through some toggle.

However, now I think it might make the most sense to dynamically display prefixes in that column through a simple rule:

If the value column prefix matches the prefix of the current RDF resource -OR- if it matches the prefix of the attribute column, then it is hidden. This would essentially hide all relations that are part of the same dataset. The colour would be left to make their implicit relation more obvious.

In all other cases, the prefixes will be shown. This will make it clear that we are referencing e.g. cor:kickstarter in the owl:sameAs relation emanating from dn:kickstarter, while removing a tonne of superfluous ontolex: and dn: prefixes from view.

@simongray simongray added the enhancement New feature or request label May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant