dot-get_ops: Get operations and write the triple

Description Usage Arguments

Description

This function checks in the activity dataframe registered by rdt which activities are operations (assigments tha do not involve function execution, for example). It builds a dataframe with the operation name, which activity (function activation or operation) preceded its execution and its type. This dataframe turns into a triple that is added to the rdf object.

Usage

1
.get_ops(activities = activities_df, nsp = nsp, rdf = rdf)

Arguments

activities

Dataframe containing the prov activities recorded by rdt

nsp

List with the namespaces of used ontologies

rdf

RDF object to write the triples


mmondelli/rdt2repr documentation built on Feb. 15, 2021, 10:57 p.m.