Graph Generator Utils
Documentation
Functions
- pandasaurus.graph.graph_generator_utils.add_outgoing_edges_to_subgraph(graph, predicate_uri=None)[source]
Add all outgoing edges of a node in the graph to the subgraph.
- Parameters:
graph (Graph) – The RDF graph containing the triples.
predicate_uri (URIRef or None) – The predicate to filter triples (optional).
- Returns:
The subgraph containing the outgoing edges of the nodes.
- Return type:
rdflib.Graph