dipper.graph.StreamedGraph module

class dipper.graph.StreamedGraph.StreamedGraph(are_bnodes_skized=True, file_handle=None, fmt='nt')

Bases: dipper.graph.Graph.Graph

Stream rdf triples to file or stdout Assumes a downstream process will sort then uniquify triples

Theoretically could support both ntriple, rdfxml formats, for now just support nt

addTriple(subject_id, predicate_id, object_id, object_is_literal=False, literal_type=None)
curie_util = <dipper.utils.CurieUtil.CurieUtil object>
serialize(subject_iri, predicate_iri, obj, object_is_literal=False, literal_type=None)
skolemizeBlankNode(curie)