I suspect that there is an error in the Turtle specification, in the section shown in the screen-shot.
-
I suspect that there is an error in the Turtle specification, in the section shown in the screen-shot.
(It relates to JSON-LD, which ActivityPub / ActivityStreams is built on.)
I suspect that "PN_CHARS_BASE" is an error.
Because other parts of other specifications don't make sense if it is.
I suspect that maybe it should have been "PN_PREFIX" instead.
-
? Guest crossposted this topic to General Discussion
-
T tag-activitypub@relay.fedi.buzz shared this topic
-
I suspect that there is an error in the Turtle specification, in the section shown in the screen-shot.
(It relates to JSON-LD, which ActivityPub / ActivityStreams is built on.)
I suspect that "PN_CHARS_BASE" is an error.
Because other parts of other specifications don't make sense if it is.
I suspect that maybe it should have been "PN_PREFIX" instead.
PN_LOCAL is exactly what the prose in your screenshot describes. I see no error.
What other parts of other specifications don't make sense?
-
PN_LOCAL is exactly what the prose in your screenshot describes. I see no error.
What other parts of other specifications don't make sense?
One example is...
I've seen multiple examples of Blank Node Identifiers (which contain a Blank Node Label after the "_:") that include numerical digits ("0", "1", "2", "3", "4", "5", "6", "7", "8", "9").
PN_CHARS_BASE does not seem to include numerical digits.
Neither does that section "2.6 RDF Blank Nodes" include numerical digits.
Which, assuming I didn't misunderstand something (which is possible), makes the examples I've seen elsewhere not make sense (since they would be invalid).
-
One example is...
I've seen multiple examples of Blank Node Identifiers (which contain a Blank Node Label after the "_:") that include numerical digits ("0", "1", "2", "3", "4", "5", "6", "7", "8", "9").
PN_CHARS_BASE does not seem to include numerical digits.
Neither does that section "2.6 RDF Blank Nodes" include numerical digits.
Which, assuming I didn't misunderstand something (which is possible), makes the examples I've seen elsewhere not make sense (since they would be invalid).
I think that's what they mean by:
> The characters _ **and digits** may appear anywhere in a blank node label.
(The first of the three liberlisations in your screenshot.)
-
I think that's what they mean by:
> The characters _ **and digits** may appear anywhere in a blank node label.
(The first of the three liberlisations in your screenshot.)
I completely missed that. Thanks for pointing out.
-
I completely missed that. Thanks for pointing out.
@reiver @nik Same here. It is really easy to miss. Luckily, this has been improved in the upcoming revised recommendation: https://www.w3.org/TR/rdf12-turtle/#BNodes
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register Login