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

Avoid the use of sh:IRI for contact point #130

Open
tpluscode opened this issue Dec 13, 2023 · 6 comments
Open

Avoid the use of sh:IRI for contact point #130

tpluscode opened this issue Dec 13, 2023 · 6 comments

Comments

@tpluscode
Copy link
Contributor

The constraints on schema:contactPoint require the value to be an IRI

sh:path schema:contactPoint ;
sh:minCount 1 ;
sh:nodeKind sh:IRI ;
sh:message "cube:Cube needs an schema:contactpoint"

Some other properties too, are constrained like that. I propose to relax this to allow blank nodes. Possibly as an alternative, where it's either IRI or a blank with deep description using sh:node. For the standalone cube I expect schema:name and schema:email at the least

@giacomociti
Copy link
Contributor

why would you require name and email only when the contact point is blank?

@tpluscode
Copy link
Contributor Author

I don't understand. What else do you think is necessary?

@giacomociti
Copy link
Contributor

my understanding is that name and email are required on a contact point only when the contact point is blank. Why they are not needed also when the contact point is an IRI?

@tpluscode
Copy link
Contributor Author

Ah, gotcha. I somehow limited the logic to IRI meaning remote resource.

@giacomociti
Copy link
Contributor

now I get the rationale and it makes sense to me. In a sense, choosing blanks is often a way to express that the data 'belongs' to the referencing object (as in concise bounded descriptions which include blanks and instead stops at IRIs)

@tpluscode
Copy link
Contributor Author

TBH, the case of contact point may not even make sense as a remote resource in the first place but let's not got there now

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

2 participants