PiRSquared17 / data-gov-wiki

Automatically exported from code.google.com/p/data-gov-wiki
0 stars 0 forks source link

typo in the introduction of the sparql #53

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
really funny:)
" restricions makes these queries really long and hard to manage. More 
improtantly it is very likely that we make typos and sintactic mistakes."
 WHERE{
   ?node foaf:givenname ?name .
   ?nore rdf:type foaf:Person .
 }

there is a typo in ?nore :)

please see original text:

it is easy to see that adding more and more restricions makes these queries 
really long and hard to manage. More improtantly it is very likely that we make 
typos and sintactic mistakes. 
To solve this we can use PREFIX at the beginning of th query, which allows us 
to specify a namespace for the URIs. For example, the same query from above 
would look like

 PREFIX foaf: <http://xmlns.com/foaf/0.1/>
 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
 SELECT ?node ?name
 WHERE{
   ?node foaf:givenname ?name .
   ?nore rdf:type foaf:Person .
 }
 LIMIT 10

Original issue reported on code.google.com by veselin....@gmail.com on 12 Sep 2013 at 7:33