6.3 will be released soon.
With it, you will be able to query class hierarchy the same way as you query
taxonomy
For example:
{
classes(uri: "http://www.w3.org/2002/07/owl#Thing") {
uri
superClassOf {
uri
superClassOf {
uri
}
}
}
}
Gives you owl:Thing and two levels down. You can also use something else as a
root.
> On Dec 2, 2019, at 8:28 PM, MB MB <[email protected]> wrote:
>
> Hi Holger,
>
> Thanks for your help so far. Even if there is a pure SPARQL version we can
> work out a JSON tree from it, but we are also interested in the SWP version
> as well. For this example we can use:
>
> Default namespace: http://example.org/ontologies/mike_test_2#
> Top Class: http://www.w3.org/2002/07/owl#Thing (I don't know if you need
> this)
> SubClass: http://similar2.com/ontology/landslideATmaterialVH#anyMaterial
>
> This is how our EDG console looks like.
>
> <Capture.PNG>
>
> Enter code here...
>
>
> By querying any of the available end points, we are looking to get back a
> JSON object similar to what EDG displays on the console.
>
> <Capture.PNG>
>
>
>
> Regards,
>
>
>
> Mike
>
>
>>
>
>
> --
> 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/5675bed8-ef0e-42f9-95b4-001f092aeb75%40googlegroups.com
>
> <https://groups.google.com/d/msgid/topbraid-users/5675bed8-ef0e-42f9-95b4-001f092aeb75%40googlegroups.com?utm_medium=email&utm_source=footer>.
> <Capture.PNG><Capture.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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/topbraid-users/DAD4AA9E-0CCC-4C39-AF57-FD764AC20220%40topquadrant.com.