Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to get link validity(valid,invalid and suspect links) in JRS report using LQE

Is anyone knows how to get link validity(valid,invalid and suspect links) in JRS report using LQE as data source for generic requirements like :

Requirement > Satisfied By > Requirement1

0 votes



One answer

Permanent link

 See on-line documentation:

0 votes

Comments
From what I understand, the lines:
?ns_validity__ValidityLink1_uri <http://jazz.net/ns/validity#status> ?status_enum .

 BIND (IF (!bound(?status_enum), "Suspect", ?status_enum) as ?validity_status)

Should get the link validity status from the variable
?ns_validity__ValidityLink1_uri
and set the variable
?status_enum with the value.

From the Jazz Linked Data Vocabulary, that value is only Valid or Invalid. If it's Suspect
then
?status_enum should be empty. So the IF statement checks if ?status_enum is empty and if
so sets ?validity_status to "Suspect".

But, it doesn't work. Any suggestions?

There will be a validity status record only if the validity status is Valid or Invalid.   The validity is Suspect if no validity status record exists (and setting the validity status to Suspect deletes the validity status record).  So you need to somehow check for no validity status record existing (we'd need a SPARQL person to tell us how to do that).

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,700
× 1,381
× 360
× 25

Question asked: Jun 28 '18, 7:36 a.m.

Question was seen: 3,242 times

Last updated: Jul 23 '19, 5:54 p.m.

Confirmation Cancel Confirm