Errata
The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted by | Date Submitted |
---|---|---|---|---|
ePub | Page 997 Geocoding |
You suggest to use geocoder.us but that URL is down. I found an alternative one at this IP address 206.220.230.164. Using that IP instead of the URL in the book, you should be able to follow the instructions in the book with no problems. |
Carlos Alejandro Jimenez Holmquist | Apr 28, 2018 |
Page 46 code piece in section "Adding a geocoding rule" |
In the code part: |
Ning | Jun 01, 2015 | |
Printed | Page 137-138 last paragraphs |
Error in code snippet, might be a huge copy/pasting error |
Anonymous | Dec 03, 2012 |
Printed | Page 91 Final code listing |
The second prefix (rdf) in this query is unnecessary. |
Duncan Parkes | Nov 17, 2012 |
Printed | Page 82 Third code listing |
'rdf-type-predicate' is not a valid python variable name - easily fixed by using underscores. |
Duncan Parkes | Nov 17, 2012 |
Page 45 >>> from simplegraphq import * |
>>> from simplegraphq import * |
Anonymous | Nov 03, 2012 | |
Page 44 class WestCoastRule(InferenceRule): |
the code in this Python class is: |
Anonymous | Nov 03, 2012 | |
Printed | Page 30 1st paragraph, 5th line |
The line " >>> placegraph.loadfile("places_triples.txt")" generates an error. This is due to the fact there is no procedure in the class called "loadfile". |
Jeffery E. Bell | Jun 24, 2012 |
Printed | Page 111 1st paragraph, 1st sentence |
"British Broadcasting Company (BBC)" should be changed to "British Broadcasting Corporation (BBC)". The BBC is not a commercial organization! |
Andrew Bate | Mar 31, 2012 |
Printed | Page 158 hResume code example at start of page 158 |
The values of the title attributes are inconsistent with the human-readable values that the <abbr> elements enclose. |
Mark Harrison | Feb 20, 2012 |
Printed | Page 147 Figures 6-11 and 6-12 |
The direction of all the arrows for property rdfs:subClassOf are all the wrong way round in both figures 6-11 and 6-12 and are inconsistent with Figure 6-3 on p133, which correctly shows that Film is a subClassOf Object |
Mark Harrison | Feb 20, 2012 |
Printed | Page 133 2nd sentence |
The statement "As mentioned earlier, the range is the source type for a property, and the domain is the destination type for a property" is incorrect and inconsistent with Figure 6.1. |
Mark Harrison | Feb 20, 2012 |
Printed | Page 122 First MQL example in curly braces |
There is a missing double-quote after "/en/harrison/ford |
Mark Harrison | Feb 20, 2012 |
Page 84 code example |
i could be wrong about the prefix issue i submitted previously -- perhaps i'm confusing prefix with base (which is described in later paragraphs)? |
Stewart Heckenberg | Nov 09, 2010 | |
Page 88 last paragraph |
"comparisons operators" -- should it be "comparison operators"? |
Stewart Heckenberg | Nov 09, 2010 | |
Page 84 code example |
The code example on page 84 shows a graph of movie data represented using the N3 format. The first line of code specifies a prefix "fb", however this prefix is not used in the rest of the code example. On page 73 there is another example of N3 code where prefixes are used for compaction. I believe the example on page 84 should use the prefix for compaction also but this has been overlooked. |
Stewart Heckenberg | Nov 09, 2010 | |
Page 84 code example |
The code example on page 84 shows a graph of movie data represented using the N3 format. The first line of code specifies a prefix "fb", however this prefix is not used in the rest of the code example. On page 73 there is another example of N3 code where prefixes are used for compaction. I believe the example on page 84 should use the prefix for compaction also but this has been overlooked. |
Stewart Heckenberg | Nov 09, 2010 | |
Page 15 second sentence |
"preforming" should be "performing" |
Youdaman | Sep 15, 2010 | |
Page 209 1st paragraph |
"http://semprog.com/psw/chapter8/celeb_fancy_exhibit.html" |
zzljlu | Aug 12, 2010 | |
Printed | Page 77 first word on page |
First word on page 77, "CUIREs", should be "CURIEs" |
Anonymous | Jul 11, 2010 |
Printed | Page 38 Figure 3-1 |
In the bottom circle in Figure 3-1, "Richard M. Daly" should be "Richard M. Daley" |
Anonymous | Jul 10, 2010 |
Printed | Page 231 Middle, code example |
There are two problems in postdata causing the convert_jobs.py to fail quietly. |
Simon Clarke | Mar 28, 2010 |
Printed | Page 202 Code example |
By default the results from Sesame are in binary instead of the expected JSON. |
Simon Clarke | Mar 28, 2010 |
Printed | Page 28 First code listing |
Two issues of clarity really. |
ianpiper | Mar 24, 2010 |
Page 231 Second paragraph under heading "Loading the Data into Sesame |
I believe the sentence that starts with "Sesame lets you use PUT through its....." should read "Sesame lets you use POST through its...." as it is a POST not a PUT request that gets used. |
Bryce Thomas | Feb 08, 2010 | |
Printed | Page 48 3rd code block |
in the TouristyRule class the function getqueries doesn't return anything. This causes a "None not iterable" error. The final line in this method should be: |
Joris Slob | Feb 07, 2010 |
Page 79 Second last paragraph |
A part of the paragraph reads "RDFa was specified as annotations on XHML[sic]". I imagine this was meant to read "RDFa was specified as annotations on XHTML" (XHTML instead of XHML). |
Bryce Thomas | Jan 28, 2010 | |
Page 47 Interactive Interpreter code sample |
The two lines which both read: |
Bryce Thomas | Jan 27, 2010 | |
Printed | Page 46 code snippet bottom of the page |
There are some problems with the printed code. When following the book without downloading any of the code the following should be corrected: |
Joris Slob | Jan 16, 2010 |
Printed | Page 30 the first code snippet |
On page 30 (Chapter 2) the first code snippet: |
Anonymous | Jan 15, 2010 |
Printed | Page 80 last line |
it's not that easy to install rdflib. |
tamagawa ryuji | Jan 01, 2010 |
Printed | Page 242 sample code |
The sample code on the page should demonstrate how to get stock data from Yahoo. It mistakenly shows duplicate code from the earlier Crunchbase example. The correct code is available at http://semprog.com/psw/chapter10/yahoo_finance_update.py |
Geoff Blosser | Dec 20, 2009 |
Printed | Page 42 middle |
Neither the code in the book on pp. 41-42 for "query" nor the code |
Anonymous | Dec 18, 2009 |
Printed | Page 81 2nd code sample |
Code in the book is: |
jworeilly | Dec 17, 2009 |
Printed | Page 29 Page 29 top code sample |
I indeed made a mistake -- the intersection works as printed. |
jworeilly | Nov 22, 2009 |
Printed | Page 33 middle of code sample at top of page |
Needs another ">" before movie_stars=set() |
jworeilly | Nov 22, 2009 |
Printed | Page 19 2nd paragraph |
For those new to semantic web terminology, along with defining a "triple" in its sub-pred-obj form, you might want to add a sentence that a triple is, "An RDF graph, or simply a graph, is a set of RDF triples." (from http://www.w3.org/TR/rdf-mt/#graphdefs) |
jworeilly | Nov 22, 2009 |
Printed | Page 29 top code sample |
Perhaps I mistyped the code tutorial examples, but the sample movies.csv data file downloaded from the book website (http://semprog.com/psw/chapter2/) appears not to contain an intersection of movies directed by Steven Spielberg and starring Harrison Ford. Uploading a corrected sample data file will fix this. |
jworeilly | Nov 22, 2009 |
Printed | Page 23 3rd paragraph |
You might want to note that the samples in the book work with Python v. 2.x, not version 3.x. |
jworeilly | Nov 22, 2009 |
114 2nd last line of function getBands4Location() |
2nd last line of function getBands4Location() printed as |
Damon Tsang | Nov 22, 2009 | |
111 5th paragraph |
The code for LOD as mentioned in the book is |
Anonymous | Nov 22, 2009 | |
1.2.5 last paragraph |
"In fact, many "customizable" data applications such as Saleforce.com" should read "In fact, many "customizable" data applications such as Salesforce.com". |
Anonymous | Oct 17, 2009 | |
Printed | Page 45 5th paragraph |
In chapter 3 of the book, on page 45, I typed the following codes and got the following error messages: |
Laurence Samuels | Sep 18, 2009 |
Printed | Page 99 Code listing for function make_foaf_graph in the "for uri in current": loop |
The code creates an instance of urllib2.Request but there is no corresponding import statement at the beginning of the code file. |
Peter Haglich | Sep 10, 2009 |
Printed | Page 45 2nd code snippet |
The method EnemyRule._maketriples does not return a list of tuples, as expected by applyinference. This is how it should look like: |
Ben | Sep 09, 2009 |
Printed | Page 41 Last code snippet |
The method SimpleGraph.query won't generate the output from the examples on page 42. Querying for the contributions results in this output: |
Ben | Sep 09, 2009 |
Printed | Page 30 1st code sample |
A wrong method name is used on the SimpleGraph object. Typed into the Python console, the error shows up as: |
Ben | Sep 05, 2009 |
Printed | Page 82 3rd code listing |
Command is written |
Peter Haglich | Sep 04, 2009 |
Printed | Page 81 4th code listing |
Command as written is: |
Peter Haglich | Sep 04, 2009 |
Printed | Page 42 Python code session at bottom of page |
from simplegraph import SimpleGraph() |
Anonymous | Aug 24, 2009 |
Printed | Page 28 First code snippet |
The for loop: |
davidpark1 | Aug 20, 2009 |