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

Double check the @id for hreflang in the example JSON-LD context #140

Open
dret opened this issue Jun 25, 2020 · 6 comments
Open

Double check the @id for hreflang in the example JSON-LD context #140

dret opened this issue Jun 25, 2020 · 6 comments
Assignees
Labels

Comments

@dret
Copy link
Owner

@dret dret commented Jun 25, 2020

( couldn't assign this issue to @stain, so assigned it to myself instead... )
the JSON-LD context in https://tools.ietf.org/html/draft-wilde-linkset-06#appendix-B currently uses https://www.w3.org/ns/activitystreams#hreflang as the @id for hreflang, but uses DC terms for most other concepts. is there a reason to refer to the activity streams vocabulary for just this one concept, instead of using DC like for all other concepts?

@dret dret self-assigned this Jun 25, 2020
@dret dret added the linkset label Jun 25, 2020
@dret dret changed the title Double check the @id for hreflang in the example context Double check the @id for hreflang in the example JSON-LD context Jun 25, 2020
@stain
Copy link
Contributor

@stain stain commented Jun 26, 2020

I think @hvdsomp found that - I guess because hreflang is a direct match for the Linkset meaning. Dublin Core Terms would have dct:language which is also appropriate - I am fine with changing it if you think it makes it simpler with a single vocabulary.

An alternative mapping to schema.org https://schema.org/LinkRole would use https://schema.org/inLanguage

@dret
Copy link
Owner Author

@dret dret commented Jun 26, 2020

@hvdsomp
Copy link
Collaborator

@hvdsomp hvdsomp commented Jun 29, 2020

Hey @stain, I don't think it was me but I am going to assume it was @csarven who suggested https://www.w3.org/ns/activitystreams#hreflang as the @id for hreflang. I am sure it's a correct approach, but - as @dret indicates - it's probably better to use as few (widely known) vocabularies as possible, especially since this is for an example context provided FYI in an Appendix. So, I would definitely be in favor of using dct:language.

@dret
Copy link
Owner Author

@dret dret commented Jun 29, 2020

@larsgsvensson
Copy link

@larsgsvensson larsgsvensson commented Jun 29, 2020

out of curiosity i checked
https://www.w3.org/ns/activitystreams#hreflang on sameas.org but nothing
shows up. but then again, the whole exercise of deciding "when are two
concepts really the same" is a bit of an ontological snake pit to begin
with....

Slightly OT: Since as:hreflang and dct:language are different individuals, they should not be owl:sameAs-ed anyway...

@dret
Copy link
Owner Author

@dret dret commented Jun 29, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.