SDaaS Ontology

the terms in the SDaaS language profile

SDaaS Enterprise edition is fully compliant with the language profile in the latest KEES implementation proposal.

SDaaS Enterprise Edition extends the support to the KEES Language profile by managing additional metadata on named graph:

-prov:startedAtTime and prov:endedAtTime properties are recognized in prov:Activity metadata. Activities with a start date but without an end date should considered not yet terminated or crashed. prov:endedAtTime coincides with the value of one of dct:modified attributes in graph metadata. Activities without bot star and end data should be considered as planned activities still do be done.

  • the prov:wasAttributedTo property refers to the SDaaS agent URI (i.e. $AGENT_ID)
  • the prov:used property is recognized in prov:Activity metadata. It refers the URI of a generic LDP-RS resource providing facts input to the activity, or a void:Dataset, or a sdaas:Plan and coincides with the value of one of dct:source attributes in the graph metadata
  • the URI of the named graph is generated by the graph store driver in order to be uniquely associated to its name and dereferentiable.

For example:

    <http://kb:8080/sdaas/sparql?query=DESCRIBE%3Fg%7B%3Fg%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Fsparql-service-description%23name%3E%3Curn%3Auuid%3A98dccee27a081f9cd75d15b8af59a3d6%3E%7D> a sd:NamedGraph;
        sd:name <urn:uuid:98dccee27a081f9cd75d15b8af59a3d6> ;
        dct:modified "2023-12-10T01:01:02Z"^^xsd:dateTime ;
        dct:source  <http:/example.org/resource.ttl> ;
        prov:wasAttributedTo <urn:uuid:0dead0cf-943b-46c0-98e9-db0da3172f5e> ;
        dqv:hasQualityMeasurement [  dqv:value 0.8 ; dqv:isMeasurementOf kees:trustLevel ] ;
        prov:wasGeneratedBy [ a kees:Ingestion ;
            prov:startedAtTime "2023-12-10T00:00:02Z"^^xsd:dateTime ;
            prov:endedAtTime "2023-12-10T01:00:02Z"^^xsd:dateTime ;
            prov:used <http:/example.org/resource.ttl>
        ]
    .

Multiple activities can concur to the generation of a named graph, for example:

    <http://kb:8080/sdaas/sparql?query=DESCRIBE%3Fg%7B%3Fg%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Fsparql-service-description%23name%3E%3Curn%3Auuid%3A98dccee27a081f9cd75d15b8af59a3d6%3E%7D> a sd:NamedGraph;
        sd:name <urn:uuid:98dccee27a081f9cd75d15b8af59a3d6> ;
        dct:modified "2023-12-10T01:01:02Z"^^xsd:dateTime ;
        dct:modified "2023-12-10T01:02:02Z"^^xsd:dateTime ;
        dct:source  
            <http:/example.org/resource1.ttl> ,
            <http:/example.org/resource2.ttl> ;
        prov:wasAttributedTo <urn:uuid:0dead0cf-943b-46c0-98e9-db0da3172f5e> ;
        dqv:hasQualityMeasurement 
            [  dqv:value 0.7 ; dqv:isMeasurementOf kees:trustLevel ] ,
            [  dqv:value 0.8 ; dqv:isMeasurementOf kees:trustLevel ] ;
        prov:wasGeneratedBy 
            [ a kees:Ingestion ;
                prov:startedAtTime "2023-12-10T00:00:02Z"^^xsd:dateTime ;
                prov:endedAtTime "2023-12-10T01:00:02Z"^^xsd:dateTime ;
                prov:used <http:/example.org/resource1.ttl>
            ] ,
            [ a kees:Ingestion ;
                prov:startedAtTime "2023-12-10T0100:02Z"^^xsd:dateTime ;
                prov:endedAtTime "2023-12-10T02:00:02Z"^^xsd:dateTime ;
                prov:used <http:/example.org/resource2.ttl>
            ] 
    .

Note that multiple quality measurements MAY exist to reflect the possible quality differences in data sources or different points ov view.

In the real implementation SDaaS does not use blank nodes but unique ids generated with the sd uuid core command

SDaaS Vocabulary

The SDaaS Language Profile reuses some terms from existing vocabularies:

PrefixURL
dcthttp://purl.org/dc/terms/
dqvhttp://www.w3.org/ns/dqv#
provhttp://www.w3.org/ns/prov#
sdhttp://www.w3.org/ns/sparql-service-description#
voidhttp://rdfs.org/ns/void#
xsdhttp://www.w3.org/2001/XMLSchema#
keeshttp://linkeddata.center/kees/v1#

Besides to all terms defined in the KEES Language profile, the SDaaS Language profile uses some special term minted from the http://linkeddata.center/sdaas/reference/v4# name space ( prefix sdaas:)

Classes

Plan

Description :a class that references a some commands command

Subclass of
prov:Plan

Data properties

script

Description
the annotated sdaas:Plan is composed by bash script using SDaaS commands
Domain
sdaas:Plan
Range
xsd:String

Example:

[] a sdaas:Plan ; sdaas:script “echo ‘ASK {}’ | sd sparql test”

Last modified February 4, 2024: First commit for 4.0 (619a40d)