mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-30 02:46:23 +02:00
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:
parent
dedb66379d
commit
24d099793d
6 changed files with 196 additions and 3 deletions
|
|
@ -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)
|
||||
))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue