You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`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
167
167
previously generated by PREC without applying any context.
168
168
- Example of usage:
169
169
- First we create an RDF graph with a PREC-0 description
@@ -173,8 +173,8 @@ option.
173
173
- Supported format are: a custom representation of the PG, printing the
174
174
cypher query on the console, populating a Cypher compatible database and
175
175
populating a Tinkerpop compatible database.
176
-
- If you used a PRSC wellbehaved 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
178
178
- To pass the context, as usual, you just need to use the `-c context.ttl`
179
179
option.
180
180
- You can hijack this feature to convert some RDF graphs to a PG
@@ -184,14 +184,9 @@ option.
184
184

185
185
186
186
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.
188
188
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.
195
190
196
191
### From Neo4j
197
192
@@ -213,7 +208,7 @@ Run a Cypher query like this one:
213
208
- The return instruction must return nodes and edges.
214
209
- you can't write src.myProperty
215
210
- 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`
0 commit comments