> On Apr 21, 2020, at 7:13 PM, Tim Smith <[email protected]> wrote: > > Hi, > > In the Class List Panel, is it possible to show only classes in the current > graph? > > When I select "Return local results only", I still see a lot of entries that > are coming from imports. The screenshot shows a number of entries from the > ns/vcard foaf ontologies including restrictions (bnodes).
Are you sure they are not in the local graph? The way to check is to click on a class and look in the Source Code panel. If you see something in the top of that panel, these are triples in the selected graph. For me, when I click on “Return local results only” in this panel, I do not get any classes from the included graphs. > > My objective is to find errors in my ontologies as I import over two dozen > ontologies into EDG (and convert to SHACL). I cannot find a way to run the > Problems and Suggestions report on my graph only. It always includes the > imports so I get a huge number of problems in ontologies that I do not > control. This makes it hard to tell what I need to fix in my ontology vs the > imports so was using the Class List Panel to help identify problems. You can go to http://localhost:8083/tbl/swp?_viewClass=tblshacl%3AValidationPage <http://localhost:8083/tbl/swp?_viewClass=tblshacl:ValidationPage> (if in TBC, otherwise replace localhost). You can run validation there and select whether to validate included graphs. I think when you use a Problems and Suggestions panel, validation will focus on resources that are members (transitively) of the main entity for the current asset collection. For example, if you look at TQ samples (downloaded from https://www.topquadrant.com/topbraid-composer-install/ <https://www.topquadrant.com/topbraid-composer-install/> ) and try to run validation of Currencies reference dataset, instances of countries will not be validated although they are included in currencies . But if you have two graphs where graph A is included in graph B, A contains instances of class X and class X is a subclass of the “main entity” for graph B, then I believe these will be validated when using Problems and Suggestion to run validation for graph B. There is also a way to filter in order to validate only instances of a class you select (click on the filter icon in the panel). > > Tim > > <image.png> > > -- > 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/CAF0Wbn%2BZjZUctPOnHCGZ2HOvYuXE1aaB3jfmW6tJxndegZ3YuA%40mail.gmail.com > > <https://groups.google.com/d/msgid/topbraid-users/CAF0Wbn%2BZjZUctPOnHCGZ2HOvYuXE1aaB3jfmW6tJxndegZ3YuA%40mail.gmail.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/D88D6309-E9B9-4C20-A249-26E72550AD0E%40topquadrant.com.
