Feature/doc metadata labels (#130)

* Add schema load util

* Added a sample schema turtle file will be useful for future testing and
tutorials.

* Fixed graph label metadata confusion, was created incorrect subjectOf
edges.
This commit is contained in:
cybermaggedon 2024-10-29 21:18:02 +00:00 committed by GitHub
parent dedb66379d
commit 24d099793d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 196 additions and 3 deletions

View file

@ -189,7 +189,7 @@ class Processor(ConsumerProducer):
# 'Subject of' for o
triples.append(Triple(
s=o_value,
p=RDF_LABEL_VALUE,
p=SUBJECT_OF_VALUE,
o=Value(value=v.metadata.id, is_uri=True)
))