isawnyu / pleiades-gazetteer

This repository provides a home for tickets and other planning documents for the Pleiades gazetteer of ancient places. Code is kept in multiple other repositories.
https://pleiades.stoa.org
11 stars 0 forks source link

Values of hasFeatureType use wrong place type URIs (extra /plone in URI path) #518

Open rybesh opened 1 week ago

rybesh commented 1 week ago

In the RDF datasets, values of pleiades:hasFeatureType have URIs with an extra /plone at the start of the path, like:

https://pleiades.stoa.org//plone/vocabularies/place-types/villa

They should be like:

https://pleiades.stoa.org/vocabularies/place-types/villa

This currently breaks SPARQL joins between places and their type concepts.

paregorios commented 3 days ago

The problem is currently only manifest in the bulk download in TTL format, generated weekly on Sundays and obtained via https://atlantides.org/downloads/pleiades/rdf/:

ggrep plone *.ttl | more
errata.ttl:    pleiades:hasFeatureType <https://pleiades.stoa.org//plone/vocabularies/place-types/province>;
errata.ttl:    pleiades:hasFeatureType <https://pleiades.stoa.org//plone/vocabularies/place-types/province>;
errata.ttl:    pleiades:hasFeatureType <https://pleiades.stoa.org//plone/vocabularies/place-types/province>;
errata.ttl:    pleiades:hasFeatureType <https://pleiades.stoa.org//plone/vocabularies/place-types/province>;
errata.ttl:    pleiades:hasFeatureType <https://pleiades.stoa.org//plone/vocabularies/place-types/province>;
errata.ttl:    pleiades:hasFeatureType <https://pleiades.stoa.org//plone/vocabularies/place-types/province>;
errata.ttl:    pleiades:hasFeatureType <https://pleiades.stoa.org//plone/vocabularies/place-types/province>;
errata.ttl:    pleiades:hasFeatureType <https://pleiades.stoa.org//plone/vocabularies/place-types/province>;
errata.ttl:    pleiades:hasFeatureType <https://pleiades.stoa.org//plone/vocabularies/place-types/province>;
errata.ttl:    pleiades:hasFeatureType <https://pleiades.stoa.org//plone/vocabularies/place-types/province>;
errata.ttl:    pleiades:hasFeatureType <https://pleiades.stoa.org//plone/vocabularies/place-types/port>,
errata.ttl:        <https://pleiades.stoa.org//plone/vocabularies/place-types/settlement>;
errata.ttl:    pleiades:hasFeatureType <https://pleiades.stoa.org//plone/vocabularies/place-types/unknown>;
errata.ttl:    pleiades:hasFeatureType <https://pleiades.stoa.org//plone/vocabularies/place-types/road>;
errata.ttl:    pleiades:hasFeatureType <https://pleiades.stoa.org//plone/vocabularies/place-types/road>;
errata.ttl:    pleiades:hasFeatureType <https://pleiades.stoa.org//plone/vocabularies/place-types/villa>;

In evaluating any fix, we should check for these problems not only in the bulk TTL format, but also in both of the individual place-level RDF serializations where the problem is not currently found: