Skip to content

Commit 8798fb8

Browse files
committed
Fix typos in README
1 parent 2227ea6 commit 8798fb8

File tree

2 files changed

+15
-19
lines changed

2 files changed

+15
-19
lines changed

README.md

+13-18
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ PREC is a set of tools to convert any Property Graph into RDF.
44

55
Its main differences with other converters are:
66
- It intends to convert the PG into RDF graphs that looks like usual RDF graphs,
7-
by limiting the amount of boilterplate due to the data being from a Property
7+
by limiting the amount of boilerplate due to the data being from a Property
88
Graph.
9-
- It enables the user to map some of the labels and prorpety names used in the
9+
- It enables the user to map some of the labels and property names used in the
1010
PG to an existing vocabulary, by providing a *context* written in Turtle format.
1111

1212
> **PREC uses the PREC ontology that is described at https://bruy.at/prec. The PREC
1313
ontology is mostly used to describe how to convert an RDF graph generated by
14-
PREC with its default modelization into a more user friendly graph.**
14+
PREC with its default modelling into a more user-friendly graph.**
1515

1616
## Quick start from the repository
1717

@@ -38,7 +38,7 @@ example files.
3838
## Using PREC as a library
3939

4040
It is possible to import PREC to get access to functions to produce RDF graphs
41-
from a Gremin or a Neo4j connection. The produced output will be an
41+
from a Gremlin or a Neo4j connection. The produced output will be an
4242
[RDF/JS DatasetCore](https://rdf.js.org/dataset-spec/#datasetcore-interface).
4343

4444
### Example 1
@@ -163,7 +163,7 @@ option.
163163

164164
**RDF -> PG**
165165

166-
- `npx prec prec2pg` allows to come back to Property Graphs from a RDF
166+
- `npx prec prec2pg` allows to coming to Property Graphs from a RDF
167167
previously generated by PREC without applying any context.
168168
- Example of usage:
169169
- First we create an RDF graph with a PREC-0 description
@@ -173,8 +173,8 @@ option.
173173
- Supported format are: a custom representation of the PG, printing the
174174
cypher query on the console, populating a Cypher compatible database and
175175
populating a Tinkerpop compatible database.
176-
- If you used a PRSC well behaved context to produce the RDF graph, PREC is
177-
able to unapply the PRSC context
176+
- If you used a PRSC well-behaved context to produce the RDF graph, PREC is
177+
able to un-apply the PRSC context
178178
- To pass the context, as usual, you just need to use the `-c context.ttl`
179179
option.
180180
- You can hijack this feature to convert some RDF graphs to a PG
@@ -184,14 +184,9 @@ option.
184184
![](docs/prec-terminology.drawio.png)
185185

186186
The easiest way to transform a Property Graph is by providing a Cypher or a
187-
Gremlin connection, and optionally a *Context* to get a nicer output.
187+
Gremlin connection, and optionally a *context* to get a nicer output.
188188

189-
In the graph, an arrow means the step ends here, a hook means the process
190-
will continue.
191-
192-
For example, if you provide a Gremlin connection, you will get an "Idiomatic RDF
193-
Graph" (if you didn't provide a context, the Idiomatic RDF Graph is equals to
194-
the structural description of the PG in RDF).
189+
If you do not provide any context, the produced RDF graph will be the "intermediate representation of the PG = PREC-0 graph". If you have a PREC-0 graph, you can provide it to PREC later with a context to apply the context to the extracted PG.
195190

196191
### From Neo4j
197192

@@ -213,7 +208,7 @@ Run a Cypher query like this one:
213208
- The return instruction must return nodes and edges.
214209
- you can't write src.myProperty
215210
- Get the result in JSON format (in Neo4J Browser : choose Export JSON after running the query)
216-
- Use the `cypherJson2rdf` subcommand, for example if your output file is `data\movies_cypher_all.json`
211+
- Use the `cypherJson2rdf` sub-command, for example if your output file is `data\movies_cypher_all.json`
217212
- `npx prec cypherJson2rdf data\movies_cypher_all.json`
218213

219214

@@ -239,12 +234,12 @@ To export the graph structure, use this Cypher instruction:
239234

240235
`npx prec gremlin2rdf (URI to connect to) [-c Context]`
241236

242-
Default URI is the URI of a local TinkerPop Server.
237+
The default URI is the URI of a local TinkerPop Server.
243238

244239

245240
## License
246241

247-
[PREC is licensied under the MIT License by Julian Bruyat / INSA Lyon](LICENSE)
242+
[PREC is licensed under the MIT License by Julian Bruyat / INSA Lyon](LICENSE)
248243

249-
The repository includes code from other authors, also licensied under the MIT
244+
The repository includes code from other authors, also licensed under the MIT
250245
License. See [test/dataset/DatasetCore.test.js](test/dataset/DatasetCore.test.js).

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"files": [
6161
"build/prec.js",
6262
"build/prec.d.ts",
63-
"build/src/**"
63+
"build/src/**",
64+
"docs/prec-terminology.drawio.png"
6465
]
6566
}

0 commit comments

Comments
 (0)