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

[SPDX 3.0.1] AbstractClass is prefixed with <http://spdx.invalid./> #1089

Open
ilans opened this issue Aug 26, 2024 · 6 comments
Open

[SPDX 3.0.1] AbstractClass is prefixed with <http://spdx.invalid./> #1089

ilans opened this issue Aug 26, 2024 · 6 comments
Assignees
Milestone

Comments

@ilans
Copy link

ilans commented Aug 26, 2024

In spdx-model.ttl:
@Prefix ns7: http://spdx.invalid./ .
ns7:AbstractClass a owl:Class .
etc...

@zvr Assuming that's invalid 😁

@ilans ilans changed the title AbstractClass is prefixed with <http://spdx.invalid./> [SPDX 3.0.1] AbstractClass is prefixed with <http://spdx.invalid./> Aug 26, 2024
@goneall goneall added this to the 3.0.1 milestone Aug 27, 2024
@goneall
Copy link
Member

goneall commented Aug 27, 2024

@zvr - If I recall, this is related to a request I made to distinguish abstract classes - do you recall the details?

@bact
Copy link
Collaborator

bact commented Aug 28, 2024

This note from shacl2code may related to this issue
https://github.com/jpewdev/shacl2code/?tab=readme-ov-file#abstract-classes

@zvr
Copy link
Member

zvr commented Aug 28, 2024

It's a valid URL that is guaranteed to not resolve to anything.

This is exactly what is needed for a pseudo-class that is not part of the model but simply conveys some meta-information needed by code generators (not really the RDF part).

@bact
Copy link
Collaborator

bact commented Sep 12, 2024

@ilans does it ok to close this? thanks

@goneall
Copy link
Member

goneall commented Oct 16, 2024

Note: the abstract class was previously solved with adding the property https://jpewdev.github.io/shacl2code/schema#isAbstract to abstract classes.

@bact
Copy link
Collaborator

bact commented Oct 22, 2024

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

No branches or pull requests

4 participants