Skip to content

Enumerating RDF Triples

Linnea Kirby edited this page Aug 20, 2025 · 1 revision

The following SPARQL query may be used to enumerate RDF triples within the LinkedMusic database, separated by subgraph:

SELECT ?g (COUNT(*) AS ?count)
WHERE {
  GRAPH ?g { ?s ?p ?o }
}
GROUP BY ?g
ORDER BY DESC(?count)

Clone this wiki locally