[oslc-core] Behavior of oslc.where clauses in case of "multi-valued" properties

Denilson Nastacio dnastaci at us.ibm.com
Wed Oct 5 16:58:37 EDT 2011



Assuming http://server/resource/query URL that return IPNetwork instances,
would the above resource show up in query with the following oslc.where
clauses:

Would the resource below ...

   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc="http://open-services.net/ns/core#"
            xmlns:dcterms="http://purl.org/dc/terms/" xmlns:im="
http://tivoli-OSLC-prototypes/ns/im#">
       <oslc:IPNetwork rdf:about="
http://dii01.tivlab.raleigh.ibm.com:8080/oslc/rr/shapes/IPNetwork">
           <oslc:property>3</oslc:property>
           <oslc:property>4</oslc:property>
           <oslc:property>5</oslc:property>
           ...
       </oslc:IPNetwork>
    </rdf:RDF>

   --

...show up in these two queries?

   http://server/resource/query?oslc.where = property <= 4
   http://server/resource/query?oslc.where = property != 4
   http://server/resource/query?oslc.where = property = 4

At the heart of the question is the meaning of the comparison operator in
cases of multiple matching triples:
- **At least one** matching triple meets the criteria" or
- **Each** matching triple meets the criteria")

I am guessing the answer depends on the individual operator, but consulting
the larger group.


Regards
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
 Denilson                                        3901 S Miami                     
 Nastacio                                       Blvd                              
                                                                                  
 Chief                                           Durham,                          
 Programmer                                     27703-9135                        
 for Data                                                                         
 Integration                                                                      
 Services -                                                                       
 SWG Master                                                                       
 Inventor                                                                         
                                                                                  
 7APA                                            USA                              
                                                                                  
 IBM                                                                              
 Software                                                                         
 Group,                                                                           
 Tivoli                                                                           
                                                                                  
 Phone:      +1-919-224-1008                                                      
                                                                                  
 Mobile:     +1-919-412-4714                                                      
                                                                                  
 e-mail:     dnastaci at us.ibm.com                                                  
                                                                                  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://open-services.net/pipermail/oslc-core_open-services.net/attachments/20111005/13c59d0c/attachment-0003.html>
-------------- 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/20111005/13c59d0c/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 14239901.gif
Type: image/gif
Size: 360 bytes
Desc: not available
URL: <http://open-services.net/pipermail/oslc-core_open-services.net/attachments/20111005/13c59d0c/attachment-0001.gif>


More information about the Oslc-Core mailing list