BattMoTeam / BattMo-gui

BattMo GUI development
MIT License
4 stars 0 forks source link

Generate IRIs for JSON-LD terms #20

Closed jsimonclark closed 7 months ago

jsimonclark commented 1 year ago

Best practice when making JSON-LD files is for each term to have an @id key whose value is a unique IRI. If no @id key is provided, then JSON-LD interprets it as a blank node - which is also kind of ok, but it can create problems when you scale or want to refer to a specific term.

you can use a UUID generator to mint IRIs for each term using the form: "rdf.batterymode.com/{UUID}"