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.
1 | .get_ops(activities = activities_df, nsp = nsp, rdf = rdf)
|
activities |
Dataframe containing the prov activities recorded by rdt |
nsp |
List with the namespaces of used ontologies |
rdf |
RDF object to write the triples |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.