Skip to content

Rename and rewrite SPARQL query vertexLabelsTemplate.ts #2

Description

@charlesivie

return "SELECT ?vertexType (COUNT(?vertexType) as ?count) {?start a ?vertexType} GROUP BY ?vertexType";

This file uses terms that don't make sense in the RDF world. Please rename the file to the following:
instancesOfClassesCounts.ts

and rewrite the query withe the following terms:

/**
 * Fetch all classes and counts of instances of them
 */
SELECT ?class (COUNT(?class) as ?count) 
{
     ?s a ?class
} 
GROUP BY ?class

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions