Open Msch0150 opened 2 years ago
I realized that the "Nomisa RDF Dump" in APIs exports items with "hasTypeSeriesItem" only. Is this a wanted behaviour? In which file is that defined?
Regarding the export as RDF for a single coin I have found a way to adjust it:
ui/xslt/serializations/object/rdf-templates.xsl:
I add:
This is a desired feature in Numishare because the Nomisma RDF exports of collections of physical coins were designed specifically for ingestion into Nomisma and should meet data quality thresholds of having at least one nmo:hasTypeSeriesItem or having a dcterms:isPartOf to link to a hoard URI.
This is controlled by https://github.com/ewg118/numishare/blob/master/xpl/models/solr/rdf_count_docs.xpl#L32 Solr query which creates a list of 10,000 coin RDF chunks and https://github.com/ewg118/numishare/blob/master/xpl/controllers/nomisma.xpl#L153 which is the Solr query used to generate the response that is serialized into RDF. There is a field restriction that excludes denomination, mint, material, and a variety of other fields you'd need to generate a full export of all of the properties associated with a coin. It would be a relatively complicated process to update this.
The ideal would probably to create a Numishare config option for full or type/hoard only exports, and replace the paginated Solr->RDF serialization for specimens to the XQuery NUDS->RDF serialization that is used for coin types. It might take a few days to rewrite the pipelines and serializations for this.
I have a collection with "physical" find coins which do not have a type series. But they have for example a given authority, fromDate and toDate. The complete collection is exported as RDF and uploaded to a SPARQL server. But it looks like that the above information is not exported in into the RDF file. So as query using:
http://nomisma.org/ontology#hasAuthority http://nomisma.org/ontology#hasEndDate http://nomisma.org/ontology#hasStartDate
doesn't show any results. Is there any reason for not exporting the information? Or is there any setting for it?