Comments (1)
For now, I studied the /occurrence and /species API's.
My proposal could turn the gbif.org API into a regular citizen of the Web of Data (a.k.a. Linked Open Data).
This is, web client programs will be able to get RDF triples from the existing URL's from gbif.org API , and recursively the triples obtained will refer to URL's that also return RDF triples.
See famous Tim Berners Lee 5 stars mug page : https://www.w3.org/DesignIssues/LinkedData.html
There are 3 scenarios for using JSON-LD in gbif.org API .
- not changing anything, but be add this in documentation and be aware of the possibilities by external JSON-LD processors and discuss use cases and the big picture (LOD versus frictionlessdata.io, etc)
- just add at root an
@context
key - in addition add
@id
and@type
(see below)
The @context
key could point to my work-in-progress JSON-LD in github.com/jmvanel/rdf-convert/gbif.org , or more probably to a properly versioned URL :
"@context" : "https://raw.githubusercontent.com/jmvanel/rdf-convert/master/gbif.org/context.jsonld"
For a concrete proposal, here are key - value pairs for @id
and @type
that could be added to
https://api.gbif.org/v1/occurrence/1258202889 .
This would make more visible the URI, which could a be problem for API users (?) . But this would simplify the @context
. Note that the existing ID's being integers, wich is not taken in account by JSON-LD API recommendation at the moment, will be soon not a problem , I made an issue for that .
"@id" : "1258202889"
"@type" : "dwc:PreservedSpecimen"
For your understanding of JSON-LD , given above @context
, this is equivalent to
"@id" : "https://api.gbif.org/v1/occurrence/1258202889"
"@type" : "http://rs.tdwg.org/dwc/terms/PreservedSpecimen"
from gbif-api.
Related Issues (20)
- API endpoint for the data validator HOT 1
- 'User' not allowed to create download with creator HOT 2
- species API - iucnRedListCategory endpoint returns 204 while other endpoints return no data
- searching literature by language
- Access most recent backbone version programatically HOT 1
- Should endpoint dataset/duplicate/ return nothing? HOT 1
- `techdocs.gbif.org`: Type mismatch for occurrence api HOT 2
- Registry API dataset endpoint has degraded pagination performance HOT 4
- Access to cited dataset DOIs in literature export HOT 1
- Refuse InPredicate with a `null` value
- Change Species API HOT 1
- Add new fields from the EML profile 1.3 to Dataset
- Examples with multiple predicates are invalid json in the documentation
- GBIF API requests: any rate limits? HOT 4
- wrong matchType in species/match api call HOT 8
- [feature-request]: Implement habitat as a field in class Event HOT 5
- questions about case & null values in occurrence api response facets
- `/species/{usageKey}/identifier` route returns nothing HOT 5
- Feature request: Added & published params to the Literature API search endpoint HOT 12
- details on 2024-07-17 (?) GBIF outage
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gbif-api.