Skip to content

Commit

Permalink
Update JSONLD.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-metalinkage authored Jan 7, 2024
1 parent ed09cf3 commit 7935ccc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions JSONLD.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# JSON-LD (Semantic Uplift)

Building Blocks defining JSON schemas can be annotated with JSON-LD contexts using the file _context.jsonld_

This:
Building Blocks defining JSON schemas can be annotated with JSON-LD contexts using either:
- including a file (_context.jsonld_) in the building block directory
- using the property `x-jsonld-context` in the _schema.(yaml/json) for the building block - e.g. `x-jsonld-context: ../../../sosa-ssn.jsonld`

The JSON LD context:

1. Maps JSON elements to URIs (which can be URIs of a richer semantic model)
2. Allows validation of complex logical constraints using SHACL Rules to [validate examples](TESTING.md#SHACL)
Expand Down

0 comments on commit 7935ccc

Please sign in to comment.