-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from ArchivesNationalesFR/issue-33-recordPart
- Loading branch information
Showing
8 changed files
with
121 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
43 changes: 43 additions & 0 deletions
43
...ricoconverter-convert/src/test/resources/ead2rico/_15d_otherlevel_RecordPart/expected.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
xmlns:owl="http://www.w3.org/2002/07/owl#" | ||
xmlns:rico="https://www.ica.org/standards/RiC/ontology#" | ||
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:html="http://www.w3.org/1999/xhtml" | ||
xmlns:skos="http://www.w3.org/2004/02/skos/core#" | ||
xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
xml:base="http://data.archives-nationales.culture.gouv.fr/"> | ||
<!-- rico recordSetTypes : | ||
https://www.ica.org/standards/RiC/vocabularies/recordSetTypes#Collection | ||
https://www.ica.org/standards/RiC/vocabularies/recordSetTypes#File | ||
https://www.ica.org/standards/RiC/vocabularies/recordSetTypes#Fonds | ||
https://www.ica.org/standards/RiC/vocabularies/recordSetTypes#Series | ||
--> | ||
<rico:Record rdf:about="record/058220"> | ||
<rico:hasDocumentaryFormType rdf:resource="https://www.ica.org/standards/RiC/vocabularies/documentaryFormTypes#FindingAid"/> | ||
<rico:describesOrDescribed rdf:resource="recordResource/top-058220"/> | ||
<rico:hasInstantiation> | ||
<rico:Instantiation rdf:about="instantiation/058220-i1"> | ||
<rico:isInstantiationOf rdf:resource="record/058220"/> | ||
<dc:format xml:lang="en">text/xml</dc:format> | ||
<rico:identifier>FRAN_IR_058220</rico:identifier> | ||
<rico:hasOrHadHolder rdf:resource="agent/005061"/> | ||
<rdfs:seeAlso rdf:resource="https://www.siv.archives-nationales.culture.gouv.fr/siv/IR/FRAN_IR_058220"/> | ||
</rico:Instantiation> | ||
</rico:hasInstantiation> | ||
</rico:Record> | ||
|
||
<!-- case 1 : we can match on the value as RecordPart --> | ||
<rico:RecordResource rdf:about="recordResource/top-058220"> | ||
<rico:isOrWasDescribedBy rdf:resource="record/058220"/> | ||
<rdf:type rdf:resource="https://www.ica.org/standards/RiC/ontology#RecordPart"/> | ||
<dc:type>page-de-titre</dc:type> | ||
<rico:type>page-de-titre</rico:type> | ||
<rico:hasInstantiation> | ||
<rico:Instantiation rdf:about="instantiation/top-058220-i1"> | ||
<rico:isInstantiationOf rdf:resource="recordResource/top-058220"/> | ||
</rico:Instantiation> | ||
</rico:hasInstantiation> | ||
</rico:RecordResource> | ||
|
||
</rdf:RDF> |
11 changes: 11 additions & 0 deletions
11
...er/ricoconverter-convert/src/test/resources/ead2rico/_15d_otherlevel_RecordPart/input.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0"?> | ||
<ead> | ||
<eadheader> | ||
<!-- the metadata of the finding aid --> | ||
<eadid>FRAN_IR_058220</eadid> | ||
</eadheader> | ||
|
||
<!-- case 1 : we can match on the value --> | ||
<archdesc level="otherlevel" otherlevel="page-de-titre" /> | ||
</ead> | ||
|