Example Lifecycle Query Engine queries

You query Lifecycle Query Engine by using the SPARQL query language. SPARQL resembles the Structured Query Language (SQL). You can use SPARQL to query a Resource Description Framework (RDF) database such as Lifecycle Query Engine.

Type the following query in Lifecycle Query Engine to find all assets related to work items that are not fixed.

SELECT * WHERE{
?asset <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> (http://www.w3.org/1999/02/22-rdf-syntax-ns#type%3E) <http://open-services.net/ns/asset#Asset> (http://open-services.net/ns/asset#Asset%3E) .
?asset <http://open-services.net/ns/asset#relatedChangeRequest> (http://open-services.net/ns/asset#relatedChangeRequest%3E) ?workitem .
?workitem <http://open-services.net/ns/cm#fixed> (http://open-services.net/ns/cm#fixed%3E) "false" .
}

Construct queries for different Tracked Resource Set providers by examining the specifications available on Open Services for Lifecycle Collaboration. For example, to construct a query for Rational® Asset Manager assets, see the proposed Open Services for Lifecycle Collaboration Asset Management Specification Version 2.0.


Feedback