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

@valueURI #146

Closed
SJagodzinski opened this issue Jul 31, 2020 · 7 comments
Closed

@valueURI #146

SJagodzinski opened this issue Jul 31, 2020 · 7 comments
Labels

Comments

@SJagodzinski
Copy link
Contributor

SJagodzinski commented Jul 31, 2020

Value URI

Add optional attribute @valueURI with data type anyURI to all elements that could be represented by an URI.

List of elements: <agencyCode>, <agencyName>, <agent>, <componentEntry>, <conventionDeclaration>, <event>, <function>, <identityId>, <legalStatus>, <localControl>, <localDescription>, <localTypeDeclaration>, <maintenanceAgency>, <mandate>, <nameEntry>, <occupation>, <otherAgencyCode>, <otherEntityType>, <otherRecordId>, <place>, <placeName>, <placeRole>, <relationType>, <rightsDeclaration>, <source>, <targetEntity>, <targetRole>

Creator of issue

  1. Silke Jagodzinski
  2. TS-EAS: EAC-CPF subgroup
  3. [email protected]

Related issues / documents

Topic_relations_20200327.pdf
Add local identifier attribute #45
20201002_EAC-CPF_minutes.pdf

EAD3 Reconciliation

New attribute

Context

New attribute in EAS.
MODS: valueURI

Solution documentation: agreed solution for TL and guidelines

Summary, Description and Usage and Attribute usage needed

Data Type: anyURI

  • New or other example needed
  • Topic for Best Practise Guide?

Example encoding

@SJagodzinski
Copy link
Contributor Author

Proposal for Summary:

An URI identifying the resource to be used as the elements value.

@SJagodzinski SJagodzinski added this to the Schema milestone Oct 25, 2020
@ailie-s
Copy link

ailie-s commented Nov 13, 2020

Tag Library Text:

Summary: An optional attribute for including a URI identifying the resource to be used as the element's value.
Data Type: anyURI

@kerstarno
Copy link
Contributor

kerstarno commented Jan 14, 2021

Putting this here as a note for now as I came across it by coincidence while testing <conventionDeclaration> with @valueURI:

  • Currently @valueURI's data type is correctly defined as "anyURI", but it also comes with the further restriction of expecting the following pattern: "http[s]?://.*" (which is different to how @href is defined).
  • This leads to the attribute always expecting the full URL, it would seem.
  • So, if one e.g. used @base="http://d-nb.info/gnd/" with <description> to indicate that all references in that section will point to terms from the GND, one would still have to put in the full link for @valueURI, i.e. @valueURI="http://d-nb.info/gnd/1190671301", instead of simply putting @valueURI="1190671301".
  • Not sure, if we want to enforce full links for @valueURI in all cases?
  • Or maybe I've not understood the usage of @base correctly?

The same question would apply to @vocabularySourceURI (#148).

@SJagodzinski
Copy link
Contributor Author

I agree, that restriction annoying and excludes eg URNs.

@fordmadox
Copy link
Member

Updating now to relax the URI restriction (which I was going to do anyway, since I expect that there are / will be other protocols other than HTTP for the linked data attributes).

That said, I think we need to do a review of @base. This attribute was previously xml:base, in EAC 1.x, which is defined very specifically (see http://www.w3.org/TR/xmlbase/). I was assuming that it was now bound to the @href attribute only, similarly to HTML base. However, we now have @valueURI, @vocabularlySourceURI, and @href. I don't think that "base" can serve as the base URI for all three. Perhaps coming up with mappings will help here, especially for mapping to other formats, like JSON-LD, RDF/XML, etc.

@fordmadox
Copy link
Member

Updated here: 7118375. Will add a comment on the @base issue. I'm not sure how it can serve the same purpose for all three attributes, but I haven't done any explorations.

@kerstarno kerstarno self-assigned this Jan 22, 2021
@kerstarno
Copy link
Contributor

Tested as part of Schema Team's schema testing:

  • @valueURI is an optional attribute for the 27 elements listed in the issue description above, i.e. <agencyCode>, <agencyName>, <agent>, <componentEntry>, <conventionDeclaration>, <event>, <function>, <identityId>, <legalStatus>, <localControl>, <localDescription>, <localTypeDeclaration>, <maintenanceAgency>, <mandate>, <nameEntry>, <occupation>, <otherAgencyCode>, <otherEntityType>, <otherRecordId>, <place>, <placeName>, <placeRole>, <relationType>, <rightsDeclaration>, <source>, <targetEntity>, <targetRole>
  • Its data type is anyURI (and the initial restriction has been lifted)
  • It's always available together with the attributes @vocabularySource and @vocabularySourceURI

The above applies to both schemas, RNG and XSD.

The attribute is ready.

@kerstarno kerstarno added the Tested by Schema Team Passed both the RNG and XSD schemas. label Jan 22, 2021
@kerstarno kerstarno modified the milestones: Schema, Tag Library Jan 22, 2021
@SJagodzinski SJagodzinski assigned SJagodzinski and unassigned ailie-s Mar 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants