Broader support for DASH test cases?

142 views
Skip to first unread message

Adam Kimball

unread,
Dec 26, 2023, 4:38:31 PM12/26/23
to TopBraid Suite Users
I'm curious if there exist any Python libraries that can recognize and work with DASH test cases.  The functionality is awesome in EDG and Composer but I'd really like to have it as a part of a generalized toolset.

-Adam

Holger Knublauch

unread,
Dec 28, 2023, 6:48:12 AM12/28/23
to 'Bohms, H.M. (Michel)' via TopBraid Suite Users
Hi Adam,

we do not have explicit Python libraries, but test cases are executed as part of the GraphQL web service behind the Problems and Suggestions report. For example, call

{
  graphReport {
    results {
      message
    }
  }
}

against the GraphQL endpoint. You could wrap this request into a Python library.

Not sure if this is the kind of test case execution you're looking for?

Holger


On 26 Dec 2023, at 10:38 pm, Adam Kimball <adamfk...@gmail.com> wrote:

I'm curious if there exist any Python libraries that can recognize and work with DASH test cases.  The functionality is awesome in EDG and Composer but I'd really like to have it as a part of a generalized toolset.

-Adam

--
The topics of this mailing list include TopBraid EDG and related technologies such as SHACL.
To post to this group, send email to topbrai...@googlegroups.com
---
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 topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/295474b5-34c3-4305-9438-7517f71edb51n%40googlegroups.com.

Matt Goldberg

unread,
Dec 28, 2023, 4:43:16 PM12/28/23
to topbrai...@googlegroups.com
Hello-

If you really want python and you're okay with not using TopBraid directly as was previously suggested, pyshacl (https://github.com/RDFLib/pySHACL) has support for DASH tests. As a middle ground option, there's a function in there that can be used to compare a validation report (perhaps generated by TopBraid) against a DASH test if you don't want to use pyshacl to do the actual validation. 

Adam Kimball

unread,
Jan 4, 2024, 9:00:52 AM1/4/24
to TopBraid Suite Users
Thanks, Holger and Matt!

I didn't know PySHACL supported the DASH test case.  That would be perfect.  Thanks a ton and happy new year!

Adam
Reply all
Reply to author
Forward
0 new messages