mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-06-12 00:05:13 +02:00
- Some protection in extract-definition
- Up version
This commit is contained in:
parent
354e95cb1c
commit
4bc215e19a
7 changed files with 54 additions and 45 deletions
|
|
@ -111,6 +111,10 @@ class Processor(ConsumerProducer):
|
|||
p = rel["predicate"]
|
||||
o = rel["object"]
|
||||
|
||||
if s == "": continue
|
||||
if p == "": continue
|
||||
if o == "": continue
|
||||
|
||||
s_uri = self.to_uri(s)
|
||||
s_value = Value(value=str(s_uri), is_uri=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue