acdh-oeaw / arche-doorkeeper

A set of arche-core handlers implementing the ACDH business logic.
MIT License
0 stars 0 forks source link

Creation of PID failes #12

Closed csae8092 closed 3 years ago

csae8092 commented 3 years ago

running the script ids_and_binaries.php failed to create handle-PIDs

example resource

<rdf:RDF xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:acdh="https://vocabs.acdh.oeaw.ac.at/schema#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xml:base="https://id.acdh.oeaw.ac.at/">
  <acdh:Resource rdf:about="https://id.acdh.oeaw.ac.at/rita/editions/inventar__1756-03-15.xml">
      <acdh:isPartOf rdf:resource="https://id.acdh.oeaw.ac.at/rita/editions"/>
      <acdh:hasTitle xml:lang="de">1756 III 15 – 1756 III 29, Saalen (in der Benefiziaten-Behausung) [Stainer Sebastian Joseph (Benefiziat)]</acdh:hasTitle>
      <acdh:hasNonLinkedIdentifier xml:lang="de">Archivsignatur: Südtiroler Landesarchiv (SLA) Inventare des Mittleren Pustertals Pos. Nr. 760 </acdh:hasNonLinkedIdentifier>
      <acdh:hasCoverageStartDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">1756-03-15</acdh:hasCoverageStartDate>
      <acdh:hasCoverageEndDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">1756-03-15</acdh:hasCoverageEndDate>
      <acdh:hasRelatedDiscipline rdf:resource="https://vocabs.acdh.oeaw.ac.at/oefosdisciplines/601"/>
      <acdh:hasMetadataCreator rdf:resource="https://d-nb.info/gnd/1043833846"/>
      <acdh:hasCurator rdf:resource="https://d-nb.info/gnd/1043833846"/>
      <acdh:hasContact rdf:resource="https://d-nb.info/gnd/1133094783"/>
      <acdh:hasDepositor rdf:resource="https://d-nb.info/gnd/1133094783"/>
      <acdh:hasPid>create</acdh:hasPid>
      <acdh:hasLicensor rdf:resource="https://d-nb.info/gnd/16332395-1"/>
      <acdh:hasLicense rdf:resource="https://vocabs.acdh.oeaw.ac.at/archelicenses/cc-by-4-0"/>
      <acdh:hasOaiSet rdf:resource="https://vocabs.acdh.oeaw.ac.at/archeoaisets/kulturpool"/>
      <acdh:hasOaiSet rdf:resource="https://vocabs.acdh.oeaw.ac.at/archeoaisets/clarin-vlo"/>
      <acdh:hasLanguage rdf:resource="https://vocabs.acdh.oeaw.ac.at/iso6393/deu"/>
      <acdh:hasOwner rdf:resource="https://d-nb.info/gnd/16332395-1"/>
      <acdh:hasRightsHolder rdf:resource="https://d-nb.info/gnd/36165-3"/>
      <acdh:hasCategory rdf:resource="https://vocabs.acdh.oeaw.ac.at/archecategory/text/tei"/>
      <acdh:hasCreator rdf:resource="https://d-nb.info/gnd/1133094783"/>
      <acdh:hasAvailableDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2021-04-01+02:00</acdh:hasAvailableDate>
  </acdh:Resource>
</rdf:RDF>

same data source as mentioned in the script can be found here https://rita.acdh.oeaw.ac.at/archeutils/ids.xql

zozlak commented 3 years ago

Fixed by 425858e8ea296db992c1a54ac25798ff7badadf8

143 resources with acdh:hasPid "create" require passing them trough the doorkeeper. This is going on now on arche-ingestion@herkules and will finish within around 15 minutes.