class ActiveFedora::ChangeSet
def child_graphs(objects)
-
(RDF::Graph)
- A graph containing child graphs from changed
def child_graphs(objects) child_graphs = ::RDF::Graph.new objects.each do |object| graph.query({ subject: object }).each do |statement| # Have to filter out Fedora triples. child_graphs << statement unless FedoraStatement.new(statement).internal? end end child_graphs end