Announcing Wikidata Truthy Release 2025-11

Explore the new Wikidata Truthy Knowledge Graph, a massive, publicly available resource for understanding the shape of real-world data on the Web.

Wikidata Truthy at a Glance (VoID)

0

Triples

0

Distinct Subjects

0

Distinct Properties

0

sameAs Links

Service Endpoints

SPARQL Query Service

Direct, ad-hoc query access to the entire dataset using the powerful SPARQL language.

Launch Editor →

Faceted Browsing

Intuitively search and filter entities using a human-friendly interface.

Start Browsing →

Entity Description Service

Get a detailed, human-readable page for any entity by its IRI.

View Example →

A Practical Guide to Wikidata Patterns

Explore Wikidata's structure using a sequence of live SPARQL queries. Each example highlights a specific pattern and includes a link to run it directly against our Wikidata (Truthy) endpoint.

1. SubProperties Using {+} Property Path

The `+` operator finds all proper descendants of the single most-reused super-property, retrieving its entire hierarchy without including the abstract root itself.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>

SELECT (?c AS ?superProperty) (?a AS ?subProperty)
WHERE {
  {
    SELECT ?c WHERE { ?p wdt:P1647 ?c . }
    GROUP BY ?c ORDER BY DESC(COUNT(?p)) LIMIT 1
  }
  ?a wdt:P1647+ ?c .
}
LIMIT 500
Run Query →

2. SubProperty/SuperProperty Exploration

This query samples commonly used super-properties (via `wdt:P1647` "subproperty of"), selects a representative sub-property, and computes the full transitive hierarchy to reveal inherited meaning.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>

SELECT *
WHERE {
  {
    SELECT ?superProperty ?subProperty WHERE {
      {
        SELECT (?c AS ?superProperty) (SAMPLE(?a) AS ?subProperty) (COUNT(*) AS ?usageCount)
        WHERE { ?a wdt:P1647 ?c . }
        GROUP BY ?c ORDER BY DESC(?usageCount) LIMIT 5
      }
    }
  }
  ?subProperty wdt:P1647* ?superProperty .
}
LIMIT 100
Run Query →

3. SubProperties Using {2} Property Path

The `{2}` operator provides a controlled look at mid-depth ontology structure by finding properties that are *exactly two steps* below a frequently used super-property.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>

SELECT (?c AS ?superProperty) (?a AS ?subProperty)
WHERE {
  {
    SELECT ?c WHERE { ?a wdt:P1647 ?c . }
    GROUP BY ?c ORDER BY DESC(COUNT(?a)) LIMIT 1
  }
  ?a wdt:P1647{2} ?c .
}
LIMIT 500
Run Query →

4. Entity Types and Representative Instances

This query lists the most common classes (using `a` which is shorthand for `rdf:type`), shows a sample instance for each, and counts how many entities belong to that type.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>

SELECT ?entityType (SAMPLE(?entity) AS ?sampleEntity) (COUNT(*) AS ?count)
WHERE {
  ?entity a ?entityType .
}
GROUP BY ?entityType
ORDER BY DESC(?count)
LIMIT 50
Run Query →