Hacker News new | past | comments | ask | show | jobs | submit login

I build tech with json-ld.

This uses json-ld: http://beta.einnsyn.no

And this uses json-ld: https://difi.github.io/dcat-ap-no-validator/

I like JSON-LD because we have a graph database in the back, and JSON-LD can support graph data.

In the frontend we transform JSON-LD into the javascript object model. JSON-LD is great for this, and much better than JSON, since it supports datatypes, languages and many to many relationships (eg. a book has many authors, authors can write many books).




Would be interested in learning more about how you use JSON-LD with a graph database.


That's really the easiest part.

We use Stardog, but there are a bunch of other databases you can use including Oracle Spatial and Graph, Fuseki, GraphDB, Virtuoso, AllegroGraph, MarkLogic and Blazegraph.

Many of these database will answer queries in json-ld, but since you are likely to want to have a backend anyway you can use Apache Jena or Eclipse RDF4J (previously Sesame) with Java to connect and extract data. Both Jena and RDF4J will let you output that data as JSON-LD.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: