linked-art / linked.art

Development of a specification for linked data in museums, using existing ontologies and frameworks to build usable, understandable APIs
https://linked.art/
Other
91 stars 13 forks source link

Name vs referred_to_by #468

Open beaudet opened 2 years ago

beaudet commented 2 years ago

In validating all instances of E33_Linguistic_Object, the SHACL validator is also finding E33_E41_Linguistic_Appelation since that's a subclass of E33 and therefore reporting that the Name should be classified as a category of information as per the API specs for E33 and that that term should be further classified.

Is this check accurate? Since E33 is a top level LA entity, we'll need an sh:targetClass check for E33. Should I find a way to ignore E33_E41 with these checks or should fully formed E33_E41 data actually contain these concepts as well as E33?

2022-01-12 13:30:09 WARN  LinkedArtValidator:219 - Recommendation: w18: Linguistic Objects should be 'classified_as' a 'category of information' using a term under (aat:300435412).
2022-01-12 13:30:09 INFO  LinkedArtValidator:405 - 
2022-01-12 13:30:09 INFO  LinkedArtValidator:408 - Problem Node:5bb3b96bdcb3fe78d79e8a6fc332e0e7
2022-01-12 13:30:09 INFO  LinkedArtValidator:411 -  node data: http://www.cidoc-crm.org/cidoc-crm/P72_has_language ==> http://vocab.getty.edu/aat/300388277
2022-01-12 13:30:09 INFO  LinkedArtValidator:411 -  node data: http://www.cidoc-crm.org/cidoc-crm/P2_has_type ==> http://vocab.getty.edu/aat/300404670
2022-01-12 13:30:09 INFO  LinkedArtValidator:411 -  node data: http://www.cidoc-crm.org/cidoc-crm/P190_has_symbolic_content ==> Mona Lisa
2022-01-12 13:30:09 INFO  LinkedArtValidator:411 -  node data: http://www.w3.org/1999/02/22-rdf-syntax-ns#type ==> http://www.cidoc-crm.org/cidoc-crm/E33_E41_Linguistic_Appellation
2022-01-12 13:30:09 INFO  LinkedArtValidator:416 - Path:df908ffe-65b4-4c5c-893d-7704c71c49b6
2022-01-12 13:30:09 INFO  LinkedArtValidator:420 - Shape:10dd1dc6f841a8bf064a9742199cc796
2022-01-12 13:30:09 INFO  LinkedArtValidator:423 - ==============================================================================================
beaudet commented 2 years ago

See if inferencing is having an effect on this behavior and circle back - otherwise, using a SPARQL selector should probably work.

azaroth42 commented 10 months ago

I think you'd need to turn off inferencing. For example the "Abstract Work" idea from the Yale F2F would break all of the other works as PropositionalObject is a super-class of them all.