franzinc / agraph-python

AllegroGraph Python client
https://franz.com/agraph
MIT License
40 stars 12 forks source link

Adding properties to Statement #19

Open Leinadium opened 2 years ago

Leinadium commented 2 years ago

A lot of classes implemented have properties, but no Statement.

In this case, if for example the object attribute is accessed, it will not be parsed to a Value, instead a string in N-Triples format will be returned.

If a property is implemented, the getObject method will be called, and the object will be lazily parsed.