[oslc-core] Query syntax BNF - What is uri_ref_esc ?
Arthur Ryman
ryman at ca.ibm.com
Wed Jul 21 13:59:29 EDT 2010
Steve,
I added a similar example to [1]
http://example.com/bugs?oslc.prefix=qm=<http://qm.example.com/ns>&
oslc.where=qm:testcase=<http://example.com/tests/31459>
[1]
http://open-services.net/bin/view/Main/OSLCCoreSpecQueryDRAFT?sortcol=table;up=#oslc_where
Regards,:
___________________________________________________________________________
Arthur Ryman, PhD, DE
Chief Architect, Project and Portfolio Management
IBM Software, Rational
Markham, ON, Canada | Office: 905-413-3077, Cell: Twitter | Facebook |
416-939-5063 YouTube
|------------>
| From: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|Steve K Speicher/Raleigh/IBM at IBMUS |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|Arthur Ryman/Toronto/IBM at IBMCA |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Cc: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|oslc-core at open-services.net |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|07/21/2010 12:58 PM |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|Re: [oslc-core] Query syntax BNF - What is uri_ref_esc ? |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
Arthur,
I think this would be very useful to add, it is it exactly.
Thanks,
Steve Speicher | IBM Rational Software | (919) 254-0645
Arthur Ryman/Toronto/IBM wrote on 07/21/2010 12:37:47 PM:
> From: Arthur Ryman/Toronto/IBM at IBMCA
> To: Steve K Speicher/Raleigh/IBM at IBMUS
> Cc: oslc-core at open-services.net
> Date: 07/21/2010 12:43 PM
> Subject: Re: [oslc-core] Query syntax BNF - What is uri_ref_esc ?
>
> Steve,
>
> The attribute rdf:resource is just the RDF/XML syntax for specifying
> the object of a triple. rdf:resource is itself not a property.
>
> I saw this comment from Ian Green:
>
> I would like to query for resources that have a relationship to some
> URI. So for example:
> <oslc:resource>
> <dc:title>some resource</dc:title>
> <acme:relationship rdf:resource="http://cyote.com/res/res1:"/>
> </oslc:resource>
> how would I construct a query to get all resources that have a
> <acme:relationship> with a the rdf:resource attribute of http://
> cyote.com/res/res1?
> we could treat rdf:resource as a special case I guess, but what if
> the property was:
> <acme:relationship priority="high" df:resource="http://cyote.com/res/res1
"/>
> Assume that the acme: prefix is mapped to http://acme.example.org/ns
> . Assume the query URL is http://acme.example.org/resource, and its
> members are the resources of type <oslc:resource> The query would be:
> http://acme.example.org/resource?oslc.prefix=acme=<
http://acme.example.org/ns
> >&oslc.where=acme:relationship=<http://cyote.com/res/res1>
>
> Is this example what you are looking for? If so I'll add it to the spec.
>
> If either URLs contain a '>' character, then it would be escaped as '\>'.
>
> Regards,
>
___________________________________________________________________________
>
> Arthur Ryman, PhD, DE
>
> Chief Architect, Project and Portfolio Management
>
> IBM Software, Rational
>
> [image removed]
>
> Markham, ON, Canada | Office: 905-413-3077, Cell: 416-939-5063
>
> Twitter | Facebook | YouTube:
>
> [image removed]
>
> From:
>
> Steve K Speicher/Raleigh/IBM at IBMUS
>
> To:
>
> Arthur Ryman <ryman at ca.ibm.com>
>
> Cc:
>
> oslc-core at open-services.net
>
> Date:
>
> 07/21/2010 11:24 AM
>
> Subject:
>
> Re: [oslc-core] Query syntax BNF - What is uri_ref_esc ?
>
> Arthur,
>
> Thanks. It would be helpful to see an example of this in the spec as
> well. Specifically, some questions I've heard is how one would reference
> @rdf:resource and quoting, etc.
>
> For example, how to query for a specific user URI.
>
> Thanks,
> Steve
>
> Arthur Ryman <ryman at ca.ibm.com> wrote on 07/21/2010 09:57:04 AM:
>
> > From: Arthur Ryman <ryman at ca.ibm.com>
> > To: Steve K Speicher/Raleigh/IBM at IBMUS
> > Cc: oslc-core at open-services.net, oslc-core-bounces at open-services.net
> > Date: 07/21/2010 09:57 AM
> > Subject: Re: [oslc-core] Query syntax BNF - What is uri_ref_esc ?
> >
> > Steve,
> >
> > This was defined in the selective properties BNF, which used to be in
> the
> > same document. After the split it got orphaned. I added back the
> > following:
> >
> > uri_ref_esc ::= /* an angle bracket-delimited URI reference in which
>
>
> > and \ are \-escaped. */
> >
> > Regards,
> >
>
___________________________________________________________________________
>
> >
> > Arthur Ryman, PhD, DE
> >
> >
> > Chief Architect, Project and Portfolio Management
> >
> > IBM Software, Rational
> >
> > Markham, ON, Canada | Office: 905-413-3077, Cell: 416-939-5063
> > Twitter | Facebook | YouTube
> >
> >
> >
> >
> >
> >
> >
> > From:
> > Steve K Speicher <sspeiche at us.ibm.com>
> > To:
> > oslc-core at open-services.net
> > Date:
> > 07/20/2010 07:19 PM
> > Subject:
> > [oslc-core] Query syntax BNF - What is uri_ref_esc ?
> > Sent by:
> > oslc-core-bounces at open-services.net
> >
> >
> >
> > The BNF Syntax at [1] seems to exclude the definition of uri_ref_esc
> which
> >
> > is used to define:
> >
> > value ::= uri_ref_esc | literal_value
> >
> > [1]
> > http://open-services.net/bin/view/Main/OSLCCoreSpecQueryDRAFT?
> > sortcol=table;up=#oslc_where
> >
> >
> > Thanks,
> > Steve Speicher | IBM Rational Software | (919) 254-0645
> >
> >
> > _______________________________________________
> > Oslc-Core mailing list
> > Oslc-Core at open-services.net
> > http://open-services.net/mailman/listinfo/oslc-core_open-services.net
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://open-services.net/pipermail/oslc-core_open-services.net/attachments/20100721/134e9e47/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16820722.gif
Type: image/gif
Size: 360 bytes
Desc: not available
URL: <http://open-services.net/pipermail/oslc-core_open-services.net/attachments/20100721/134e9e47/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://open-services.net/pipermail/oslc-core_open-services.net/attachments/20100721/134e9e47/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16825961.gif
Type: image/gif
Size: 7568 bytes
Desc: not available
URL: <http://open-services.net/pipermail/oslc-core_open-services.net/attachments/20100721/134e9e47/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://open-services.net/pipermail/oslc-core_open-services.net/attachments/20100721/134e9e47/attachment-0003.gif>
More information about the Oslc-Core
mailing list