Bernhard,

Looks like a bug in Virtuoso. I guess a Turtle-ism crept into the N- 
Triples serializer. As a workaround, you could try sending DBpedia RDF/ 
XML output through something like triplr.org to obtain valid N-Triples.

Best,
Richard


On 14 Aug 2009, at 09:41, Bernhard Schandl wrote:

> Hi,
>
> I am retrieving data from dbpedia in N-TRIPLES format since my client
> supports only this serialization format. However I wonder if the
> output provided by dbpedia is invalid: for instance, when I issue the
> query
>
> DESCRIBE <http://dbpedia.org/resource/Vienna>
>
> with header "Accept: text/plain" [1] the result contains the following
> line:
>
> <http://dbpedia.org/resource/Vienna>  <http://dbpedia.org/property/areaLandKm
>>      395.51 .
>
> However according to [2] literals in N-triples must be encapsulated in
> quotation marks.
>
> [1] curl -H "Accept: text/plain" 
> http://dbpedia.org/sparql?query=describe+dbpedia%3AVienna%0D%0A
> [2] <http://www.w3.org/TR/rdf-testcases/#ntriples>
>
> Is this a bug/problem in dbpedia or am I getting something wrong?
>
> Thanks, and best regards
> Bernhard
>
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
> 30-Day
> trial. Simplify your report design, integration and deployment - and  
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Dbpedia-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to