• Topic
  • Discussion
  • VirtuosoWikiWeb.SPARQLCountStar(Last) -- Owiki? , 2016-08-19 15:01:34 Edit owiki 2016-08-19 15:01:34

    RDF Data Access & Management

    Return Count of All Triples in Graph or Triple Store

    sparql SELECT count(*) from <{{{resource}}}> WHERE {?s ?p ?o}
    

    or

    select count(*)
    from DB.DBA.RDF_QUAD
    where G = DB.DBA.RDF_MAKE_IID_OF_QNAME('{{{resource}}}');
    

    Referenced by...