-
Notifications
You must be signed in to change notification settings - Fork 94
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
Better support for structured/reified definitions #477
Comments
GACS example now on the Skosmos demo site: http://skosmos.dev.finto.fi/gacs/en/page/C8994 |
SKOSXL recommends structured labels to be published redundantly: as plain SKOS labels and as skosxl:Label. But neither SKOS nor SKOSXL define separate properties for structured notes. (Also, there is no class defined, that's why in Getty AAT we defined So if you want to publish notes with a similar redundancy (for both simple consumers and "structured" consumers), @osma Does Skosmos do label matching? Eg for this below, will it show the label just once? <concept> skos:note "foo", [rdf:value "foo"; dct:issued "2020-03-30"] Where does it display the language from? Getty follows the good practice of putting lang in a separate field so it can be filtered more efficiently, eg: <concept>
skosxl:prefLabel [skosxl:literalForm "foo"@en; dct:language lexvo:en]
skos:note [rdf:value "bar"@en; dct:language lexvo:en] |
Skosmos supports both styles (either a literal value or a resource with
I tested this - it does not eliminate duplicates in this case. Example that shows the result when both a literal and a resource are used as a note value: This has not been a problem for us since the vocabularies we have use either pattern but not both at the same time.
The language is taken from the literal value. I see the point of using a separate field, but none of our vocabularies do that. |
I think that's reasonable, "duplicate label matching" is too complicated to expect that consumers will do such a thing. Then @osma what does Skosmos do with labels? Will it display duplicate labels in this case: <concept> skos:prefLabel "foo"@en; skosxl:prefLabel [skosxl:literalForm "foo"@en] (I never thought More could be Bad. Until I miscalculated the amount of concrete needed for my yard pool... When the concrete pump arrived, I had to scramble to build two more yard features with the leftovers ;-) @illip please read above and could you add that to Nomenclature API discussion? It presents a problem: if we go with literal Definitions now but make structured Definitions later (when we publish SKOSXL), that will be a backward-incompatible API change. I now think we should have two different API models: simple vs structured. |
Added section Non-functional> Backward Compatibility |
Skosmos requires SKOS Core labels in any case (for example due to the jena-text index). SKOS XL is an optional extra. This case works fine - duplicates are eliminated. See e.g. AGROVOC which has both SKOS Core and SKOS XL labels: http://skosmos.dev.finto.fi/agrovoc/en/page/c_32624 |
Posted proposal for SKOS Profiles: https://lists.w3.org/Archives/Public/public-esw-thes/2020Apr/0000.html |
Skosmos has some basic support for reified definitions used in e.g. AGROVOC and GACS, but only enough that it shows the rdf:value of the definition. It doesn't show any extended metadata such as source.
Examples:
http://skosmos.dev.finto.fi/agrovoc/en/page/c_8601
http://tester-os-kktest.lib.helsinki.fi/gacsdemo/gacs/en/page/C8994
The definition should be shown not as a link, but as regular text. The extra metadata such as dc:source could be shown inline, for example only visible when hovering, similar to help texts.
The text was updated successfully, but these errors were encountered: