Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

You may simply turn on for every DPU RDF Profiler extension by inserting the following fragment to you main DPU class:

Code Block
languagebash
@ExtensionInitializer.Init
public RdfProfiler rdfProfiler;

 

...

Support in existing Core DPU

Existing Core Plugins which output RDF data can use RDF Profiler extension (from the respective versions of these DPUs which use UnifiedViews API 3.0.1-SNAPSHOT+). To activate that, just go to the DPU configuration, RDF Profiler tab, where you can decide to profile output data produced by certain output RDF data unit . In particular, pipeline designer may select which output RDF data unit should be profiled. of your choice.

Then, when running the pipeline containing such a profiled DPUDPU having profiler enabled, profiler is automatically executed after the execution of the profiled that DPU and new message appear appears in the events monitor showing report reports about the results of profiling.

Image Removed

For exampleIn particular, it shows:

  • Number of triples in the data unit
  • Top 100 classes and number of instances for each such class
  • Top 100 predicates and number of occurrences for each such predicate
  • Descriptions of up to 5 sample resources for the most often used classes from top 100 classes

See below sample reports: 

Image Added

Image Added

Support in Your custom DPUs

You may simply turn on for every DPU RDF Profiler extension by inserting the following fragment to you main DPU class:

Code Block
languagebash
@ExtensionInitializer.Init
public RdfProfiler rdfProfiler;
Note

In order to use this extension, you have to build your DPUs with Plugin-devEnv version 3.0.1-SNAPSHOT+. In pom.xml, you have to define:

Code Block
languagebash
<parent>
<groupId>eu.unifiedviews</groupId>
<artifactId>uv-pom-dpu</artifactId>
<version>3.0.1-SNAPSHOT</version>
<relativePath />
</parent>