This page describes the use cases, requirements and draft specification for an CQL [SearchRetrievePt5] Profile of RegRep4:

Justification

Vision

Use Cases Illustrated By Example CQL Queries

See Use Cases of ImageProfile for how we envision CQL to be used with RegRep server.

Requirements

Specification

RegistryObject Context Set

Indexes Defined

The following indexes are defined by this context set. Format is: index name, data type, semantics:

Canonical Data Defined By Profile

So far all we need to define is a new ClassificationNode in QueryLanguages ClassificationScheme to represent CQL query language.

<?xml version="1.0" encoding="UTF-8"?>
<SubmitObjectsRequest id="urn:oasis:names:tc:ebxml-regrep:request:id" 
                      xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:4.0"
                      xmlns:lcm="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:4.0"
                      xmlns:query="urn:oasis:names:tc:ebxml-regrep:xsd:query:4.0"
                      xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0"
                      xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:4.0"
                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                      xmlns:xlink="http://www.w3.org/1999/xlink"
                      xsi:schemaLocation="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:4.0  http://docs.oasis-open.org/regrep/regrep-core/v4.0/cos01/xsd/lcm.xsd">
    <rim:RegistryObjectList>
        
        <rim:RegistryObject xsi:type="rim:RegistryPackageType" lid="urn:oasis:names:tc:ebxml-regrep:profile:cql" id="urn:oasis:names:tc:ebxml-regrep:profile:cql">
            <rim:Name>
                <rim:LocalizedString value="CQL Profile"/>
            </rim:Name>
            <rim:Description>
                <rim:LocalizedString value="Folder for all objects defined by the CQL Profile of ebXML RegRep."/>
            </rim:Description>
            <rim:VersionInfo userVersionName="1.0"/>
            <rim:RegistryObjectList>
    
              <rim:RegistryObject xsi:type="rim:ClassificationNodeType" lid="urn:oasis:names:tc:ebxml-regrep:QueryLanguage:CQL" code="CQL" id="urn:oasis:names:tc:ebxml-regrep:QueryLanguage:CQL" objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:ClassificationNode" parent="urn:oasis:names:tc:ebxml-regrep:classificationScheme:QueryLanguage">
                <rim:Name>
                  <rim:LocalizedString xml:lang="en-US" value="CQL"/>
                </rim:Name>
              </rim:RegistryObject>
                
            </rim:RegistryObjectList>
        </rim:RegistryObject>
    </rim:RegistryObjectList>
    
</SubmitObjectsRequest>

Examples of CQL Profile Use

See ImageProfile for an example of CQL Profile use.

Open Issues

References

documents/plan/regrep4/CQLProfile (last edited 2012-10-30 21:45:08 by farrukh)