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)
Title
Type
URL
Action
Get resource data
openapi-spec
https://dbpedia.org/resource/Barack_Obama
Response Output
Click Run to execute...
Get Leipzig resource with Turtle format via content negotiation