OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

regrep message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [Fwd: [JIRA] Updated: (REGREPTC-118) Need QueryResponse to allowreturning non-RegistryObjectList response such as a SPARQL response.]


Dear colleagues,

Please comment on this new issue and proposed solution.

Note that this allows the following spec content to be written for OWL profile 2.0:

QueryResponse Requirements

A server MUST process a SPARQL query and return its response within a QueryResponse. The following additional requirements are defined for a server to return a QueryResponse for a SPARQL query:

  • A server MUST process the SPARQL query according to [SPARQL] within the context of the OWL content published within its repository. Specifically a server SHOULD NOT need to query its Registry metadata to process the SPARQL query

  • A server MUST return the SPARQL response as a sparqlx:sparql element in the SPARQL Query Results XML Format as specified by [SPARQLX]

  • The sparqlx:sparql MUST be the child element of the query:QueryResponse element
    This part of the spec relies on core query.xsd schema to be fixed per issue 118. We assume there will be an xs:any added to rs:RegistryResponseType which is extended by query:QueryResponse.

  • The QueryResponse element SHOULD NOT have a query:RegistryObjectsList child element

The following example shows SPARQL response within a QueryResponse:

<query:QueryResponse ...>
  ...
 
<sparqlx:sparql>
 
</sparqlx:sparql>
<query:QueryResponse>



Thanks.


-- 
Regards,
Farrukh

Web: http://www.wellfleetsoftware.com

--- Begin Message ---

     [ http://wxforge.wx.ll.mit.edu:8080/jira/browse/REGREPTC-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Farrukh Najmi updated REGREPTC-118:
-----------------------------------

        Summary: Need QueryResponse to allow returning non-RegistryObjectList response such as a SPARQL response.  (was: Need QuueryResponse to allow returning non-RegistryObjectList response such as a SPARQL response.)
    Description: 
The proposed solution is to simply add an xs:any element in RegistryResponseType as follows:

    <complexType name="RegistryResponseType">
        <annotation>
            <documentation xml:lang="en">Base type for all ebXML Registry responses</documentation>
        </annotation>
        <complexContent>
          <extension base="rim:ExtensibleObjectType">
            <sequence>
              <element name="RegistryObjectList" type="rim:RegistryObjectListType" minOccurs="0" maxOccurs="1"/>
              <!--Add the following-->
              <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="1"/>
            </sequence>
            <attribute name="status" type="rim:objectReferenceType" use="required"/>
            <!-- id is the request if for the request for which this is a response -->
            <attribute name="requestId" type="anyURI" use="optional"/>
          </extension>
        </complexContent>
    </complexType>

This allows for a QueryResponse to include an arbitrary XML document. For non-XML formats the XML document could simply any wrapper element with content that is the non-XML content.


> Need QueryResponse to allow returning non-RegistryObjectList response such as a SPARQL response.
> ------------------------------------------------------------------------------------------------
>
>                 Key: REGREPTC-118
>                 URL: http://wxforge.wx.ll.mit.edu:8080/jira/browse/REGREPTC-118
>             Project: ebXML RegRep TC
>          Issue Type: Improvement
>          Components: ebRS 4.0 Spec
>            Reporter: Farrukh Najmi
>            Assignee: Farrukh Najmi
>
> The proposed solution is to simply add an xs:any element in RegistryResponseType as follows:
>     <complexType name="RegistryResponseType">
>         <annotation>
>             <documentation xml:lang="en">Base type for all ebXML Registry responses</documentation>
>         </annotation>
>         <complexContent>
>           <extension base="rim:ExtensibleObjectType">
>             <sequence>
>               <element name="RegistryObjectList" type="rim:RegistryObjectListType" minOccurs="0" maxOccurs="1"/>
>               <!--Add the following-->
>               <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="1"/>
>             </sequence>
>             <attribute name="status" type="rim:objectReferenceType" use="required"/>
>             <!-- id is the request if for the request for which this is a response -->
>             <attribute name="requestId" type="anyURI" use="optional"/>
>           </extension>
>         </complexContent>
>     </complexType>
> This allows for a QueryResponse to include an arbitrary XML document. For non-XML formats the XML document could simply any wrapper element with content that is the non-XML content.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://wxforge.wx.ll.mit.edu:8080/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

--- End Message ---


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]