A Resource is an identifiable data object with a set of properties.
from kgforge.core import KnowledgeGraphForge
forge = KnowledgeGraphForge("../../configurations/forge.yml")
from kgforge.core import Resource
It is possible to assign arbitrary properties to create a resource, and link them to other resources via properties.
jane = Resource(type="Person", name="Jane Doe")
association = Resource(type="Association", agent=jane)
jane.email = "jane.doe@epfl.ch"
jane.email
association.agent.email
print(jane)
print(association)