-
Notifications
You must be signed in to change notification settings - Fork 585
Closed
Labels
Milestone
Description
Currently all parsers write into a graph. For cases where you want to stream-process RDF, it would be nice if triples could be handled as they come in.
Two fold:
1 Most of our parsers have a Triple Sink object:
- https://github.com/RDFLib/rdflib/blob/master/rdflib/plugins/parsers/nt.py#L7
- https://github.com/RDFLib/rdflib/blob/master/rdflib/plugins/parsers/ntriples.py#L41
- https://github.com/RDFLib/rdflib/blob/master/rdflib/plugins/parsers/notation3.py#L1572
Define this interface centrally and unify
2 Make sure we read the input stream as a stream, and do not read the whole thing into a string :)
Reactions are currently unavailable