zazuko / lindas-datasets

LINDAS & data.admin.ch meta data
0 stars 2 forks source link

Issue with Dataset Usage Vocab #6

Open ktk opened 8 years ago

ktk commented 8 years ago

I wanted to document the usage of the datasets with this vocabulary:

https://www.w3.org/TR/vocab-duv/ I can point to usage from dcat:Dataset but the distinction between duv:Usage and duv:UsageTool is not completely clear to me. From what I see dcat:Dataset points to a duv:Usage but then I don't understand the difference between the dct:title in duv:Usage and the one in duv:UsageTool

<dataset/meta> a void:Dataset, dcat:Dataset ;
    foaf:homepage <http://data.admin.ch/>;
    dcterms:title "Metadaten zu LINDAS & data.admin.ch"@de;
    dcterms:title "LINDAS & data.admin.ch meta data"@en;
    dcterms:description "This graph contains all meta data about datasets provided by LINDAS and related projects like data.admin.ch."@en;
    dcterms:publisher <org/Zazuko>;
    dcterms:issued "2016-05-23"^^xsd:date; # date of publication of the source
    dcterms:created "2016-05-23"^^xsd:date;
    dcterms:modified "2016-05-23"^^xsd:date;
    doap:repository [
        a doap:GitRepository ;
        doap:browse <https://github.com/zazuko/lindas-datasets> ;
        doap:location <https://github.com/zazuko/lindas-datasets.git> 
    ] ;
    void:sparqlEndpoint <http://data.admin.ch/sparql>;
    duv:hasUsage <dataset/meta-usage> ;
.

<dataset/meta-usage> a duv:Usage ;
    dct:title "What's the idea of this text here";
    duv:hasUsageTool ex:route-calculator ;

<dataset/meta-usage-tool> a duv:UsageTool ; # How would I point to this one from either dataset or <dataset/meta-usage> 
    dct:title "LINDAS homepage & dataset index"; # 
    dct:uri <http://lindas-data.ch/> .
retog commented 8 years ago

I think the class UsageTool is quite weirdly defined, the name suggests it's a tool but the description says its a synopsys, but a synopsys would typically be a literal.

Assuming its a tool (which seems consistent with the examples) it would be used like that:

<dataset/meta-usage> a duv:Usage ;
    dct:title "Find the lindas dataset with the data you need";
    duv:hasUsageTool  <tools/dataset-finder>;

<tools/dataset-finder> a duv:UsageTool ;
    dct:title "The Lindas Dataset finder allows you to find a dataset matching your current mood"; 
    dct:uri <http://example.org/dataset-finder>  .

So the Usage represents something you can do with a dataset, a UsageTool a tool that can be used to do that.