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

Using keywords vs URIs in com:Annotation's #2

Closed
andrea-perego opened this issue Jan 14, 2018 · 0 comments
Closed

Using keywords vs URIs in com:Annotation's #2

andrea-perego opened this issue Jan 14, 2018 · 0 comments

Comments

@andrea-perego
Copy link

In Appendix VI.1, the StatDCAT-AP specification provides examples on how to use com:Annotation's to specify StatDCAT-AP metadata.

For doing this, elements com:AnnotationTitle and com:AnnotationType are used with keywords denoting, respectively, the relevant RDF property (e.g., dcat:accessURL) and the metadata profile (StatDCAT-AP). E.g.:

<com:Annotation>
  <com:AnnotationTitle>dcat:accessURL</com:AnnotationTitle>
  <com:AnnotationType>StatDCAT-AP</com:AnnotationType>
  <com:AnnotationURL>http://www.ec.europa.eu/eurostat/SDMX/diss-web/rest/</com:AnnotationURL>
</com:Annotation>

I wonder whether it would be preferable, to avoid any ambiguity, to use not keywords, but the corresponding URIs. E.g.:

<com:Annotation>
  <com:AnnotationTitle>http://www.w3.org/ns/dcat#accessURL</com:AnnotationTitle>
  <com:AnnotationType>http://data.europa.eu/xyz</com:AnnotationType>
  <com:AnnotationURL>http://www.ec.europa.eu/eurostat/SDMX/diss-web/rest/</com:AnnotationURL>
</com:Annotation>

where the fictitious URI http://data.europa.eu/xyz corresponds to the namespace URI of StatDCAT-AP.

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

2 participants