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

Investigating jsonld for URI collapsing #47

Open
lukasnijhawan opened this issue Sep 28, 2020 · 1 comment
Open

Investigating jsonld for URI collapsing #47

lukasnijhawan opened this issue Sep 28, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@lukasnijhawan
Copy link
Collaborator

lukasnijhawan commented Sep 28, 2020

When looking to truncate the display of a URIRef but still gain access to the data associated with said term... need to investigate jsonld as an implementation of this feature.

Also, investigate use of CSS to truncate the URIRef names. For example, class RDFCSSLabeler(HTML) that is attached to a style sheet and can then automatically represent RDF URIRefs as their truncated form.

@zwelz3 zwelz3 changed the title Investigating jsonld Investigating jsonld for URI collapsing Sep 28, 2020
@zwelz3
Copy link
Member

zwelz3 commented Sep 28, 2020

Current implementation strategy is to use NamespaceManager for simple collapsing.
image

JSON-LD context application would allow us to maintain the actual data used (e.g. namespace and fragment). This would help, because "you always want the most machine readable information available, but show the most humane version" (-Nick).

Example from Nick:
image
Would probably require custom widget and custom typescript (native selection widgets don't let you have duplicate labels).

@zwelz3 zwelz3 added the enhancement New feature or request label Sep 28, 2020
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

2 participants