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

Better support for structured/reified definitions #477

Closed
osma opened this issue Mar 2, 2016 · 7 comments
Closed

Better support for structured/reified definitions #477

osma opened this issue Mar 2, 2016 · 7 comments
Milestone

Comments

@osma
Copy link
Member

osma commented Mar 2, 2016

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.

@osma osma added this to the Next Tasks milestone Mar 2, 2016
@osma osma added size-medium 2 hours to 2 days may slip labels Apr 19, 2016
@osma osma modified the milestones: Next Tasks, 1.7 Apr 26, 2016
@osma
Copy link
Member Author

osma commented Jun 13, 2016

GACS example now on the Skosmos demo site: http://skosmos.dev.finto.fi/gacs/en/page/C8994

@VladimirAlexiev
Copy link

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 gvp:Note).

So if you want to publish notes with a similar redundancy (for both simple consumers and "structured" consumers), skos:definition and friends would carry both a string, and a resource, which will complicate consumption. @osma, has that bothered you?

@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]

@osma
Copy link
Member Author

osma commented Mar 31, 2020

So if you want to publish notes with a similar redundancy (for both simple consumers and "structured" consumers), skos:definition and friends would carry both a string, and a resource, which will complicate consumption. @osma, has that bothered you?

Skosmos supports both styles (either a literal value or a resource with rdf:value), but assumes that only one of them is used.

@osma Does Skosmos do label matching? Eg for this below, will it show the label just once?
skos:note "foo", [rdf:value "foo"; dct:issued "2020-03-30"]

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:

kuva

This has not been a problem for us since the vocabularies we have use either pattern but not both at the same time.

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:

The language is taken from the literal value. I see the point of using a separate field, but none of our vocabularies do that.

@VladimirAlexiev
Copy link

both styles (either a literal value or a resource with rdf:value), but assumes that only one of them is used.

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.

@VladimirAlexiev
Copy link

Added section Non-functional> Backward Compatibility

@osma
Copy link
Member Author

osma commented Apr 1, 2020

Then @osma what does Skosmos do with labels? Will it display duplicate labels in this case:
skos:prefLabel "foo"@en; skosxl:prefLabel [skosxl:literalForm "foo"@en]

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

@VladimirAlexiev
Copy link

VladimirAlexiev commented Apr 1, 2020

Posted proposal for SKOS Profiles: https://lists.w3.org/Archives/Public/public-esw-thes/2020Apr/0000.html

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