W3C home > Mailing lists > Public > public-gld-comments@w3.org > November 2013

Hairy syntax in QB complete example

From: Timothy Lebo <lebot@rpi.edu>
Date: Wed, 20 Nov 2013 16:22:05 -0500
Message-Id: <F482767E-FD2D-43D5-A48F-5DA64E27E68C@rpi.edu>
Cc: sesame-general@lists.sourceforge.net
To: public-gld-comments@w3.org
GLD,

(or, perhaps this is just a Sesame bug, but I wanted GLD to consider the accessibility of their example in different existing tools)

http://www.w3.org/TR/2013/CR-vocab-data-cube-20130625/#example
    has a bit of a hairy syntax that hangs up Sesame 2.6.10 (but rapper 2.0.9 handles it fine):

The local name “sdmx-subject:3.2” starts with a digit:

@prefix dct:          <http://purl.org/dc/terms/> .
@prefix sdmx-subject: <http://purl.org/linked-data/sdmx/2009/subject#> .
@prefix ex-geo:       <http://example.org/geo#> .
@prefix qb:           <http://purl.org/linked-data/cube#> .
@prefix eg:           <http://example.org/ns#> .

eg:dataset-le3 a qb:DataSet;
    dct:subject
        sdmx-subject:3.2 ,      # regional and small area statistics
        sdmx-subject:1.4 ,      # Health
        ex-geo:wales;           # Wales
    .


results in "org.openrdf.rio.RDFParseException: Illegal subject value: “2”^^xsd:integer “

Thanks,
Tim Lebo
Received on Wednesday, 20 November 2013 21:22:36 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 20 November 2013 21:22:36 UTC