-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add basic dcterms:conformsTo example #59
Conversation
add example of conformsto
Both "dc:" and "dcterms:" are defined in the context doc of schema.org. Therefore it seems correct to find a dc:subject in a manifest. EPUB specifies the use of "dc:" elements; Or is the use of "dcterms:" over "dc:" recommended in json-ld for some RDF purity reason? |
Indeed, schema.org includes both Which means that:
|
Yes, but do we really need to get into this in the specification by introducing both when all we're aiming to do is show that other properties can be used. As in #57, if there's a need for the dc element set, it can be documented elsewhere. EPUB banned the Given that dcterms exists for linked data, I'm perfectly fine having it as the only example prefix. |
To very honest, I don't have strong feeling about this. I see that there is a similar discussion on the epub repo; I am perfectly fine aligning ourselves on Epub. |
Well, I can only say that reading nb: In the current DCMI spec I don't clearly see a preference for properties from the dcterms namespace; I agree with Matt that the presence of both |
Could we maybe avoid this issue entirely and use some other prefix example? What about using a I don't have a preference for |
As defined in schema.org's context doc, the dc:: prefix is tied to the (legacy) 2001 Dublin Core 1.1 elements namespace (http://purl.org/dc/elements/1.1/) while the dcterms: prefix is tied to the 'living' Dublin Core terms namespace (http://purl.org/dc/terms/). This is the convention generally followed by the library community. There have been no changes (no new elements, no changes in definitions) in the dc: namespace since 2001, while there have been many changes and updates to the dcterms: namespace over the last 2 decades. Also, as used in the context of the Open Archives (OAI-PMH) and other legacy XML applications using Dublin Core, the practice has been that properties in the dc: namespace cannot have any children (e.g., so can't break name into family and surname) and do not have any sub-properties or attributes, while more flexibility is assumed for properties in the dcterms: namespace. The latter are legacy conventions of course and not ones we (or schema) necessarily have to follow when serializing in json-ld, but I think it would occasion less confusion overall if we stuck exclusively in our examples to dcterms: and avoided any examples making use of dc:. The dc: 1.1 elements namespace is outdated and is generally seen in the library domain as not the best choice for Dublin Core in LD. And though I personally could live with @mattgarrish's suggestion to avoid dc:/dcterms: by using bibo: for our examples, among US libraries at least, I think many would find a bibo: example more confusing then a dcterms: example. Understanding that there will always be a few folks who prefer the fixity of dc:... |
And technically, dcterms:subject is a refinement of dc:subject, see: https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#terms-subject rather than being exactly equivalent... |
@tcole3 I'm not suggesting we use Let's keep the new example of |
Using dcterms for conforms to seems to be necessary, and is in the document due to #16. Seeing the discussion maybe the best is to keep to Matt's original proposal and use, in the examples dcterms only. Maybe it is worth, in the note referring to schema.org, citing more of the namespaces that are predefined, like bibo, foaf, and indeed dc. |
Works for me. |
add example of extending context
…b-manifest into editorial/dcterms-example
I've updated the note to add more of the vocabularies. I also noticed that we don't actually show an example of extending the context. I put in a fictitious example, but maybe someone can think of something better. Let me know if I didn't get the prefix declaration right, too. |
Ship it:-) |
One question I had is that there was already an example of
dc:subject
but the note before the example incorrectly suggesteddc
maps to dcterms.Did we actually want to include a dc element set example, or is my correcting the prefix to
dcterms
fine?Preview | Diff