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

Are unknown properties errors? #10

Closed
kba opened this issue Feb 25, 2014 · 2 comments
Closed

Are unknown properties errors? #10

kba opened this issue Feb 25, 2014 · 2 comments

Comments

@kba
Copy link
Member

kba commented Feb 25, 2014

Should the validation rely on a strict closed world assumption and consider properties that are not defined by the DM2E data model as an error or a mere warning?

Right now, I collect all DatatypeProperties and ObjectProperties of the resp. OWL file and iterate through all the properties in the data to check. If a property is not in this whitelist, a WARNING is given.

But in most cases, these are actually errors, e.g.

<http://data.dm2e.eu/data/item/mpiwg/harriot/MPIWG:01QU84RT_982>:.
    [WARNING]   UNKNOWN_PROPERTY    http://purl.org/dc/terms/description
    [WARNING]   UNKNOWN_PROPERTY    http://purl.org/ontology/bibo/number/
    [WARNING]   UNKNOWN_PROPERTY    http://purl.org/dc/terms/title

1 and 3 should be dc elements not dcterms, 2 is a typo.

So I suggest making unknown properties errors.

@ksdm2e
Copy link

ksdm2e commented Feb 25, 2014

That's an error. It must be corrected by the dataprovider.

kba added a commit to DM2E/dm2e-ontologies that referenced this issue Feb 25, 2014
@kba
Copy link
Member Author

kba commented Feb 25, 2014

Are errors now.

@kba kba closed this as completed Feb 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants