The DataONE service for resolving PURIs to resources like datasets, people, and organizations.
The core idea is to provide the following things to DataONE:
┌──────────────┐ ┌──────────────┐ ┌──────────────┐
│ Client │─────makes ─────▶│ PURI Service │───redirects ─▶│ DataONE API │
└──────────────┘ request to └──────────────┘ to └──────────────┘
▲ │
│ responds │
└──────────────────────────────to───────────────────────────────┘
.───────────.
┌──────▶( Client )
│ `───────────'
│ │
│ makes makes
│ request┬──────────request─────────────────────┐
│ │ │
│ ▼ ▼
│ ┌──────────────────────────┐ ┌───────────────────────────────┐
│ │GET /dataset/X │ │GET /dataset/X │
│ │Accept: text/html │ │Accept: application/ld+json │
│ └──────────────────────────┘ └───────────────────────────────┘
│ │ │
│ is │ │is
returns redirected redirected
response to to
│ ▼ ▼
│ ┌────────────────────────────────────────────────────────────┐
│ │ PURI Service │
│ └────────────────────────────────────────────────────────────┘
│ │ │
│ is is
│ redirected redirected
│ to │ to
│ │ │
│ ▼ ▼
│ ┌──────────────────────────────┐ ┌───────────────────────────────────┐
│ │search.dataone.org/#view/X │ │LOD Service │
│ │Content-Type: text/html │ │Content-Type: application/json+ld │
│ └──────────────────────────────┘ └───────────────────────────────────┘
│ │ │
│ │ │
└─────────────────◀─────────────────────────────────────┘
TODO
TODO
Please report any bugs or feature requests as Issues on this repository. Pull Requests welcome.