Skip to content

Commit 3443e7f

Browse files
authored
Merge pull request #350 from linkeddata/Documentation
fetcher-block-diagram
2 parents d84af88 + b0d0a01 commit 3443e7f

File tree

6 files changed

+2613
-7
lines changed

6 files changed

+2613
-7
lines changed
105 KB
Binary file not shown.

Documentation/diagrams/fetcher-block-diagram-2.svg

Lines changed: 1432 additions & 0 deletions
Loading
23.2 KB
Binary file not shown.

Documentation/diagrams/fetcher-block-diagram.svg

Lines changed: 1152 additions & 0 deletions
Loading

Documentation/index.html

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,36 @@
3333
</style>
3434
</head>
3535
<body>
36-
<h1>Introductory material</h1>
36+
<h1>Block diagrams</h1>
3737

3838
<div>
39+
<p>See also</p>
3940
<ul>
4041

42+
<li><a href="https://linkeddata.github.io/rdflib.js/doc/">rdflib documentation home page</a></li>
4143
<li><a href="webapp-intro.html">Introduction to using rdflib in a Solid WebApp</a></li>
42-
4344
<li><a href="turtle-intro.html">Introduction to Turtle</a>. Learn to chat in, and think in, this basic data language</li>
4445

4546
</ul>
4647

48+
<p>The rdflib library is modular. Higher level functions such as the Update Manager and the Fetcher depend on the
49+
core modules stch as the Store, which depends on low level parts such as the basic RDF model.
50+
<p>
4751
<img src="diagrams/rdflib-block-diagram.svg" alt="Separate modules perform different functions to provide local query, web access, and live update." />
48-
52+
53+
<p>
54+
The Fetcher module adds an awareness of the web of linked data, rather than just abstract RDF.
55+
It implements http(s): and file: URIs and tracks the metadata from the HTTP transaction and stores that also in the store.
56+
This diagram points out that the responsability for retrying accesss based which fail because of different HTTP errors and browser blocking in CORS
57+
are handled in various different places.
58+
</p>
59+
60+
<img src="diagrams/fetcher-block-diagram-2.svg" alt="In the Fetcher, separate modules perform different functions." />
61+
62+
<p>
63+
The Fetcher does not handle PATCH - that is done by the Update Manager.
64+
</p>
65+
4966
</div>
5067
</body>
5168
</html>

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Javascript RDF library for browsers and Node.js.
88
- Read/Write Linked Data client, using WebDav or SPARQL/Update
99
- Local API for querying a store
1010
- Compatible with [RDFJS task force spec](https://github.com/rdfjs/representation-task-force/blob/master/interface-spec.md)
11-
- SPARQL queries (not full SPARQL)
11+
- SPARQL queries (not full SPARQL - just graph match and optional)
1212
- Smushing of nodes from `owl:sameAs`, and `owl:{f,inverseF}unctionProperty`
1313
- Tracks provenance of triples keeps metadata (in RDF) from HTTP accesses
1414

@@ -17,9 +17,14 @@ Javascript RDF library for browsers and Node.js.
1717
See:
1818

1919
* The [API documentation](https://linkeddata.github.io/rdflib.js/doc/) is partial but useful
20-
* [Using rdflib in a web app](https://linkeddata.github.io/rdflib.js/Documentation/webapp-intro.html)
21-
* [Tutorial for using rdflib.js](https://github.com/solid/solid-tutorial-rdflib.js)
22-
* [Using Turtle](https://linkeddata.github.io/rdflib.js/Documentation/turtle-intro.html)
20+
* [Tutorial: Using rdflib in a Solid web app](https://linkeddata.github.io/rdflib.js/Documentation/webapp-intro.html)
21+
* [Tutorial: Using rdflib.js](https://github.com/solid/solid-tutorial-rdflib.js)
22+
* [Tutorial: Using Turtle](https://linkeddata.github.io/rdflib.js/Documentation/turtle-intro.html)
23+
* [Block diagram: rdflib modules](https://linkeddata.github.io/rdflib.js/Documentation/diagrams/rdflib-block-diagram.svg)
24+
* [Block diagram: The Fetcher](https://linkeddata.github.io/rdflib.js/Documentation/diagrams/fetcher-block-diagram.svg)
25+
* [Block diagram: The Fetcher - handling retries](https://linkeddata.github.io/rdflib.js/Documentation/diagrams/fetcher-block-diagram-2.svg)
26+
27+
2328
* [The Solid developer portal at Inrupt](https://solid.inrupt.com/)
2429

2530
for more information.

0 commit comments

Comments
 (0)