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@IBMUS | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | To: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |Arthur Ryman/Toronto/IBM@IBMCA | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Cc: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |[email protected] | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | 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@IBMCA > To: Steve K Speicher/Raleigh/IBM@IBMUS > Cc: [email protected] > 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@IBMUS > > To: > > Arthur Ryman <[email protected]> > > Cc: > > [email protected] > > 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 <[email protected]> wrote on 07/21/2010 09:57:04 AM: > > > From: Arthur Ryman <[email protected]> > > To: Steve K Speicher/Raleigh/IBM@IBMUS > > Cc: [email protected], [email protected] > > 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 <[email protected]> > > To: > > [email protected] > > Date: > > 07/20/2010 07:19 PM > > Subject: > > [oslc-core] Query syntax BNF - What is uri_ref_esc ? > > Sent by: > > [email protected] > > > > > > > > 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 > > [email protected] > > http://open-services.net/mailman/listinfo/oslc-core_open-services.net > > > > > > >
