beeldengeluid / beng-lod-server

LOD server for B&G catalogue
MIT License
1 stars 1 forks source link

fixing type and additionaltype for skos:concept #490

Closed wmelder closed 6 months ago

wmelder commented 6 months ago

Seems like skos:Concepts are both rdf:type and sdo:additionalType. This doesn't seem right. It has to do with the fact that we get triples from the defaultgraph, which is a join of all the other namedgraphs.

Also, we see that resources contain sdo:Person entities with triples including 4 rdf:types and an sdo:additionalType. This is caused by the fact that we generate the RDF from the catalogue in the lod-importer and load that, together with the thesaurus dumps. Where skos:Concept for sdo:Person is an sdo:additionalType in the catalogue, it is rdf:type in the thesaurus.

image

TODO:

wmelder commented 6 months ago

hangt samen met https://github.com/beeldengeluid/beng-lod-server/issues/468

wmelder commented 6 months ago

uiteindelijk simpele fix door te checken of rdf:type en sdo:additionalType beiden in de graph staan. Zo ja, dan wordt de additionalType verwijderd. Hiermee is de issue voor nu wel gefixt