sd_kees_metadata

print kees metadata

Synopsis

sd_kees_matadata [-D METADATA ] GRAPH NAME

Description

print the metadata about a named graph with name GRAPH NAME serialized in in nTriples. This command is mainly intended for internal use only.

GRAPH NAME, -D “graph=GRAPH NAME
an URI for the graph name
METADATA
following metadata are supported:
Variable NameDefaultDescription
trust1Trust level as a xds:decimal ranging 0..1
activity_typeLearninga KEES activity type (without namespace) OR xsd:anyURI
graphuuidXSD:anyURI Named graph name
graph_typeFirstPartyDataa KEES named_graph type (without namespace) OR xsd:anyURI
sourceXSD:anyURI The data source
activity_iduuidXSD:anyURI Identifier for a prov:Activity
started_atactivity start date
agent_idAGENT_IDagent associated to the activity

Generates:

<$subject> a <$graph_type> ;
    sdname: <$graph> ;
    prov:wasGeneratedBy <$activity_id> ;
    dcterms:modified "$ended_at"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
    dcterms:source <$source> ;
    dqv:hasQualityMeasurement [
        dqv:value> "$trust"^^<http://www.w3.org/2001/XMLSchema#decimal> ;
        dqv:isMeasurementOf <http://linkeddata.center/kees/v1#trustLevel> ;
        prov:wasGeneratedBy <$activity_id> 
    ]
<$activity_id> a <$activity_type> ;
    prov:startedAtTime "$started_at"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;	
    prov:endedAtTime "$ended_at"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
    prov:wasAssociatedWith <$agent_id> .

Context

The default context is loaded from the SD_DEFAULT_CONTEXT configuration variable

Exit status

Exits 0 on success, and >0 if an error occurs.

Availability

Since SDaaS 4

Last modified October 5, 2025: updated (1562e7a)