when running the parse_rdf.py with data/SPDXRdfExample.rdf ( I have added one relationship from java tool ) it does not show relationship and gives this error:
Relationships:
Traceback (most recent call last):
File "parse_rdf.py", line 91, in <module>
for relation in doc.relationships:
AttributeError: 'Document' object has no attribute 'relationships'
moreover when printing (doc.dict) to get all elements inside doc, it doesn't have relationship.
rdf format of relationship which I added in SPDXRdfExample.rdf
when running the parse_rdf.py with data/SPDXRdfExample.rdf ( I have added one relationship from java tool ) it does not show relationship and gives this error:
moreover when printing (doc.dict) to get all elements inside doc, it doesn't have relationship.
rdf format of relationship which I added in SPDXRdfExample.rdf