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

add SRC/REF/SAME property to DESCRIPTOR and EXT elements #89

Closed
mamund opened this issue Sep 19, 2020 · 3 comments
Closed

add SRC/REF/SAME property to DESCRIPTOR and EXT elements #89

mamund opened this issue Sep 19, 2020 · 3 comments
Assignees
Milestone

Comments

@mamund
Copy link
Member

mamund commented Sep 19, 2020

NOTE: this is meant to help support a sameAs functionality within ALPS (see #12 )

the SRC (or REF? or SAME?) proprety is an optional property that you can use to reference the source or provenance of a DESCRIPTOR or EXT element. For example, you can define a semantic element with the id property set to "firstName" and a src property set to point to the source defintiion in schema.org (in this case https://schema.org/givenName).

<descriptor id="firstName" type="semantic" src="https://schema.org/givenName" />
@mamund mamund self-assigned this Sep 19, 2020
@mamund mamund added this to the draft-04 milestone Sep 19, 2020
@fosrias
Copy link
Contributor

fosrias commented Sep 19, 2020

Can src be a url to an ALPS descriptor to show SameAs?

@mamund
Copy link
Member Author

mamund commented Sep 19, 2020

Probably. Would like to explore possible problems but if be happy if that could work.

I'll write up a first pass and we can discuss.

@mamund
Copy link
Member Author

mamund commented Nov 10, 2020

for this release, we'll be adding the def element to descriptors. the value of def will be an IRI that uniquely identifies the defintiion of the descriptor. Note that this might not be the equivalent of sameAs and we can address that separately.

mamund added a commit that referenced this issue Nov 10, 2020
@mamund mamund added the staged label Nov 10, 2020
@mamund mamund closed this as completed Dec 3, 2020
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