Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
@reiver ⊼ (Charles) :batman:
@reiver ⊼ (Charles) :batman:
@reiver@mastodon.social  ·  activity timestamp 2 days ago

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 seem to not make sense if it is.

I suspect that maybe it should have been "PN_PREFIX" instead.

#ActivityPub #ActivityStreams #RDF #JSONLD

2.6 RDF Blank Nodes

 RDF blank nodes in Turtle are expressed as _: followed by a blank node label which is a series of name characters. The characters in the label are built upon PN_CHARS_BASE, liberalized as follows: 

• The characters _ and digits may appear anywhere in a blank node label.
• The character . may appear anywhere except the first or last character.
• The characters -, U+00B7, U+0300 to U+036F and U+203F to U+2040 are permitted anywhere except the first character.
2.6 RDF Blank Nodes RDF blank nodes in Turtle are expressed as _: followed by a blank node label which is a series of name characters. The characters in the label are built upon PN_CHARS_BASE, liberalized as follows: • The characters _ and digits may appear anywhere in a blank node label. • The character . may appear anywhere except the first or last character. • The characters -, U+00B7, U+0300 to U+036F and U+203F to U+2040 are permitted anywhere except the first character.
2.6 RDF Blank Nodes RDF blank nodes in Turtle are expressed as _: followed by a blank node label which is a series of name characters. The characters in the label are built upon PN_CHARS_BASE, liberalized as follows: • The characters _ and digits may appear anywhere in a blank node label. • The character . may appear anywhere except the first or last character. • The characters -, U+00B7, U+0300 to U+036F and U+203F to U+2040 are permitted anywhere except the first character.
  • Copy link
  • Flag this post
  • Block
Nik | Klampfradler 🎸🚲
Nik | Klampfradler 🎸🚲
@nik@toot.teckids.org  ·  activity timestamp 2 days ago

@reiver

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?

  • Copy link
  • Flag this comment
  • Block
@reiver ⊼ (Charles) :batman:
@reiver ⊼ (Charles) :batman:
@reiver@mastodon.social  ·  activity timestamp 2 days ago

@nik

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).

  • Copy link
  • Flag this comment
  • Block
Nik | Klampfradler 🎸🚲
Nik | Klampfradler 🎸🚲
@nik@toot.teckids.org  ·  activity timestamp 2 days ago

@reiver

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.)

  • Copy link
  • Flag this comment
  • Block
@reiver ⊼ (Charles) :batman:
@reiver ⊼ (Charles) :batman:
@reiver@mastodon.social  ·  activity timestamp 2 days ago

@nik

I completely missed that. Thanks for pointing out.

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.34 no JS en
Automatic federation enabled
Log in
Instance logo
  • Explore
  • About
  • Members
  • Code of Conduct