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

From MaRDI portal
comparative queries
Line 5: Line 5:
* provide insights into the graph structure
* provide insights into the graph structure


== Queries ==
== Generic queries ==


=== Number of triples in the graph ===
=== Number of triples in the graph ===
Line 30: Line 30:


=== Languages used in the graph ===
=== Languages used in the graph ===
== Queries for a specific set of KGs ==
* Relative coverage of zbMATH authors in MaRDI vs. Wikidata

Revision as of 11:57, 11 September 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

Generic 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

Queries for a specific set of KGs

  • Relative coverage of zbMATH authors in MaRDI vs. Wikidata