samvera-deprecated / curation_concerns

A Hydra-based Rails Engine that extends an application, adding the ability to Create, Read, Update and Destroy (CRUD) objects (based on Hydra::Works) and providing a generator for defining object types with custom workflows, views, access controls, etc.
Other
15 stars 27 forks source link

Resolve or document metadata range problems #562

Closed mjgiarlo closed 2 years ago

mjgiarlo commented 8 years ago

From @hackmastera on June 4, 2015 18:21

This ticket is to open discussion.

In some cases, sufia creates properties on generic file which use predicates with ranges. When sufia uses strings as values it is not always conforming to the predicates as specified. We may wish to fix this situation by implimenting a way for the predicate to respect the specified range, or by changing the predicate for a given property. Where that would be as simple as switching from dcterms to dc-elements, I'll indicate on the list.

The following properties in sufia use predicates that have specified ranges*:

the following additional proprties have skos:note "(This term is intended to be used with non-literal values as defined in the DCMI Abstract Model (http://dublincore.org/documents/abstract-model/). As of December 2007, the DCMI Usage Board is seeking a way to express this intention with a formal range declaration." We may wish to discuss whether any of these are therefore misleading, as well.

*(other than rdfs:literal, xds:string, which I believe are okay to put strings in)

Copied from original issue: projecthydra/sufia#1179

mjgiarlo commented 8 years ago

From @tpendragon on June 4, 2015 18:32

related_url should be fine, a literal is an rdfs:Resource, and a string is a literal under RDF 1.1. (An RDFS::Resource is "All things described by RDF"

based_near looks particularly problematic.

mjgiarlo commented 8 years ago

Re: based_near, strings are currently stored because we lacked then a common pattern to store URIs and display labels. I am given to believe that we're much closer to a pattern now, so the timing is good to revisit this decision.

FWIW, labels in this field should be coming straight out of one of the Geonames APIs, so we could theoretically define a migration path that hits the APIs and matches up string labels with URIs.