GET /resource/{resource}

dbpedia.org:dbpedia-sparql-api

Summary: Get resource data
Operation ID: getResource
Auth: none

Retrieve semantic data about a specific Wikipedia entity (resource) using content negotiation. This endpoint implements Linked Data principles - request RDF/XML for machine-readable data or HTML for human browsing. Returns comprehensive information about the entity including properties, types, and relationships. For example, requesting /resource/Barack_Obama with Accept: application/rdf+xml returns all triples about Barack Obama from DBpedia. This is the recommended way to get complete data about a specific entity when you know its name.

Original spec description

Retrieve RDF data for a specific DBpedia resource. Returns JSON-LD representation of the resource.

Usage Tips

- Use Accept header for content negotiation: application/rdf+xml, text/turtle, application/ld+json - Without Accept header, returns HTML human-readable page (large, ~750KB) - Resource names use underscores for spaces: Barack_Obama not "Barack Obama" - Special characters in resource names should be URL-encoded: Python_%28programming_language%29

Parameters (1)

resource (string, path, required)

Resource name (e.g., Barack_Obama, Paris, Python_(programming_language))

Examples (15)

TitleTypeURLAction
Get resource data openapi-spec https://dbpedia.org/resource/Barack_Obama
Get Leipzig resource with Turtle format via content negotiation doc_extracted http://dbpedia.org/resource/Leipzig
Sample resource - The Lord of the Rings doc_extracted http://dbpedia.org/resource/The_Lord_of_the_Rings
Sample resource - Berlin doc_extracted http://dbpedia.org/resource/Berlin
Sample resource - Category Cities in England doc_extracted http://dbpedia.org/resource/Category:Cities_in_England
Sample resource - The Beatles doc_extracted http://dbpedia.org/resource/The_Beatles
Sample resource - Paul McCartney doc_extracted http://dbpedia.org/resource/Paul_McCartney
Sample resource - Category English musicians doc_extracted http://dbpedia.org/resource/Category:English_musicians
Sample resource - Semantic Web doc_extracted http://dbpedia.org/resource/Semantic_Web
Sample resource - Tetris doc_extracted http://dbpedia.org/resource/Tetris
Sample resource - SPARQL doc_extracted http://dbpedia.org/resource/SPARQL
Spanish chapter example - Berlin doc_extracted http://es.dbpedia.org/resource/Berlin
Get data for Barack Obama curl http://dbpedia.org/resource/Barack_Obama
Get data for Paris curl http://dbpedia.org/resource/Paris
Get data for Python programming language curl http://dbpedia.org/resource/Python_(programming_language)

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-03-23 10:43:43.911294 200 1732ms 2.1MB
2026-03-23 10:36:08.959958 200 592ms
2026-03-23 10:34:58.541985 200 200ms
2026-03-23 10:25:26.489807 200 279ms
2026-03-23 10:20:45.268092 200 5479ms 2.0MB
2026-03-23 10:19:41.765877 200 200ms
2026-03-23 10:10:59.105279 200 959ms 1.3MB
2026-03-23 10:09:24.106042 200 1326ms
2026-03-23 09:46:26.021897 200 2971ms 2.0MB
2026-03-23 09:28:03.657986 200 417ms
2026-03-23 09:19:12.506394 200 214ms
2026-03-23 09:17:03.593666 200 1337ms 2.0MB
2026-03-23 09:10:12.776237 200 288ms
2026-03-23 09:03:38.693028 200 6925ms 5.1MB
2026-03-23 09:02:34.141026 200 309ms

Response Changes

WhenOldNew
2026-03-23 09:03:38.693028 2e62c5996a00 e3b0c44298fc
2026-03-23 09:10:12.776237 e3b0c44298fc 87bc62bec434
2026-03-23 09:17:03.593666 87bc62bec434 63847b0fbcad
2026-03-23 09:19:12.506394 63847b0fbcad c03366bb53ff
2026-03-23 09:28:03.657986 c03366bb53ff 79472aa57f10
2026-03-23 09:46:26.021897 79472aa57f10 3725af81f615
2026-03-23 10:09:24.106042 3725af81f615 8fb67be3610c
2026-03-23 10:10:59.105279 8fb67be3610c 937030201294
2026-03-23 10:19:41.765877 937030201294 45969ecdaca0
2026-03-23 10:20:45.268092 45969ecdaca0 8d8cdaa6c4da
2026-03-23 10:25:26.489807 8d8cdaa6c4da 8b5b74a32951
2026-03-23 10:34:58.541985 8b5b74a32951 9d317b079fe9
2026-03-23 10:36:08.959958 9d317b079fe9 14d7259b7c78
2026-03-23 10:43:43.911294 14d7259b7c78 9433489e3995