rightsstatements / data-model

rightsstatements.org data model
http://rightsstatements.org/vocab/1.0/
Creative Commons Zero v1.0 Universal
12 stars 4 forks source link

Transifex #73

Closed literarymachine closed 5 years ago

literarymachine commented 5 years ago

Move descriptive text to language specific JSON-LD files and add configuration for tx.

aisaac commented 5 years ago

I've done a very partial review this morning and two questions come to mind for the moment:

I've got another point which is probably better fit for live discussion, but as I don't know whether I can attend this afternoon's call I'm going to note it here now. It's about the ordering of the statements in each of the file. As discussed in our last call this would be desirable for translators. I guess it should be done manually. I don't mind trying it myself, but is it doable on the files at this stage?

literarymachine commented 5 years ago

the translations could be grouped in folders (language-specific): is it s good or bad idea? I fear I don't know all the implications of changing the folder structure.

Grouping them in language-specific folders in the data-model repository would not be a big deal.

in the documentation, what does "An example file, which contains rights statements with a different version and containing sample, unofficial translations, can be found in example-versions.ttl." mean? And do we want to still refer to Turtle files

I was also wondering if it would not be a good moment to remove example-versions.ttl. It was introduced before I entered the project, but the way I understood it is that it was supposed to guide translations. These will now be carried out in transifex.

As for turtle files in general, we currently still take them into account. I have only moved data that is relevant for translation to JSON-LD, the main structure is still encoded in rights-statements.ttl . We could of course change that.

aisaac commented 5 years ago

+1 for removing example-versions.ttl And indeed we keep rights-statements.ttl for the time being.

anarchivist commented 5 years ago

I believe example-versions.ttl was intended to demonstrate that two features were working (versions and translations) before we had any official examples of either.

literarymachine commented 5 years ago

It's about the ordering of the statements in each of the file.

@aisaac: I believe it was about ordering the properties of the statements in each file, right?

As discussed in our last call this would be desirable for translators. I guess it should be done manually. I don't mind trying it myself, but is it doable on the files at this stage?

Yes, this would probably be a good moment to do this. If you specify the desired order, I could rearrange them programmatically. The keys for the individual statements are description, definition, note, prefLabel and scopeNote. For the collections there is only prefLabel. In both cases, there are also @context.@vocab, @context.@language, @context.description and @id, which are necessary JSON-LD metadata. We should probably move these to the end?

aisaac commented 5 years ago

@literarymachine re the order, in general it should be the one reflected on the pages and translation documents like https://docs.google.com/document/d/1t5Pe5Kz8jAKsTeveFpihD4zvR5p7Z9aNWf60tZyhwfg/

So for regular statements the order is

Regarding the context, it seems fine to keep it at the top. I guess this is the convention, no? At least this is what I've seen most often. But I guess it doesn't matter from a JSON-LD perspective so I'm fine either way.

literarymachine commented 5 years ago

@anarchivist This one is also ready to merge.