guidotripaldi

guidotripaldi

Exploring Graphs with Elixir: wrong id in triple (page 126)

Exploring Graphs with Elixir by @tonyhammond

According to the shorten form sample at the beginning of the page, the id in the long form should be “pragprog”, instead of “pragmatic”

The basic folded pattern shows a subject followed by a set of property/object
pairs. If we were to write this out in long form with each statement written as
subject/property/object (and with namespace prefixes substituted) we would
arrive at classic RDF triples:

# Error:
# <https://pragprog.com/> <https://example/id> "pragmatic" .

# Correction:
<https://pragprog.com/> <https://example/id> "pragprog" .

<https://pragprog.com/> <https://example/iri> "https://pragprog.com/" .
<https://pragprog.com/> <https://example/name> "The Pragmatic Bookshelf" .
<https://pragprog.com/> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
    <https://example/Publisher> .

Marked As Solved

tonyhammond

tonyhammond

Author of Exploring Graphs with Elixir

OK, just fixing that now but it’s better to change the short form RDF (on p. 125, 126) to match the long form RDF (on p. 126), so that we have

p. 125
:id “pragmatic” ;

p. 126
ex:id “pragmatic” ;
https://pragprog.com/ https://example/id “pragmatic”

This is consistent with labeling in diagram on p.8 and with the semantic version on p. 127.

And, btw, thanks for drawing my attention to this as I see I also had the wrong :id value for the book itself on pp. 125 and 127.

was
:id “ben_marx” ;

should be, of course,
:id “adopting_elixir” ;

Changes should be in bext beta.

Where Next?

Popular Pragmatic Bookshelf topics Top

abtin
page 20: … protoc command… I had to additionally run the following go get commands in order to be able to compile protobuf code using go...
New
mikecargal
Title: Hands-On Rust (Chapter 11: prefab) Just played a couple of amulet-less games. With a bit of debugging, I believe that your can_p...
New
Mmm
Hi, build fails on: bracket-lib = “~0.8.1” when running on Mac Mini M1 Rust version 1.5.0: Compiling winit v0.22.2 error[E0308]: mi...
New
cro
I am working on the “Your Turn” for chapter one and building out the restart button talked about on page 27. It recommends looking into ...
New
adamwoolhether
I’m not quite sure what’s going on here, but I’m unable to have to containers successfully complete the Readiness/Liveness checks. I’m im...
New
akraut
The markup used to display the uploaded image results in a Phoenix.LiveView.HTMLTokenizer.ParseError error. lib/pento_web/live/product_l...
New
rainforest
Hi, I’ve got a question about the implementation of PubSub when using a Phoenix.Socket.Transport behaviour rather than channels. Before ...
New
Henrai
Hi, I’m working on the Chapter 8 of the book. After I add add the point_offset, I’m still able to see acne: In the image above, I re...
New
ggerico
I got this error when executing the plot files on macOS Ventura 13.0.1 with Python 3.10.8 and matplotlib 3.6.1: programming_ML/code/03_...
New
davetron5000
Hello faithful readers! If you have tried to follow along in the book, you are asked to start up the dev environment via dx/build and ar...
New

Other popular topics Top

wolf4earth
@AstonJ prompted me to open this topic after I mentioned in the lockdown thread how I started to do a lot more for my fitness. https://f...
New
siddhant3030
I’m thinking of buying a monitor that I can rotate to use as a vertical monitor? Also, I want to know if someone is using it for program...
New
Exadra37
I am asking for any distro that only has the bare-bones to be able to get a shell in the server and then just install the packages as we ...
New
mafinar
Crystal recently reached version 1. I had been following it for awhile but never got to really learn it. Most languages I picked up out o...
New
rustkas
Intensively researching Erlang books and additional resources on it, I have found that the topic of using Regular Expressions is either c...
New
AstonJ
We’ve talked about his book briefly here but it is quickly becoming obsolete - so he’s decided to create a series of 7 podcasts, the firs...
New
PragmaticBookshelf
Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New
PragmaticBookshelf
Author Spotlight Jamis Buck @jamis This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
New
sir.laksmana_wenk
I’m able to do the “artistic” part of game-development; character designing/modeling, music, environment modeling, etc. However, I don’t...
New
AstonJ
This is a very quick guide, you just need to: Download LM Studio: https://lmstudio.ai/ Click on search Type DeepSeek, then select the o...
New

Sub Categories: