sempr-tk / sempr

SEMPR - Semantic Environment Mapping, Processing and Reasoning
BSD 3-Clause "New" or "Revised" License
7 stars 1 forks source link

RDFDocument needed? #43

Closed ctieben closed 6 years ago

ctieben commented 6 years ago

Hi,

I'm wondering if the RDFDocument is really needed to exist as separate entity in sempr.

Its mostly a RDFEntity with a spacial source for the triples. All the tripel from the file will be stored locally after the construction.

So I dont see any benefits to store the path to a local file as additional information in the database.

Best regards ctieben

niniemann commented 6 years ago

I wanted to distinguish between rdf data which is provided implicitly from other data sources from triples the user loaded from an external file to bootstrap the system with some basic information. Additionally storing the name of the file that was loaded allows the user to check if the file changed and reload the entity. Also, the RDFDocument provides a method to parse files of different formats.

niniemann commented 6 years ago

So I'd say: Yes, it is needed. :wink: