Replies: 3 comments 1 reply
-
I have collected the idea at https://github.com/pg-format/pg-formatter/wiki/Extensions and would prefer to first finish a stable version 1.0.0 before adding new features. |
Beta Was this translation helpful? Give feedback.
-
Interesting idea, but there might be other ways to add graph attributes (metadata).
|
Beta Was this translation helpful? Give feedback.
-
By considering such issue is separated from the PG-model and should be treated by application layer, @prefix bibo: http://purl.org/ontology/bibo/
@prefix dc: http://purl.org/dc/elements/1.1/
@prefix foaf: http://xmlns.com/foaf/0.1/
http://example.org/person/Mark_Twain : foaf:person
http://example.org/books/Tom_Sawyer : bibo:Book
dc:title : "The Adventures of Tom Sawyer"
http://example.org/books/Tom_Sawyer -> http://example.org/person/Mark_Twain : dc:creator How to interpret the specific node with ID |
Beta Was this translation helpful? Give feedback.
-
Some formats allow for graph attributes and similar metadata associated (e.g. schemas) with a graph. This could be supported in PG format with a node identifier
:
like thisIn PG-JSON(L) this would translate to an additional entry without
id
,from
,to
:Semantics of the graph metadata should be out of the scope of PG format and data model.
My use case is a custom encoding/mapping of RDF in PG:
Beta Was this translation helpful? Give feedback.
All reactions