Sanjeev, This can be done with a combination of a few of our different built in services. All of our services allow for a _base parameter, which denotes the base graph upon which to run the service against - so they can be run generically against any graph we choose.
skostemplate:RootConcepts will return all of the root concepts for you. For 5.3 - we've added skosTemplate:TopConcepts - which will return the same result for Taxonomies in a slightly more performant manner. skostemplate:NarrowerConcepts will return all of the children of a specific concept for you. Information on the skostemplate services can be found here (with TBCME running): http://localhost:8083/tbl/swp?_viewClass=servicedoc:Index The ones we're interested in are under the 'TopBraid SKOS Templates' heading. the DESCRIBE servlet can be used to return all of the information about a specific concept - so we can use this to get all of the predicates/objects for a specific item. More information on this can be found in TBCME Help under TopBraid Composer -> TopBraid Live Integration -> The DESCRIBE servlet. Ultimately, you could do something like this: 1) get all roots 2) get all info about a root 3) get all children of the root 4) get all info about each child and go back to 3 1 would be achieved with skostemplate:RootConcepts, 3 would be achieved with skostemplate:NarrowerConcepts, and 2 and 4 would be achieved with the DESCRIBE servlet. If you want to user a smaller number of services, you also have the option of writing your own. Hope it helps, Pat On Mon, Mar 27, 2017 at 10:18 AM, sanjeev devireddy < [email protected]> wrote: > Hi, > There is a requirement to generate a HTML page as shown below for a given > vocabulary. So I just want check that, are there any SPARQL / REST services > to traverse through all the Subjects/Nodes with predicates and objects of a > given vocabulary. > > In specific, we are looking for SPARQL/REST service(s) to achieve the > following, > 1) One SPARQL/REST service to get all Top-level/Root Subjects with all of > their Predicates and Objects > 2) One SPARQL/REST service to get Descendant Subjects with all of their > Predicates and Objects of a given parent. > > We want to make this implementation as much as generic. I means by passing > the name/Graph URI of a given vocabulary, the same SPARQL/REST services > should be able to return the respective vocabulary's desired data. > > Thanks, > > > > * EVN > Vocabulary* > > > > <https://lh3.googleusercontent.com/-ge7e3HLT5uA/WNkaoLMGa-I/AAAAAAAAAU4/Zfqs7olvXg8aMtzMnkWDnjgkD5uLp1qwACLcB/s1600/HTML_Page.bmp> > > > > <https://lh3.googleusercontent.com/-ge7e3HLT5uA/WNkaoLMGa-I/AAAAAAAAAU4/Zfqs7olvXg8aMtzMnkWDnjgkD5uLp1qwACLcB/s1600/HTML_Page.bmp> > > > > <https://lh3.googleusercontent.com/-ge7e3HLT5uA/WNkaoLMGa-I/AAAAAAAAAU4/Zfqs7olvXg8aMtzMnkWDnjgkD5uLp1qwACLcB/s1600/HTML_Page.bmp> > > > *Desired HTML Page* > > > > <https://lh3.googleusercontent.com/-ge7e3HLT5uA/WNkaoLMGa-I/AAAAAAAAAU4/Zfqs7olvXg8aMtzMnkWDnjgkD5uLp1qwACLcB/s1600/HTML_Page.bmp> > > > > <https://lh3.googleusercontent.com/-ge7e3HLT5uA/WNkaoLMGa-I/AAAAAAAAAU4/Zfqs7olvXg8aMtzMnkWDnjgkD5uLp1qwACLcB/s1600/HTML_Page.bmp> > > > <https://lh3.googleusercontent.com/-ge7e3HLT5uA/WNkaoLMGa-I/AAAAAAAAAU4/Zfqs7olvXg8aMtzMnkWDnjgkD5uLp1qwACLcB/s1600/HTML_Page.bmp> > > <https://lh3.googleusercontent.com/-ge7e3HLT5uA/WNkaoLMGa-I/AAAAAAAAAU4/Zfqs7olvXg8aMtzMnkWDnjgkD5uLp1qwACLcB/s1600/HTML_Page.bmp> > > -- > You received this message because you are subscribed to the Google Group > "TopBraid Suite Users", the topics of which include the TopBraid Suite > family of products and its base technologies such as SPARQLMotion, SPARQL > Web Pages and SPIN. > To post to this group, send email to [email protected] > --- > 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]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include the TopBraid Suite family of products and its base technologies such as SPARQLMotion, SPARQL Web Pages and SPIN. To post to this group, send email to [email protected] --- 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]. For more options, visit https://groups.google.com/d/optout.
