Skip to content

Commit 4d295e9

Browse files
Readme update
1 parent 1a089f7 commit 4d295e9

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

README.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,16 @@
66
An [RDF/JS](https://rdf.js.org/data-model-spec/) object mapping library.
77

88

9-
## Background
9+
## Purpose
10+
11+
The purpose of the RDF/JS Wrapper library is to enable idiomatic JavaScript object-oriented programming over RDF with type system support (TypeScript compatible).
12+
13+
In other words, [RDF data](https://en.wikipedia.org/wiki/Resource_Description_Framework) is abstracted away and developers can define standard mapping classes to program over it.
14+
15+
Additionally, standard mapping classes can be defined and reused in any number of context where they are relevant (see for example [@solid/object](https://github.com/solid/object)).
1016

11-
RDF/JS Wrapper facilitates object-oriented programming over RDF (see [RDF](https://en.wikipedia.org/wiki/Resource_Description_Framework), [Knowledge Graph](https://en.wikipedia.org/wiki/Knowledge_graph)).
17+
18+
## Background
1219

1320
RDF/JS Wrapper uses the interfaces described in the [RDF/JS](https://rdf.js.org/) specifications.
1421

@@ -27,9 +34,20 @@ Practically, to map RDF to objects, you need to:
2734

2835
## Usage
2936

37+
### Wrapping Datasets
38+
39+
Dataset Wrapper allows you to instantiate classes from existing data in a graph.
40+
41+
3042
### Wrapping Terms
3143

32-
### Wrapping Datasets
44+
Term Wrapper allows to manipulate data in a graph via class properties.
45+
46+
47+
## See also
48+
49+
- [RDF](https://en.wikipedia.org/wiki/Resource_Description_Framework)
50+
- [Knowledge Graph](https://en.wikipedia.org/wiki/Knowledge_graph)
3351

3452

3553
## License

0 commit comments

Comments
 (0)