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
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.
Popular Pragmatic Bookshelf topics
In Chapter 3, the source for index introduces Config on page 31, followed by more code including tests; Config isn’t introduced until pag...
New
As per the title, thanks.
New
Working through the steps (checking that the Info,plist matches exactly), run the demo game and what appears is grey but does not fill th...
New
When I try the command to create a pair of migration files I get an error.
user=> (create-migration "guestbook")
Execution error (Ill...
New
Dear Sophie.
I tried to do the “Authorization” exercise and have two questions:
When trying to plug in an email-service, I found the ...
New
I’m under the impression that when the reader gets to page 136 (“View Data with the Database Inspector”), the code SHOULD be able to buil...
New
Hi all,
currently I wonder how the Tailwind colours work (or don’t work).
For example, in app/views/layouts/application.html.erb I have...
New
I am using Android Studio Chipmunk | 2021.2.1 Patch 2
Build #AI-212.5712.43.2112.8815526, built on July 10, 2022
Runtime version: 11.0....
New
Hello @herbert ! Trying to get the very first “Hello, Bracket Terminal!" example to run (p. 53). I develop on an Amazon EC2 instance runn...
New
I’ve got to the end of Ch. 11, and the app runs, with all tabs displaying what they should – at first. After switching around between St...
New
Other popular topics
Hello Devtalk World!
Please let us know a little about who you are and where you’re from :nerd_face:
New
Algorithms and data structures are much more than abstract concepts. Mastering them enables you to write code that runs faster and more e...
New
No chair. I have a standing desk.
This post was split into a dedicated thread from our thread about chairs :slight_smile:
New
I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl:
The Ser...
New
Intensively researching Erlang books and additional resources on it, I have found that the topic of using Regular Expressions is either c...
New
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
I am trying to crate a game for the Nintendo switch, I wanted to use Java as I am comfortable with that programming language. Can you use...
New
If you want a quick and easy way to block any website on your Mac using Little Snitch simply…
File > New Rule:
And select Deny, O...
New
zig/http.zig at 7cf2cbb33ef34c1d211135f56d30fe23b6cacd42 · ziglang/zig.
General-purpose programming language and toolchain for maintaini...
New
Ask Me Anything with
Mark Volkmann
@mvolkmann
On February 24 and 25, we are giving you a chance to ask questions of PragProg author M...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /ruby
- /wasm
- /erlang
- /phoenix
- /keyboards
- /python
- /js
- /rails
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /haskell
- /java
- /svelte
- /onivim
- /typescript
- /kotlin
- /c-plus-plus
- /crystal
- /tailwind
- /react
- /gleam
- /ocaml
- /elm
- /flutter
- /vscode
- /ash
- /html
- /opensuse
- /centos
- /php
- /zig
- /deepseek
- /scala
- /sublime-text
- /textmate
- /lisp
- /react-native
- /nixos
- /debian
- /agda
- /kubuntu
- /arch-linux
- /deno
- /django
- /ubuntu
- /revery
- /nodejs
- /manjaro
- /spring
- /diversity
- /lua
- /julia
- /slackware
- /c







