ontology: Get DBpedia ontology

API: dbpedia.org:dbpedia-sparql-api
Endpoint: /ontology
Response format: application/rdf+xml
Charset: utf-8
Auth: none
Method: GET
Last Status: 404
Latency: 3471ms

Description

Retrieve the complete DBpedia ontology schema. Returns the entire ontology defining all classes, properties, and their relationships in the DBpedia knowledge base. This includes class hierarchies (e.g., Person → Agent → Thing), property domains and ranges, and datatype definitions. Use this to understand the complete structure of DBpedia data - what types exist, how they relate, and what properties are available. Essential for building comprehensive SPARQL queries.

From spec: Retrieve the DBpedia ontology schema defining classes and properties.

Usage Tips

- Returns large RDF document with complete ontology (~2MB) - Use Accept: text/turtle for more readable output - The ontology defines ~700 classes and ~3000 properties - Key namespaces: dbo (DBpedia ontology), dbp (DBpedia properties from infoboxes)

Examples (1)

DBpedia Ontology schema documentation probe-gate
curl 'http://dbpedia.org/ontology'
import requests

resp = requests.get("http://dbpedia.org/ontology")
data = resp.json()
import zingu_apis

api = zingu_apis.api("dbpedia")
result = api.fetch("ontology")

for item in result:
    print(item)
const resp = await fetch("http://dbpedia.org/ontology");
const data = await resp.json();

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-04-16 16:50:24.165430 404 3471ms
2026-04-16 03:24:08.979720 404 2207ms
2026-04-15 00:04:06.046314 404 952ms
2026-04-14 02:23:11.112472 404 1019ms
2026-04-12 13:48:03.761950 404 371ms
2026-04-10 04:18:46.431636 404 1514ms
2026-04-09 01:54:41.837189 404 374ms
2026-04-08 07:10:35.105988 404 650ms
2026-04-07 00:34:40.516196 404 320ms
2026-04-05 19:09:15.468834 ERR
2026-04-05 01:28:18.165782 404 439ms
2026-04-04 02:36:08.927201 404 5996ms
2026-04-03 12:03:43.390186 404 339ms
2026-03-30 02:25:16.343442 404 304ms
2026-03-29 13:30:46.742188 404 314ms