12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- @prefix : <http://example.org/explainability#> .
- @prefix dave-instances: <http://example.org/> .
- @prefix dave: <http://theme-e.adaptcentre.ie/dave#> .
- @prefix prov: <http://www.w3.org/ns/prov#> .
- @prefix dvex: <http://example.org/dvex#> .
- @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
- @prefix foaf: <http://xmlns.com/foaf/0.1/>.
- @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
- :dataValueCalculation1 a dvex:DataValueCalculation ;
- prov:wasAssociatedWith [
- a foaf:Person ;
- foaf:givenName "Joe Doe" .
- ] .
- :explainableEntity a dvex:Explainability ;
- dvex:on dave-instances:25184a4c-aebb-49ec-81a7-9eaf56beb925-DataValue ;
- prov:wasGeneratedBy :dataValueCalculation1 ;
- prov:qualifiedGeneration :generation1 .
- # prov:wasInvalidatedBy (this may be used either when we have a new calculation or new observations)
- # prov:qualifiedInvalidation
- :generation1 a dvex:TraceableExplainability ;
- dvex:definedWeights :customWeight1 , :customWeight2 , :customWeight3 , :customWeight4 ; # even if customweight is 0, add it here
- dvex:observedMeasurements dave-instances:measurement1 , dave-instances:measurement5 ; # add all measurements observed
- dvex:generatedDataValue "75"^^xsd:integer ;
- prov:atTime "2019-06-22T00:00:00"^^xsd:dateTime ;
- prov:activity :dataValueCalculation1 .
- :customWeight1 a dvex:CustomWeight ;
- dvex:value "0.8"^^xsd:double ;
- dvex:for dave:Quality . # this will indicate whether the weight is set for dimension, metric group, or metric
- ####
- - Based on the current dimensions weights settings, Data Asset <name> has an overall data value of <overall_value>
- - The overall value is distributed over the following dimensions/<types> (types [granularity] should be found by querying DAVE)
- for all {
- - <dimension_name>: <weight>
- - <dimension_description>
- - The dimension weight share is equally [eventually this needs to be changed] split for the following metrics :
- - Metric : <metric_name>
- - <metric_description> (metric description should describe exactly how the metric is calculated)
- - Reading from DGC metadata : <metadata_reading>
- - Calculated metric value : <metric_value>. Value <increase_decrease> from previous observation (if there is a previous observation).
- }
- # dvex:TraceableExplainability rdfs:subClassOf prov:Generation
- # dvex:on rdfs:subPropertyOf prov:wasDerivedFrom
- # dvex:Explainability rdfs:subClassOf prov:Entity
- # dvex:DataValueCalculation rdfs:subClassOf prov:Activity
|