User:Daniel/Queries/Graph profiling: Difference between revisions

From MaRDI portal
started
 
Line 8: Line 8:


=== Number of triples in the graph ===
=== Number of triples in the graph ===
<pre>
SELECT (COUNT(*) AS ?count) WHERE {
  ?s ?p ?o
}
</pre>


=== Number of distinct entities in the graph ===
=== Number of distinct entities in the graph ===

Revision as of 08:54, 26 August 2024

About

This page assists in the collection and curation of queries that

  • can be used with no or minimal modification on multiple graphs
  • provide insights into the graph structure

Queries

Number of triples in the graph

SELECT (COUNT(*) AS ?count) WHERE {
  ?s ?p ?o
}

Number of distinct entities in the graph

Number of distinct relationships in the graph

Types of entities in the graph

External entities equivalent to entities in the graph

External entities equivalent to relationships in the graph

Entities with the largest number of triples

Entities with the lowest number of triples

Languages used in the graph