Were there any more details in the error message? Usually there is a full stack trace, e.g in the Error Log of TBC (try to double click on an error there).

Holger


On 17/06/2020 14:56, Emily Zhang wrote:
Hi Irene,
Thanks for being so patient with me! When I was trying to run the instance validation in composer, I got the error message "Could not run constraint checker java.lang.reflect.InvocationTargetException." How can I solve this problem?
Best,
Emily


在 2020年6月16日星期二 UTC-5下午2:31:38,Irene Polikoff写道:

    Please see below

    On Jun 16, 2020, at 3:12 PM, Emily Zhang <[email protected]
    <javascript:>> wrote:

    Thanks, Holger. I guess all the questions I am having is due to
    the lack of document explanation for "data graph" and "shapes graph”.

    SHACL is a standard. Data graph and shapes graph are standard
    terms. In terms of documentation, it is provided in the
    specification: https://www.w3.org/TR/shacl/#validation
    <https://www.w3.org/TR/shacl/#validation>

    I don't know what's the parameters/keywords that validation need
    to take in in order to produce results.

    I am guessing that I have to link the "data graph" with hundreds
    of examples to the name of "class" which I defined in the "shapes
    graph”?

    Data graph is a graph that contains data that you need to
    validate. There is no limit on the number of resources in the graph.

    And for the "shape graph", can I just upload the entire "ttl"
    file that I created in Topbraid ME using SHACL where I defined
    the constrains for property?

    Shapes graph needs to contain some SHACL Shapes. It can contain
    other information as well.

    Appreciate a lot!

    Still, not sure what is unclear. I answered this already in the
    previous e-mail, so I am not providing any new info.

    Emily
    在 2020年6月15日星期一 UTC-5下午8:03:23,Holger Knublauch写道:

        Yes, if you have an external program that produces the TTL
        then (of course) you can upload that directly.

        Holger


        On 16/06/2020 10:58, Emily Zhang wrote:
        Thanks a lot! If I have hundreds of instance to validate,
        would it be possible if I transferred all the instance into
        ttl format and upload it to the validation webpage? So that
        I could skip the process to manually create all the
        instances in Topbraid software.

        在 2020年6月10日星期三 UTC-5下午5:18:31,Irene Polikoff写道:

            Yes. Shape graph and data graph are roles. The same
            graph can play both roles.

            On Jun 10, 2020, at 5:43 PM, Emily Zhang
            <[email protected]> wrote:

            Thanks Irene! I guess I was confused because there are
            two ttl files we need to upload, one for the data
            graph, one for the shape graph. If I understood it
            correctly, data graph is the example you want to
            validate, and shape graph is for the constraint of your
            example. I am not sure how that work if I provide the
            entire file for my ontology, do I upload the same file
            for data graph and shape graph, and the algorithm will
            detect what's example to validate and what's the
            constraint by itself?

            在 2020年6月10日星期三 UTC-5上午2:44:52,Irene
            Polikoff写道:

                It does not matter. You can use the file you
                already have. You do not need to “export” anything.
                Just provide the entire file as input.
                Alternatively, you could copy and paste Turtle
                serialization of the file e.g., open it in the text
                editor and copy and paste everything.

                On Jun 9, 2020, at 5:34 PM, Emily Zhang
                <[email protected]> wrote:

                Thank you, Irene! If I've defined the constraint
                using SHACL in topbraid ME, would it be easier to
                export the constraint in the formal of turtle or
                just create a stand-alone file to upload to the
                validation page?


                在 2020年6月8日星期一 UTC-5下午6:57:04,Irene
                Polikoff写道:

                    Source code = text serialization of the RDF
                    graph in Turtle, RDF/XML or JSON-LD.

                    Shapes graph = a graph that contains SHACL
                    Shapes your data should be validated against.

                    Data graph = a graph that contains data to be
                    validated

                    These could be the same graphs

                    I would suggest experimenting first using this
                    page
                    
http://localhost:8083/tbl/swp?_viewClass=tblshacl%3AValidationPage
                    
<http://localhost:8083/tbl/swp?_viewClass=tblshacl:ValidationPage>

                    On Jun 8, 2020, at 6:45 PM, Emily Zhang
                    <[email protected]> wrote:

                    I've opened the
                    
http://localhost:8083/tbl/swp?_viewClass=tblshacl:ValidationPage
                    
<http://localhost:8083/tbl/swp?_viewClass=tblshacl:ValidationPage> successfully.
                    Thank you again!
                    However, I am a newbie in this field. Would
                    it be possible to point me to some examples
                    of what "source code of data/shapes graph"
                    should look like?


                    在 2020年6月8日星期一 UTC-5下午4:19:27,Emily
                    Zhang写道:

                        Thanks Irene. Just wanted to confirm,
                        does it mean I can hold the local service
                        with the same HTML interface in the
                        article using my Masetro application. The
                        only difference is that this web service
                        can't be shared with others like EDG does?

                        在 2020年6月4日星期四 UTC-5下午8:00:31,Irene
                        Polikoff写道:

                            Emily,

                            For the development and testing
                            purposes you can try the web service
                            locally at that URL -
                            http://localhost:8083/tbl/shaclValidation
                            <http://localhost:8083/tbl/shaclValidation>

                            This blog
                            
https://www.topquadrant.com/topbraid-as-a-data-validation-server/
                            
<https://www.topquadrant.com/topbraid-as-a-data-validation-server/> describes
                            the parameters accepted by the
                            service. The syntax is
                            
http://localhost:8083/tbl/shaclValidation&param1=value1&param2=value2
                            
<http://localhost:8083/tbl/shaclValidation&param1=value1&param2=value2> ...


                            You could also try the same
                            parameters through the HTML page at
                            
http://localhost:8083/tbl/swp?_viewClass=tblshacl%3AValidationPage
                            
<http://localhost:8083/tbl/swp?_viewClass=tblshacl:ValidationPage>


                            Servlet in TBC is for development
                            purposes only because TBC is not
                            intended to be used “in production”.
                            Requests over the network will not be
                            accepted. For that, you need EDG
                            server which is deployed on Tomcat.



                            On Jun 4, 2020, at 6:23 PM, Emily
                            Zhang <[email protected]> wrote:

                            Thanks Irene! The link works now. I
                            do have an additional question, the
                            article said "TopBraid Composer
                            Maestro Edition includes a simpler
                            web service for programmatic access
                            to the SHACL validation engine." Do
                            we have any tutorial of how to use
                            that engine in Maestro Version?


                            在 2020年6月2日星期二
                            UTC-5下午11:18:13,Irene Polikoff写道:
                            Hi Emily,

                            Thanks for reporting the problem. We
                            have fixed the broken links.

                            On Jun 2, 2020, at 11:26 PM, Emily
                            Zhang <[email protected]
                            <http://gmail.com/>> wrote:

                            Dear Topquandrant Training Team
                            members,

                            I am a customer for Topquandrant
                            Maester version. We mainly
                            purchased it because we want to use
                            its validation function.

                            And I’ve found this article which
                            give an overview of what the
                            validation tool looks like, and it
                            was fascinating! https://www
                            <https://www/>.topquadrant.com/topbraid-as-a-
                            
<http://topquadrant.com/topbraid-as-a->data-validation-server/


                            However, when I tried to find more
                            articles regarding the details such
                            as "post on Using SHACL Data
                            Constraints in the TopBraid Web
                            products EVN and EDG” and the
                            article titled “How to use top
                            braid EDG as a data validation
                            server” they all showed “Page not
                            found”. I am just wondering if
                            there is any new links for the
                            related materials or there is any
                            other resources?

                            Many thanks!

                            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/62c10795-8371-49fe-bf72-a59b73044b74%40googlegroups.com
                            
<https://groups.google.com/d/msgid/topbraid-users/62c10795-8371-49fe-bf72-a59b73044b74%40googlegroups.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 [email protected].
                            To view this discussion on the web
                            visit
                            
https://groups.google.com/d/msgid/topbraid-users/d8db0255-2f75-4a5c-bd86-1585bafd49b4o%40googlegroups.com
                            
<https://groups.google.com/d/msgid/topbraid-users/d8db0255-2f75-4a5c-bd86-1585bafd49b4o%40googlegroups.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
                    [email protected].
                    To view this discussion on the web visit
                    
https://groups.google.com/d/msgid/topbraid-users/142a1400-94df-4484-89be-b8e2e78478bfo%40googlegroups.com
                    
<https://groups.google.com/d/msgid/topbraid-users/142a1400-94df-4484-89be-b8e2e78478bfo%40googlegroups.com?utm_medium=email&utm_source=footer>.


-- 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/99ac4d52-e7b5-497f-bc4c-9dd01b9cca22o%40googlegroups.com
                
<https://groups.google.com/d/msgid/topbraid-users/99ac4d52-e7b5-497f-bc4c-9dd01b9cca22o%40googlegroups.com?utm_medium=email&utm_source=footer>.


-- 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/abeedf63-1d4e-4417-bccb-2c3e02d2e9b5o%40googlegroups.com
            
<https://groups.google.com/d/msgid/topbraid-users/abeedf63-1d4e-4417-bccb-2c3e02d2e9b5o%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 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/d2aadc9e-e29f-426e-8e50-fb69effde63eo%40googlegroups.com
        
<https://groups.google.com/d/msgid/topbraid-users/d2aadc9e-e29f-426e-8e50-fb69effde63eo%40googlegroups.com?utm_medium=email&utm_source=footer>.


-- 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] <javascript:>.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/topbraid-users/0c9560f5-559a-4cc8-801d-ce7ee620aa7ao%40googlegroups.com
    
<https://groups.google.com/d/msgid/topbraid-users/0c9560f5-559a-4cc8-801d-ce7ee620aa7ao%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/3ea3f467-a065-4591-be29-627113ca6631o%40googlegroups.com <https://groups.google.com/d/msgid/topbraid-users/3ea3f467-a065-4591-be29-627113ca6631o%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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/d075f802-847c-8f96-437a-feedf313d9ca%40topquadrant.com.

Reply via email to