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 Suspectthen ?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?
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPERJul 23 '19, 5:54 p.m.
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).
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.