- From: Andy Seaborne <andy@seaborne.org>
- Date: Fri, 21 Aug 2015 00:01:07 +0100
- To: semantic-web@w3.org
On 20/08/15 16:36, Paul Houle wrote: > Tell me if I am right or wrong about this. ... > I will take one step further than this and say that for pedagogical and > other coding situations, the extra length of prefix declarations is an > additional cognitive load on top of all the other cognitive loads of > dealing with the system, so in the name of concision you can do > something like > > @base <http://dbpedia.org/resource/> > @prefix : <http://dbpedia.org/ontology/> > > and then you can write :someProperty and <Stellarator>, and your > queries are looking very simple. > > The production for a QName cannot begin with a number so it is not > correct to write something like > > dbpedia:100 That is legal in RDF 1.1 Turtle and SPARQL 1.1. (technically, it's not called a qname - that's an XML-ism and this isn't XML.) > > or expect to have the full URI squashed to that. This kind of gotcha > will drive newbies nuts, and the realization of RDF as a universal > solvent requires squashing many of them. > Andy
Received on Thursday, 20 August 2015 23:01:38 UTC