Juriy / swapi

SWAPI - Star Wars API service
https://swapi.dev
BSD 3-Clause "New" or "Revised" License
283 stars 91 forks source link

JSON-LD Support? #26

Closed zwelz3 closed 3 years ago

zwelz3 commented 3 years ago

The old swapi.co provided a data dump in RDF serializations (e.g. turtle), which allowed processing the data with SPARQL, etc.

The new API returns basic JSON with no (obvious) way to recover the JSON-LD context in order to expand the data. This breaks all linked-data usages.

Are there any plans to support JSON-LD type, host the context, or host the data as serialized RDF?

Juriy commented 3 years ago

That is a really strange bug: API format shouldn't have changed since there was literally no code changes until now. I'm not very familiar with JSON-LD, if you could give a bit more details about the format I'll be happy to check out what can be done.