thank you all for your help. Actually, I wanted the total count from all the graphs. I was only counting as Rumi suggested for each graph, then adding...

Erick

Kunal Patel wrote:
Hi,

If you want the total count of triples from all the graphs in your db you can also use

select count(*) from db.dba. rdf_quad;

Regards,
Kunal

*/Rumi Tsekova <rtsek...@openlinksw.com>/* wrote:

    Hi Erick,

    You can use:

    select count (*)
    from
    where {?s ?p ?o}

    See here for more examples:
    http://docs.openlinksw.com/virtuoso/rdfsparqlaggregate.html

    Best Regards,
    Rumi





    > Hi,
    >
    > is there an "intelligent" way to get the number of triples I've
    got in
    > my virtuoso db?
    >
    > thanks,
    > erick
    >
    >
    -------------------------------------------------------------------------
    > This SF.net email is sponsored by: Microsoft
    > Defy all challenges. Microsoft(R) Visual Studio 2008.
    > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
    > _______________________________________________
    > Virtuoso-users mailing list
    > Virtuoso-users@lists.sourceforge.net
    > https://lists.sourceforge.net/lists/listinfo/virtuoso-users


    -------------------------------------------------------------------------
    This SF.net email is sponsored by: Microsoft
    Defy all challenges. Microsoft(R) Visual Studio 2008.
    http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
    _______________________________________________
    Virtuoso-users mailing list
    Virtuoso-users@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/virtuoso-users


------------------------------------------------------------------------
Never miss a thing. Make Yahoo your homepage. <http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>


Reply via email to