Re: Functions in N3 (was: Re: What Happened to the Semantic Web?)

For the moment just IRIs for everything, see e.g.
https://github.com/josd/fluid/blob/master/bi/biP.n3
https://github.com/josd/fluid/blob/master/rif/rifP.n3


Kind regards,
Jos

Jos De Roo   | Agfa HealthCare
R&D engineer | Cognitive Computing Competence Center
http://josd.github.io/

Agfa HealthCare NV, Moutstraat 100, B-9000 Gent, Belgium
http://www.agfa.com/healthcare

-----Eric Prud'hommeaux <eric@w3.org> wrote: -----

> To: Jos De Roo/AMDUS/AGFA@AGFA
> From: Eric Prud'hommeaux <eric@w3.org>
> Date: 12/02/2017 01:03PM
> Cc: Martynas Jusevi&#269;ius <martynas@atomgraph.com>, Gregory Williams
> <greg@evilfunhouse.com>, Andreas Harth <andreas@harth.org>, "Sean B.
> Palmer" <sean@miscoranda.com>, SW-forum Web <semantic-web@w3.org>,
> public-lod <public-lod@w3.org>, www-archive <www-archive@w3.org>,
> Ivan Herman <ivan@w3.org>
> Subject: Re: Functions in N3 (was: Re: What Happened to the Semantic
> Web?)
> 
> * Jos De Roo <jos.deroo@agfa.com> [2017-12-02 12:36+0100]
> > +1
> > i.e. I would implement them and add them to
> > https://github.com/josd/eye/blob/master/eye-builtins.n3
> > well, at least try :-)
> 
> is this basically IRIs and an RDF grammar for the operators?
> the functions already have IRIs from XPath and XML Schema.
> 
> 
> > Kind regards,
> > Jos
> > 
> > Jos De Roo   | Agfa HealthCare
> > R&D engineer | Cognitive Computing Competence Center
> > http://josd.github.io/
> > 
> > Agfa HealthCare NV, Moutstraat 100, B-9000 Gent, Belgium
> > http://www.agfa.com/healthcare
> > 
> > -----Martynas Jusevi&#269;ius <martynas@atomgraph.com> wrote:
> -----
> > 
> > > To: Gregory Williams <greg@evilfunhouse.com>
> > > From: Martynas Jusevi&#269;ius <martynas@atomgraph.com>
> > > Date: 12/02/2017 01:18AM
> > > Cc: Andreas Harth <andreas@harth.org>, "Sean B. Palmer"
> > > <sean@miscoranda.com>, SW-forum Web <semantic-web@w3.org>,
> > > public-lod <public-lod@w3.org>, www-archive
> <www-archive@w3.org>,
> > > Ivan Herman <ivan@w3.org>
> > > Subject: Re: Functions in N3 (was: Re: What Happened to the
> Semantic
> > > Web?)
> > > 
> > > Gregory,
> > > are you still planning to upload the vocabularies?
> > > I have a use case for it :) To specify the function to apply in
> a
> > > FILTER. I'd much rather use a function URI than a label literal.
> > > 
> > > Martynas
> > > On Fri, Oct 13, 2017 at 5:30 PM, Gregory Williams
> > > <greg@evilfunhouse.com> wrote:
> > > /cc Ivan Herman
> > > 
> > > 
> > > 
> > > On Oct 13, 2017, at 8:14 AM, Andreas Harth <andreas@harth.org>
> > > wrote:
> > > 
> > > >
> > > 
> > > > The lack of URIs for SPARQL functions has irked me for a
> while.
> > > 
> > > >
> > > 
> > > > We have been using N3 as rule syntax in our Linked Data-Fu
> system,
> > > 
> > > > and have found that the CWM builtins [1] are problematic.
> Some
> > > really
> > > 
> > > > useful functions are missing (such as isLiteral(), isURI,
> > > datatype()),
> > > 
> > > > and some of the existing functions are underspecified
> concerning
> > > the
> > > 
> > > > support for datatypes.
> > > 
> > > >
> > > 
> > > > SPARQL has a much more complete set of functions and it would
> be
> > > nice to
> > > 
> > > > be able to use those in N3.  Defining a prefix for the SPARQL
> > > builtin
> > > 
> > > > functions (and operators) should be easy.  I wonder why nobody
> has
> > > done
> > > 
> > > > that already.
> > > 
> > > 
> > > 
> > > During the SPARQL 1.1 WG, it was always my intention to define
> IRIs
> > > for all the built-in functions. We even set up a namespace for
> > > it[1]. Alas, it seems it was never properly populated, as BOUND
> is
> > > the only function with an assigned IRI. Maybe it would still be
> > > possible to get those all assigned&#8212;I still have local
> working copies
> > > of what I think should be in /ns/sparql.
> > > 
> > > 
> > > 
> > > Thanks,
> > > 
> > > Greg
> > > 
> > > 
> > > 
> > > [1] https://www.w3.org/ns/sparql
> > > 
> > >
> > 
> 
> -- 
> -ericP
> 
> office: +1.617.599.3509
> mobile: +33.6.80.80.35.59
> 
> (eric@w3.org)
> Feel free to forward this message to any list for any purpose other
> than
> email address distribution.
> 
> There are subtle nuances encoded in font variation and clever layout
> which can only be seen by printing this message on high-clay paper.
> 

Received on Saturday, 2 December 2017 13:36:58 UTC