MI-FraunhoferIWM / data2rdf

About A generic pipeline that can be used to map raw data to RDF.
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Add Graph Identifier #29

Closed MBueschelberger closed 5 months ago

MBueschelberger commented 10 months ago

In this line, we need a graph identifier in order to have a reference for fetching the subgraph in the SDK later on.

The simplest fix would be to use the base_iri which is passed to the AnnotationPipeline, .e.g. like this:

graph = Graph(identifier=self.base_iri)
pdr-z commented 7 months ago

Related to: item 4 in Data2RDF Next issue:

pdr-z commented 6 months ago

Expected to need to alter graph creations else-where too in order to support context, however the suggested simple fix seems to be all