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

Exclusions need to have links to the excluded items #130

Open
FlavioRizzolo opened this issue Mar 31, 2019 · 1 comment
Open

Exclusions need to have links to the excluded items #130

FlavioRizzolo opened this issue Mar 31, 2019 · 1 comment

Comments

@FlavioRizzolo
Copy link

Exclusions in XKOS are properties that are extensions of skos:scopeNote, which are intended to capture text only. It is suggested elsewhere(*) that notes can be represented as “XHTML fragments, thereby opening the possibility of rendering the references to other items as HTML links”. The problem is that such a solution won’t work in non-XHTML environments, limiting interoperability.

(*) D. Gillman, F. Cotton and Y. Jaques, "Extended Knowledge Organization System (XKOS)," in UNECE Work Session on Statistical Metadata, Geneva, 2013.

@nichtich
Copy link

nichtich commented Apr 4, 2019

In our JSKOS based applications we support links in notes based on concept notations. See this examples of DDC notes:

641.862 Frozen desserts
For ices, sherbet, sorbet, see 641.863

If notation 641.863 can be detected by a regular expression and if concept URIs are based on notations, then we can add a hyperlink into the note. In this case (DDC is more complex then many other classifications), the required fields are:

  • uriPattern: ^http://dewey.info/class/(.+)/e23/$
  • notationPattern: [0-9][0-9]?|[0-9]{3}(-[0-9]{3})?|[0-9]{3}.[0-9]+(-[0-9]{3}.[0-9]+)?|[1-9][A-Z]?--[0-9]+|[1-9][A-Z]?--[0-9]+(-[1-9][A-Z]?--[0-9]+)?

uriPattern is void:RegexPattern. notationPattern has not RDF property yet, maybe this is a possible candidate for extension of XKOS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants