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

Issues with ABO validation tests for1.1_Rev1.5-DRAFT #48

Open
d0rg0ld opened this issue Feb 28, 2014 · 11 comments
Open

Issues with ABO validation tests for1.1_Rev1.5-DRAFT #48

d0rg0ld opened this issue Feb 28, 2014 · 11 comments

Comments

@d0rg0ld
Copy link
Member

d0rg0ld commented Feb 28, 2014

Here I collect issues I encounter while working with ABO mappings and the validator 1.1_Rev1.5-DRAFT

  1. foaf:Organization not allowed as dc:subject --> plz fix
    [ERROR] INVALID_OBJECT_PROPERTY_RANGE http://data.dm2e.eu/data/agent/onb/authority_gnd/4029989-2

  2. foaf:Person not allowed as dc:subject --> plz fix
    [ERROR] INVALID_OBJECT_PROPERTY_RANGE http://data.dm2e.eu/data/agent/onb/authority_gnd/118838989

  3. bibo:Series not allowed as dc:type --> FATAL, plz fix
    [FATAL] INVALID_DC_TYPE http://purl.org/ontology/bibo/Series

  4. edm:Place as dc:subject throws error, plz fix
    [ERROR] INVALID_OBJECT_PROPERTY_RANGE http://data.dm2e.eu/data/place/onb/authority_gnd/4074987-3

----> In the meantime I suspect that the ranges for dc:subject are generally flawed -> OWL file?

@kba
Copy link
Member

kba commented Feb 28, 2014

The ranges of dc:subject are not flawed per se, they are a fixed list derived from the DM2E Model Specifications document. The OWL file is not complete, plus keeping a list of the subclasses actually allowed in the model is faster than doing even simple reasoning. We can do that at a later stage. For now I just add them by hand. There aren't that many anyway:

  • edm:Agent
    • foaf:Person
    • foaf:Organization
      • dm2e:Archive
      • vivo:Library
      • vivo:Museum
      • vivo:University
  • skos:Concept
    • dm2e:Work
    • fabio:Article
    • fabio:Chapter
    • dm2e:Paragraph
    • dm2e:Publication
    • bibo:Series
  • edm:TimeSpan
  • edm:Place

Am I missing something?

  1. That shouldn't happen, please make sure you are using the the most recent version. To make it easier to spot, I've added a build date in the most recent version. Running the tool without any arguments should print out the time when it was last built on data.dm2e.eu.

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

kba commented Mar 4, 2014

@d0rg0ld Please check this when ABO validation is finished and close if it's fixed.

@d0rg0ld
Copy link
Member Author

d0rg0ld commented Mar 5, 2014

On Basis of Validator Build Date: Tue Mar 4 18:12:13 CET 2014 / model version 1.1_Rev1.5

ERRORS not fixed :

<dc:subject rdf:resource="http://data.dm2e.eu/data/place/onb/authority_gnd/4043271-3"/>
throws [ERROR] INVALID_OBJECT_PROPERTY_RANGE http://data.dm2e.eu/data/place/onb/authority_gnd/4043271-3

[ERROR] NON_REPEATABLE http://onto.dm2e.eu/schemas/dm2e/publishedAt

[ERROR] SHOULD_BE_RESOURCE http://onto.dm2e.eu/schemas/dm2e/shelfmarkLocation

@edroege
--------- Missing in OWL file --------------

fabio:hasSequenceIdentifier

used in :

xml
<skos:Concept rdf:about="http://data.dm2e.eu/data/concept/onb/authority_gnd/4487110-7">
      <owl:sameAs>http://d-nb.info/gnd/4487110-7</owl:sameAs>
      <skos:prefLabel>Sermones</skos:prefLabel>
      <fabio:hasSequenceIdentifier>I.</fabio:hasSequenceIdentifier>
      <dc:creator rdf:resource="http://data.dm2e.eu/data/agent/onb/authority_gnd/Leo_I._Papst_-461"/>
   </skos:Concept>

fabio:hasSubtitle

used in:

xml
   <skos:Concept rdf:about="http://data.dm2e.eu/data/concept/onb/authority_gnd/4075942-8">
      <owl:sameAs>http://d-nb.info/gnd/4075942-8</owl:sameAs>
      <skos:prefLabel>Timotheusbrief</skos:prefLabel>
      <fabio:hasSubtitle>I. II.</fabio:hasSubtitle>
      <dc:creator rdf:resource="http://data.dm2e.eu/data/agent/onb/authority_gnd/Paulus_Apostel_ca._1._Jh."/>
   </skos:Concept>

@kba
Copy link
Member

kba commented Mar 5, 2014

<dc:subject rdf:resource="http://data.dm2e.eu/data/place/onb/authority_gnd/4043271-3"/>
throws [ERROR] INVALID_OBJECT_PROPERTY_RANGE http://data.dm2e.eu/data/place/onb/authority_gnd/4043271-3

What type is http://data.dm2e.eu/data/place/onb/authority_gnd/4043271-3? Obviously I missed an allowed object range but to correct it, I must know which rdf:type this has.

[ERROR] NON_REPEATABLE http://onto.dm2e.eu/schemas/dm2e/publishedAt

This is correct behavior for 1.1_Rev1.5. Fixed in 1.1_Rev1.6.

[ERROR] SHOULD_BE_RESOURCE http://onto.dm2e.eu/schemas/dm2e/shelfmarkLocation

According to 1.1_Rev1.5, the range is edm:Place. Will be changed in 1.1_Rev1.6 according to #57 .

@d0rg0ld
Copy link
Member Author

d0rg0ld commented Mar 5, 2014

http://data.dm2e.eu/data/ ----> place <---- /onb/authority_gnd/4043271-3 :-)

@d0rg0ld
Copy link
Member Author

d0rg0ld commented Mar 5, 2014

thx!

@kba
Copy link
Member

kba commented Mar 5, 2014

Yes, but is it actually an edm:Place?

@d0rg0ld
Copy link
Member Author

d0rg0ld commented Mar 5, 2014

yes, a sometimes even nice place :-)

   <edm:Place rdf:about="http://data.dm2e.eu/data/place/onb/authority_gnd/4043271-3">
      <owl:sameAs rdf:resource="http://d-nb.info/gnd/4043271-3"/>
      <skos:prefLabel>Österreich</skos:prefLabel>
   </edm:Place>

@kba
Copy link
Member

kba commented Mar 5, 2014

Some beg to differ ;-)

Anyway, there was indeed a bug about edm:Place, I just fixed it and rebuilt the tool. Please re-download, fixed as of build 'Wed Mar 5 11:00:09 CET 2014'

@kba
Copy link
Member

kba commented Mar 6, 2014

Since 1.1_Rev1.5 seems pretty stable now and the issues here are fixed, I'll close this. Please open a new issue for any new problems you might encounter.

@kba kba closed this as completed Mar 6, 2014
@kba
Copy link
Member

kba commented Aug 18, 2014

fabio:has* still missing

@kba kba reopened this Aug 18, 2014
@kba kba removed their assignment Dec 16, 2015
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