Re: [Sesame] Hairy syntax in QB complete example

On 20/11/13 22:23, Timothy Lebo wrote:
> Hi, Peter,
>
> Does the QB document state that it’s assuming the latest Turtle Rec?

Yes. In Section 3 "Namespaces and Document Conventions" it states:

"""
All RDF examples are written in Turtle syntax [TURTLE-TR].
"""

Which in turn links to:

"""
Eric Prud'hommeaux, Gavin Carothers. Turtle: Terse RDF Triple Language. 
19 February 2013. W3C Candidate Recommendation. URL: 
http://www.w3.org/TR/2013/CR-turtle-20130219/
"""

Dave

>
> In my quick “as a user” skim, it’s not obvious to me. Just pointers to http://www.w3.org/TR/REC-rdf-syntax/
>
> Best,
> Tim
>
>
>
> On Nov 20, 2013, at 4:59 PM, Peter Ansell <ansell.peter@gmail.com> wrote:
>
>> That is likely due to Sesame not having updated to the Turtle CR yet,
>> as previously the dot character was not allowed in localname in the
>> previous specification.
>>
>> Cheers,
>>
>> Peter
>>
>> On 21 November 2013 08:22, Timothy Lebo <lebot@rpi.edu> wrote:
>>> 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
>>>
>>> ------------------------------------------------------------------------------
>>> Shape the Mobile Experience: Free Subscription
>>> Software experts and developers: Be at the forefront of tech innovation.
>>> Intel(R) Software Adrenaline delivers strategic insight and game-changing
>>> conversations that shape the rapidly evolving mobile landscape. Sign up now.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Sesame-general mailing list
>>> Sesame-general@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/sesame-general
>>>
>>
>> ------------------------------------------------------------------------------
>> Shape the Mobile Experience: Free Subscription
>> Software experts and developers: Be at the forefront of tech innovation.
>> Intel(R) Software Adrenaline delivers strategic insight and game-changing
>> conversations that shape the rapidly evolving mobile landscape. Sign up now.
>> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Sesame-general mailing list
>> Sesame-general@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sesame-general
>
>

Received on Wednesday, 20 November 2013 23:06:34 UTC