SEMICeu / DCAT-AP

This is the issue tracker for the maintenance of DCAT-AP
https://joinup.ec.europa.eu/solution/dcat-application-profile-data-portals-europe
74 stars 24 forks source link

SHACL: Constraint on foaf:primaryTopic #174

Closed andrea-perego closed 2 years ago

andrea-perego commented 3 years ago

The current SHACL constraints raise a sh:Violation when an instance of foaf:primaryTopic is missing from a dcat:CatalogRecord, even when its inverse foaf:isPrimaryTopicOf is present.

This results in a validation error for GeoDCAT-AP records generated from INSPIRE / ISO 19115 ones, as, in such cases, foaf:isPrimaryTopicOf is more frequently used.

Is there a strong reason why the use of foaf:isPrimaryTopicOf instead of foaf:primaryTopic is not satisfying the requirements underlying the relevant constraint?

jakubklimek commented 3 years ago

One obvious reason is the simplicity of applications working with DCAT-AP data. It is simpler to expect one of the inverse property pair than to account for both. Especially, when the problem can be addressed at the data publisher side by adding the inverse property there.

bertvannuffelen commented 3 years ago

I share the remark of @jakubklimek.

In general inverse-named properties (propA and propB) create challenges on several levels:

Many of these questions are dropped if only direction (typically the most natural one) is part of the specification. The other is than a supportive property for implementations.

bertvannuffelen commented 2 years ago

proposal:

no change to the specification.

bertvannuffelen commented 2 years ago

Since no objections have been formulated to this resolution, no adaptations to the shacl shape are included.