[oslc-ArchMgmt] Predefined query supporting integration use cases

Robert W Myers rwmyers at us.ibm.com
Fri Aug 31 08:42:11 EDT 2012


Here is one integration use case that I think we should consider.

1. As in ROCR, there is a PAR Project Area with Synchreplicated APARs.
OSLC linked to the APARs may be Developer Defects from many Project Areas 
on several Jazz Team Servers. 
Each of the Developer defect PAs have been independently developed and 
data values are not consistent from PA to PA. 
        For example:  In some Dev PAs (DPA1), Priority is "P1", "P2", "P3" 
 On others  (DPA2)  Priority is "1", "2", "3" and on others  (DPA3), 
"High", "Medium", "Low"
My use case is:
Return all APARs linked to Defects of Priority=Highest Priority
Any APAR could be linked to DPA1, DPA2 or DPA3.  (Typically this is a 1-1 
relationship)
There might be a Transform-like table available to the SPARQL Select 
statement with mappings like the following:
Priority Incoming value  Priority Queryable and Displayable Value
P1
1
P2
2
P3
3
1
1
2
2
3
3
High
1
Medium
2
Low
3
I would like to write a SPARQL statement roughly like the following:

Select ?APAR_Num ?Defect_URI  WHERE {
?URI            rdf:type                        oslc_cm:APAR . 
?URI            oslc_cm:APAR_Num        ?APAR_Num                       . 
?URI            dcterms:LinkType        "RelatedChangeRequest"  .
?URI            oslc_cm:Link            ?Defect_URI                     .
?Defect_URI     rdf:type                        oslc_cm:Defect .
?Defect_URI     dcterms:Defect_Priority "1"





More information about the Oslc-Am mailing list