Open lukasnijhawan opened 3 years ago
Current implementation strategy is to use NamespaceManager for simple collapsing.
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: Would probably require custom widget and custom typescript (native selection widgets don't let you have duplicate labels).
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.