[Mulgara-general] mulgara, type safety?

Alex Black alex at alexblack.ca
Tue Oct 27 15:46:39 UTC 2009


Ah, thanks.

On Tue, Oct 27, 2009 at 11:23 AM, Paul Gearon <gearon at ieee.org> wrote:

> On Tuesday, October 27, 2009, Alex Black <alex at alexblack.ca> wrote:
> > Hi Paul, thanks for the quick response!
> >
> > I'm using TQL (I believe) via the tutorial web interface:
> http://localhost:8088/tutorial/ExecuteQuery.html
> >
> > 1. I created a graph
> > 2. I executed two insert statements:
>
> <snip/>
>
> > a. I expected to see just 42 back, not the URI for integer
>
> The datatype will always be included with a literal. That web page
> always prints datatypes.
>
> > b. I expected inserting 'dog' as an integer to fail
>
> So did I, and that's what we used to do. However, apparently this is
> still valid RDF, so we're obliged to accept it. Just don't expect to
> see it in your results when you ask for numeric operations that refer
> to this value.
>
> Apparently the only literal that is allowed to fail is XMLLiteral.
>
> Regards,
> Paul
> _______________________________________________
> Mulgara-general mailing list
> Mulgara-general at mulgara.org
> http://mulgara.org/mailman/listinfo/mulgara-general
>



-- 
http://blog.alexblack.ca
http://twitter.com/waterlooalex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mulgara.org/pipermail/mulgara-general/attachments/20091027/b3acbec8/attachment.htm>


More information about the Mulgara-general mailing list