Hi all,
This is a simple question regarding SHACL functions in TBCME. Apologize for 
posting it here, I didn't find any other places to discuss this. Please 
point me to it if you know any place like "StackOverflow" for SHACL. 
Based on my previous question, I trying to build a validation rule to 
identify the possible disease type of patients. My current rule is: if the 
subject has any of the features A, B, C, AND it doesn't have feature D. 
Then the subject could be predicted as having object X. I am using the 
function "sh:in" to include the feature A, B, C. However, I am stuck at the 
place of how to present the negative presence of feature D. I've tried to 
search for all the SHACL rule on W3C, and here is one I found that could be 
relevant.
        sh:property [
                sh:path ex:bCode ;
                sh:pattern "D" ;    
                sh:flags "i" ;       # Ignore case
        ] .
I use the string from feature D as the pattern to ignore. However, it 
doesn't work. The subject with feature D was still be predicted as subject 
X. 
Was I on the wrong track? What's a more accurate SHACL function to define 
the non-presence of a feature? The feature I am talking about here is the 
Nodeshape under properties. 
Thanks a lot,
Emily

-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/64d2ec6c-c3d9-4b96-9550-9551241c7af1n%40googlegroups.com.

Reply via email to