Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DCAT-conforming title and description for all infomodel terms #530

Open
clange opened this issue Dec 7, 2021 · 4 comments
Open

DCAT-conforming title and description for all infomodel terms #530

clange opened this issue Dec 7, 2021 · 4 comments
Assignees
Milestone

Comments

@clange
Copy link
Member

clange commented Dec 7, 2021

In the same direction as discussed in #521 it turns out that for the Eclipse Dataspace Connector each term in the infomodell needs to have (in conformance with DCAT) a dct:title and a dct:description. So far we have had a good coverage, but using rdfs:label and rdfs:comment. The decision to be taken (@sebbader what do you think from a Java perspective?) is to either replace the RDFS properties, or to introduce the DCAT/DC properties additionally, redundantly. The latter should then be supported by automated generation or at least validation to avoid out-of-sync issues.

@sebbader
Copy link
Contributor

sebbader commented Dec 7, 2021

Reading through #521, I think the requirement is not to replace the RDFS terms but to enhance them with additional attributes to give the instances also "title"/"description" capabilities.
On the Java-side, we already have an artificial top class, from which all other classes inherit, and this class can have these attributes (Option a).
Or, Option b, we can simply add the two properties to all "lower" classes.

@JohannesLipp
Copy link
Member

Please note that #504 replaces all existing ids:title with dct:title, and ids:description with dct:description. This (following this comment and the subsequent discussion) is probably already fully supported by the Java Lib.

image

What is the remaining task here? Do you want to enforce everything in the IDS to have at least one dct:title and dct:description or shall this be only mandatory for some but optional for most others (as we already do it currently)?

@JohannesLipp JohannesLipp assigned clange and unassigned JohannesLipp Dec 7, 2021
@sebbader
Copy link
Contributor

sebbader commented Dec 9, 2021

Hi @JohannesLipp, I think the output should be a bit different, using https://github.com/International-Data-Spaces-Association/InformationModel/blob/refactorIDSModel-enhancement/model/infrastructure/AppStore.ttl as an example:

ids:AppStore
    a owl:Class ;
    rdfs:subClassOf ids:Connector;
    rdfs:label "App Store"@en ;
    rdfs:comment "Secure platform for distributing Data Apps."@en.

dct:title a owl:DatatypeProperty ;
    rdfs:label "title" ;
    rdfs:domain  ids:AppStore ;
    rdfs:range xsd:string ;
.
dct:description a owl:DatatypeProperty ;
    rdfs:label "description" ;
    rdfs:domain  ids:AppStore ;
    rdfs:range xsd:string ;
.

And that for every class that is "important enough". Then of course dct:title rdfs:domain ids:AppStore is a bit stupid because it would need to be repeated for every class... Maybe:

dct:title a owl:DatatypeProperty ;
    rdfs:label "title" ;
    rdfs:domain  owl:Class ;
    rdfs:range xsd:string ;
.
dct:description a owl:DatatypeProperty ;
    rdfs:label "description" ;
    rdfs:domain   owl:Class ;
    rdfs:range xsd:string ;
.

or some other way to connect it "as high as possible" at the abstract classes we use?

@JohannesLipp
Copy link
Member

JohannesLipp commented Jan 13, 2022

The precise task might be: Scan through all important classes and properties in the IDS infomodel and ensure that they have both dct:title and dct:description. In most cases, we could copy the values from rdfs:label and rdfs:comment, respectively.

(awaiting answer in #521 )

@JohannesLipp JohannesLipp added this to the 6.0.0 milestone Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants