Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
1589 lines (1589 sloc) 66.8 KB
<?xml version="1.0" encoding="UTF-8"?>
<metamorph xmlns="http://www.culturegraph.org/metamorph" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="1">
<!-- Aleph MAB2 XML to RDF - a mapping of the hbz01 catalog to lobid-resources -->
<!-- beware: the sequence of the rules are semantically important! Don't change the order. -->
<!-- Aleph MAB differs from MAB in that: -->
<!-- an indicator2 exists -->
<!-- most fields have a subfield 'a' -->
<!-- => structure of alehp MAB: $field$indicator1$indicator2$subfield -->
<vars>
<var name="ns-lobid-resource" value="http://lobid.org/resource/"/>
<var name="ns-lobid-vocab" value="http://purl.org/lobid/lv#"/>
<var name="ns-lobid-organisation" value="http://lobid.org/organisation/"/>
<var name="ns-zdb-services" value="http://ld.zdb-services.de/resource/"/>
<var name="ns-gnd" value="http://d-nb.info/standards/elementset/gnd#"/>
</vars>
<macros>
<macro name="subject-chain-name">
<combine name="@preferredNameSubjectChain$[field_1]" value="${a}${e}${d}${c}${perm}">
<concat delimiter="" name="a" flushWith="$[field_1]??|$[field_2]-1.a">
<data source="$[field_1]-[-12].[abfghkpskzx-]">
<replace pattern="^" with=", "/>
</data>
<data source="$[field_1]-[-12].n">
<replace pattern="^" with=", "/>
</data>
<concat delimiter="" name="e" flushWith="$[field_1]??">
<data source="$[field_1]-[-12].e">
<replace pattern="^" with=" "/>
<replace pattern="$" with=""/>
</data>
<concat delimiter="" name="d" flushWith="$[field_1]??">
<data source="$[field_1]-[-12].d">
<replace pattern="^" with=" ("/>
<replace pattern="$" with="), "/>
</data>
</concat>
</concat>
<concat delimiter="" name="c" flushWith="$[field_1]??">
<data source="$[field_1]-[-12].c">
</data>
<data source="$[field_1]-[-12].t">
<regexp match="(.*)" format=": ${1}"/>
</data>
</concat>
<data source="$[field_2]-1.a" name="perm">
<regexp match="(.*)" format="(${1})"/>
</data>
</concat>
</combine>
</macro>
<macro name="subject-chain-perm">
<combine name="@subjectChainPerm" value="${a}">
<concat delimiter=" | " name="a">
<data source="@preferredNameSubjectChain$[field]">
<replace pattern="^, " with=""/>
<replace pattern=", $" with=""/>
</data>
</concat>
</combine>
</macro>
</macros>
<rules>
<!-- ####### Get subject uri of each record -->
<data source="001-[-1].a" name="@id"/>
<!-- get also the ZDB id to mint it -->
<data source="025z[-1].a" name="@idzdb"/>
<!-- ####### hbz ID sameAs ZDB ID -->
<combine name="http://www.w3.org/2002/07/owl#sameAs" value="$[ns-zdb-services]${idzdb}">
<data source="@idzdb" name="idzdb"/>
</combine>
<data source="@idzdb" name="$[ns-lobid-vocab]zdbID"/>
<combine name="http://www.w3.org/2002/07/owl#sameAs" value="${idzdb}">
<data source="@id"/>
<data source="@idzdb" name="idzdb">
<regexp match="(.*)" format="$[ns-lobid-resource]ZDB${1}"/>
</data>
</combine>
<!-- ####### Secondary form, link to primary form and vice verso -->
<data source="021[-b]1.a" name="http://purl.org/dc/terms/source">
<regexp match="(.*)" format="$[ns-lobid-resource]${1}"/>
</data>
<data source="021[-b]1.a" name="http://purl.org/dc/terms/isFormatOf">
<regexp match="(.*)" format="$[ns-lobid-resource]${1}"/>
</data>
<!-- temporarily set new subject id outcommented as a workaround, s. https://github.com/hbz/lobid/issues/155
<data name="~rdf:subject" source="021[-b]1.a"> <regexp match="(.*)" format="$[ns-lobid-resource]${1}"/>
</data> <combine name="http://purl.org/dc/terms/hasFormat" value="$[ns-lobid-resource]${subjectid}">
<data source="021[-b]1.a" name=""/> <data source="@id" name="subjectid"/> </combine> set subject
uri of resource anew <combine name="~rdf:subject" value="$[ns-lobid-resource]${subject}"> <data
source="@id" name="subject"/> <data source="021[-b]1.a"/> </combine> -->
<!-- ####### Child, link to parent and vice versa, e.g. HT000009600 -->
<data source="4[56789]3[-abr][-12].a" name="@idTitleSeries"/>
<data source="529z1.9" name="@hasSupplement"/>
<data source="010-1.a|@idTitleSeries" name="@isPartOfHbzId">
<regexp match="(.*)" format="$[ns-lobid-resource]${1}"/>
</data>
<!-- temporarily set new subject uri outcommented as a workaround, s. https://github.com/hbz/lobid/issues/155
<data name="~rdf:subject" source="010-1.a|529z1.9|@idTitleSeries"> <regexp match="(.*)" format="$[ns-lobid-resource]${1}"/>
</data> <combine name="http://purl.org/dc/terms/hasPart" value="$[ns-lobid-resource]${subjectid}">
<data source="010-1.a|@idTitleSeries"/> <data source="@id" name="subjectid"/> </combine> is
supplement to <combine name="http://rdaregistry.info/Elements/u/P60259" value="$[ns-lobid-resource]${subjectid}">
<data source="529z1.9"/> <data source="@id" name="subjectid"/> </combine> set subject uri of
resource anew <combine name="~rdf:subject" value="$[ns-lobid-resource]${subject}"> <data source="@id"
name="subject"/> <data source="010-1.a|529z1.9|@idTitleSeries"/> </combine> -->
<!-- ####################### -->
<!-- ####### provenance not used for now, see https://github.com/lobid/lodmill/issues/541 -->
<!-- ####################### -->
<!-- <data source="@idzdb" name="@idzdbProvenance"> <regexp match="(.*)" format="$[ns-lobid-resource]${1}/about"/>
</data> <data source="@idzdbProvenance" name="~rdf:subject"/> <data source="@idzdb" name="http://xmlns.com/foaf/0.1/primaryTopic">
<regexp match="(.*)" format="$[ns-lobid-resource]${1}"/> </data> <combine name=" :subject"
value="$[ns-lobid-resource]${id}/about"> <if> <none> <data source="@idzdbProvenance"/> </none>
</if> <data source="@id" name="id"> <regexp match="(.*)" format="${1}"/> </data> </combine>
<combine name="~rdf:subject" value="$[ns-lobid-resource]${id}/about"> <data source="@idzdb"/>
<data source="@id" name="id"> <regexp match="(.*)" format="${1}"/> </data> </combine> <data
source="@idzdbProvenance" name="http://vocab.deri.ie/void#inDataset"> <regexp match=".*" format="http://lobid.org/dataset/resource"/>
</data> <combine name="http://vocab.deri.ie/void#inDataset" value="http://lobid.org/dataset/resource">
<if> <none> <data source="@idzdbProvenance"/> </none> </if> <data source="@id"/> </combine>
<combine name="http://vocab.deri.ie/void#inDataset" value="http://lobid.org/dataset/resource">
<data source="@idzdb"/> <data source="@id"/> </combine> <combine name="http://xmlns.com/foaf/0.1/primaryTopic"
value="$[ns-lobid-resource]${id}"> <if> <none> <data source="@idzdbProvenance"/> </none> </if>
<data source="@id" name="id"> <regexp match="(.*)" format="${1}"/> </data> </combine> <combine
name="http://xmlns.com/foaf/0.1/primaryTopic" value="$[ns-lobid-resource]${id}"> <data source="@idzdb"/>
<data source="@id" name="id"> <regexp match="(.*)" format="${1}"/> </data> </combine> -->
<!-- ####################### -->
<!-- ####### Set main subject uri -->
<!-- ####################### -->
<data source="@idzdb" name="~rdf:subject">
<regexp match="(.*)" format="$[ns-lobid-resource]ZDB${1}"/>
</data>
<combine name="http://www.w3.org/2002/07/owl#sameAs" value="$[ns-lobid-resource]${id}">
<data source="@idzdb"/>
<data source="@id" name="id"/>
</combine>
<!-- set zdbId also for ZDB subjects -->
<combine value="$[ns-lobid-resource]ZDB${a}/about" name="http://www.w3.org/2007/05/powder-s#describedby">
<data source="@idzdb" name="a"/>
<data source="@id"/>
</combine>
<combine name="~rdf:subject" value="$[ns-lobid-resource]${id}">
<data source="@idzdb"/>
<data source="@id" name="id"/>
</combine>
<combine name="http://www.w3.org/2002/07/owl#sameAs" value="http://hub.culturegraph.org/resource/HBZ-${id}">
<if>
<none>
<data source="@idzdb"/>
</none>
</if>
<data source="@id" name="id"/>
</combine>
<!-- ####### General attributes for each record -->
<combine name="http://xmlns.com/foaf/0.1/isPrimaryTopicOf" value="${primaryTopic}">
<if>
<none>
<data source="@idzdb"/>
</none>
</if>
<data source="@id" name="primaryTopic">
<regexp match="(.*)" format="http://193.30.112.134/F/?func=find-c&amp;ccl_term=IDN%3D${1}"/>
</data>
</combine>
<combine name="http://xmlns.com/foaf/0.1/isPrimaryTopicOf" value="${primaryTopic}">
<data source="@idzdb"/>
<data source="@id" name="primaryTopic">
<regexp match="(.*)" format="http://193.30.112.134/F/?func=find-c&amp;ccl_term=IDN%3D${1}"/>
</data>
</combine>
<data source="@id" name="$[ns-lobid-vocab]hbzID"/>
<data source="@idzdb" name="http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
<regexp match=".*" format="http://purl.org/dc/terms/BibliographicResource"/>
</data>
<combine name="http://www.w3.org/1999/02/22-rdf-syntax-ns#type" value="http://purl.org/dc/terms/BibliographicResource">
<if>
<none>
<data source="@idzdb"/>
</none>
</if>
<data source="@id"/>
</combine>
<data source="@id" name="http://www.w3.org/2007/05/powder-s#describedby">
<regexp match="(.*)" format="$[ns-lobid-resource]${1}/about"/>
</data>
<data source="025z[2].a" name="@dctIsPartOf">
<regexp match="(.*)" format="$[ns-zdb-services]${1}"/>
</data>
<data source="025o[-12].a" name="@oclcnum"/>
<data source="@oclcnum" name="http://www.w3.org/2002/07/owl#sameAs">
<regexp match="(.*)" format="http://worldcat.org/oclc/${1}"/>
</data>
<data source="@oclcnum" name="http://purl.org/ontology/bibo/oclcnum"/>
<combine name="http://purl.org/ontology/bibo/oclcnum" value="${num}">
<if>
<none>
<data source="@idzdb"/>
</none>
</if>
<data source="@oclcnum" name="num"/>
</combine>
<data source="037[-abc][-123].a" name="@639-2"/>
<data source="@639-2" name="@language">
<lookup in="iso639xToIso639-3-Map"/>
</data>
<data source="@language" name="http://purl.org/dc/terms/language">
<regexp match="(.*)" format="http://id.loc.gov/vocabulary/iso639-2/${1}"/>
</data>
<!-- ####################### -->
<!-- ########## carrier and type -->
<!-- ####################### -->
<!-- type is book (and also manifestation) if 050 begins with 'a' and 051 or 052 is missing
or 051 and 052 does not fulfill a certain pattern -->
<combine name="@rdftype" value="http://purl.org/ontology/bibo/Book">
<if>
<none>
<data source="@typeOnly"/>
<data source="@idzdb"/>
<data source="051.">
<regexp match="^a"/>
</data>
<data source="051.">
<regexp match="^.[mt]"/>
</data>
<data source="051.">
<regexp match="^..[tm]"/>
</data>
<data source="051.">
<regexp match="^...t"/>
</data>
<data source="051.">
<regexp match="^....t"/>
</data>
<data source="051.">
<regexp match="^.....t"/>
</data>
<data source="052.">
<regexp match="^[{alpha}|]"/>
</data>
<data source="@matVideo"/>
<data source="@mediumAudio"/>
<data source="@archived"/>
</none>
</if>
<data source="050.">
<regexp match="^a"/>
</data>
</combine>
<!-- print -->
<data source="050." name="@medium">
<regexp match="^[abcd]" format="http://rdvocab.info/termList/RDAproductionMethod/1010"/>
</data>
<data source="050." name="@medium">
<regexp match="^.......a" format="http://rdvocab.info/termList/RDAproductionMethod/1010"/>
</data>
<!-- multimedia -->
<data source="050." name="@medium">
<regexp match="^.......a" format="http://iflastandards.info/ns/isbd/terms/mediatype/T1008"/>
</data>
<!--audio -->
<data source="050." name="@mediumAudio">
<regexp match="^.....a" format="http://purl.org/ontology/bibo/AudioDocument"/>
</data>
<data source="@mediumAudio" name="@medium"/>
<data source="334-[12].a" name="@mediumAudio">
<regexp match="^[Tt][oO]" format="http://purl.org/ontology/bibo/AudioDocument"/>
</data>
<!--audio visual video -->
<data source="050." name="@matVideo">
<regexp match="^.....[bc]"/>
</data>
<data source="@matVideo" name="@medium">
<regexp match=".*" format="http://purl.org/ontology/bibo/AudioVisualDocument"/>
</data>
<data source="@matVideo" name="@medium">
<regexp match=".*" format="http://rdvocab.info/termList/RDACarrierType/1050"/>
</data>
<data source="334-[12].a" name="@medium">
<regexp match="^Bildton" format="http://purl.org/ontology/bibo/AudioVisualDocument"/>
</data>
<!-- picture -->
<data source="050." name="@rdftype">
<regexp match="^.....d" format="http://purl.org/ontology/bibo/Image"/>
</data>
<data source="334-[12].a" name="@medium">
<regexp match="^Bildli" format="http://purl.org/ontology/bibo/Image"/>
</data>
<!-- microform -->
<data source="050." name="@medium">
<regexp match="^...[abc]" format="http://rdvocab.info/termList/RDACarrierType/1020"/>
</data>
<data source="334-[12].a" name="@medium">
<regexp match="^Mikrofor" format="http://rdvocab.info/termList/RDACarrierType/1020"/>
</data>
<data source="057." name="@medium">
<regexp match=".*" format="http://rdvocab.info/termList/RDACarrierType/1020"/>
</data>
<!-- Dini Kim , TODO dcterms:medium "rdacarrier:1044" (unmediated) -->
<!-- map -->
<data source="050." name="@medium">
<regexp match="^..........a" format="http://purl.org/ontology/bibo/Map"/>
</data>
<!-- vinyl -->
<data source="050." name="@mediumAudio">
<regexp match="^.....aj" format="http://purl.org/ontology/mo/Vinyl"/>
</data>
<data source="050." name="@mediumAudio">
<regexp match="^.....aj" format="http://purl.org/ontology/bibo/AudioDocument"/>
</data>
<!-- audio cassette -->
<data source="050." name="@mediumAudio">
<regexp match="^.....ad" format="http://purl.org/library/CassetteTape"/>
</data>
<!-- braille -->
<data source="050." name="@medium">
<regexp match="^....a" format="http://purl.org/library/BrailleBook"/>
</data>
<data source="050." name="@medium">
<regexp match="^....a" format="http://rdvocab.info/termList/RDAproductionMethod/1010"/>
</data>
<!-- game -->
<data source="050." name="@rdftype">
<regexp match="^.........a" format="http://purl.org/library/Game"/>
</data>
<!-- manuscript -->
<data source="050." name="@medium">
<regexp match="^.a" format="http://rdvocab.info/termList/prodManuscript/1002"/>
</data>
<!-- Computer carriers -->
<data source="050." name="@medium">
<regexp match="^........[abcdefgz]" format="http://rdvocab.info/termList/RDACarrierType/1010"/>
</data>
<data source="@rdftype" name="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"/>
<data source="@typeOnly" name="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"/>
<!-- 051: type -->
<data source="051." name="@article">
<regexp match="^a|^.t|^..t|^...t|^.....t" format="http://purl.org/ontology/bibo/Article"/>
</data>
<data source="051." name="@rdftype">
<regexp match="^[nt]" format="http://purl.org/ontology/bibo/MultiVolumeBook"/>
</data>
<combine name="@rdftype" value="http://purl.org/ontology/bibo/Book">
<if>
<none>
<data source="@matVideo"/>
<data source="@mediumAudio"/>
<data source="@archived"/>
<data source="050.">
<regexp match="^.........a"/>
</data>
</none>
</if>
<data source="051.">
<regexp match="^m|^.x|^..x|^...x|^....[fkls]"/>
</data>
</combine>
<!-- music -->
<data source="051." name="@rdftype">
<regexp match="^.m|^..m|^...m" format="http://purl.org/ontology/mo/PublishedScore"/>
</data>
<data source="052." name="@rdftype">
<regexp match="^.mu|^...mu|^.....mu" format="http://purl.org/ontology/mo/PublishedScore"/>
</data>
<!-- amtliche Druckschrift -->
<data source="051." name="@rdftype">
<regexp match="^......[bfiklmorsu]" format="$[ns-lobid-vocab]OfficialPublication"/>
</data>
<data source="052." name="@rdftype">
<regexp match="^.aa|^............[bfiklmorsu]" format="$[ns-lobid-vocab]OfficialPublication"/>
</data>
<data source="052." name="@rdftype">
<regexp match="^.aa|^...aa|^.....aa" format="$[ns-lobid-vocab]OfficialPublication"/>
</data>
<!-- bibliography -->
<data source="051." name="@rdftype">
<regexp match="^.[b]|^..[b]|^...[b]" format="$[ns-lobid-vocab]Bibliography"/>
</data>
<data source="052." name="@rdftype">
<regexp match="^.b[i]|^...b[i]|^.....b[i]" format="$[ns-lobid-vocab]Bibliography"/>
</data>
<!-- biography -->
<data source="051." name="@rdftype">
<regexp match="^.[h]|^..[h]|^...[h]" format="$[ns-lobid-vocab]Biography"/>
</data>
<data source="052." name="@rdftype">
<regexp match="^.b[g]|^...b[g]|^.....b[g]" format="$[ns-lobid-vocab]Biography"/>
</data>
<!-- festschrift -->
<data source="051." name="@rdftype">
<regexp match="^.f|^..f|^...f" format="$[ns-lobid-vocab]Festschrift"/>
</data>
<!-- reference source -->
<data source="051." name="@rdftype">
<regexp match="^.[de]|^..[de]|^...[de]" format="http://purl.org/ontology/bibo/ReferenceSource"/>
</data>
<data source="052." name="@rdftype">
<regexp match="^.ez|^...ez|^.....ez" format="http://purl.org/ontology/bibo/ReferenceSource"/>
</data>
<!-- norm -->
<data source="051." name="@rdftype">
<regexp match="^.n|^..n|^...n" format="http://purl.org/ontology/bibo/Standard"/>
</data>
<data source="052." name="@rdftype">
<regexp match="^.no|^...no|^.....no" format="http://purl.org/ontology/bibo/Standard"/>
</data>
<!-- norm -->
<data source="051." name="@rdftype">
<regexp match="^.x|^..x|^...x" format="$[ns-lobid-vocab]Schoolbook"/>
</data>
<!-- legislation -->
<data source="051." name="@rdftype">
<regexp match="^.l|^..l|^...l" format="$[ns-lobid-vocab]Legislation"/>
</data>
<data source="052." name="@rdftype">
<regexp match="^.ag|^...ag|^.....ag" format="$[ns-lobid-vocab]Legislation"/>
</data>
<!-- thesis -->
<data source="051." name="@rdftype">
<regexp match="^.[uy]|^..[uy]|^...[uy]" format="http://purl.org/ontology/bibo/Thesis"/>
</data>
<data source="052." name="@rdftype">
<regexp match="^.sc|^...sc|^.....sc" format="http://purl.org/ontology/bibo/Thesis"/>
</data>
<!-- proceedings -->
<data source="051." name="@rdftype">
<regexp match="^.k|^..k|^...k" format="http://purl.org/ontology/bibo/Proceedings"/>
</data>
<data source="052." name="@rdftype">
<regexp match="^.ko|^...ko|^.....ko" format="http://purl.org/ontology/bibo/Proceedings"/>
</data>
<!-- report -->
<data source="051." name="@rdftype">
<regexp match="^.[r]|^..[r]|^...[r]" format="http://purl.org/ontology/bibo/Report"/>
</data>
<data source="9[01234][27]-[-12].9" name="@rdftype">
<regexp match="4128022-2" format="http://purl.org/ontology/bibo/Report"/>
</data>
<!-- 052: type -->
<data source="052." name="@article">
<regexp match="^[af]|^.au|^...au|^.....au" format="http://purl.org/ontology/bibo/Article"/>
</data>
<data source="052." name="@collection">
<regexp match="^[jp].*|^.il.*|^...il.*|^.....il.*" format="http://purl.org/ontology/bibo/Journal"/>
</data>
<data source="052." name="@collection">
<regexp match="^r|^.se|^...se|^.....se" format="http://purl.org/ontology/bibo/Series"/>
</data>
<data source="@collection" name="@typeOnly"/>
<!-- newspaper -->
<data source="052." name="@collection">
<regexp match="^z|^.[ae]o|^...[ae]o|^.....[ae]o" format="http://purl.org/ontology/bibo/Newspaper"/>
</data>
<data source="052." name="@collection">
<regexp match="^z|^.[url]p|^...[url]p|^.....[url]p" format="http://purl.org/ontology/bibo/Newspaper"/>
</data>
<!-- online -->
<data source="050." name="@1018">
<regexp match="^........g" format="http://rdvocab.info/termList/RDACarrierType/1018"/>
</data>
<data source="058." name="@1018">
<regexp match="^.r" format="http://rdvocab.info/termList/RDACarrierType/1018"/>
</data>
<data source="652a[-1].a" name="@1018">
<regexp match="^[AaOo][rn]" format="http://rdvocab.info/termList/RDACarrierType/1018"/>
</data>
<data source="@1018" name="@medium"/>
<!-- computer carrier (disks etc) -->
<data source="058." name="@medium">
<regexp match="^.[^r]" format="http://rdvocab.info/termList/RDACarrierType/1010"/>
</data>
<!-- electronic -->
<data source="@fulltextOnline" name="@medium">
<regexp match=".*" format="http://rdvocab.info/termList/RDACarrierType/1010"/>
</data>
<data source="652a[-1].a" name="@medium">
<regexp match=".*" format="http://rdvocab.info/termList/RDACarrierType/1010"/>
</data>
<data source="@medium" name="http://purl.org/dc/terms/medium"/>
<!-- set default medium -->
<combine name="@medium" value="$[ns-lobid-vocab]Miscellaneous" flushWith="record">
<if>
<none>
<data source="@medium">
<regexp match=".*"/>
</data>
</none>
</if>
<data source="@id"/>
</combine>
<data source="@article" name="@rdftype"/>
<combine name="$[ns-lobid-vocab]containedIn" value="${a}">
<data source="@dctIsPartOfHbzIdArticle|@dctIsPartOfArticle" name="a"/>
<data source="@article"/>
</combine>
<!-- set default type -->
<combine name="@rdftype" value="$[ns-lobid-vocab]Miscellaneous" flushWith="record">
<if>
<none>
<data source="@rdftype"/>
<data source="@typeOnly"/>
</none>
</if>
<data source="@id"/>
</combine>
<data source="304[-a]1.a" name="http://purl.org/dc/terms/alternative"/>
<data source="310[-ab][-12].a" name="@title310"/>
<data source="@title310" name="@title"/>
<!-- has other title information. If no title exists yet, use these (331 or 333) as title. -->
<data source="331[-ab][-1].a" name="@titleRemainder331"/>
<data source="333[-ab][-1].a" name="@titleRemainder333"/>
<combine name="@titleRemainder2title331" value="${title}">
<if>
<none>
<data source="@title"/>
<data source="@titleRemainder331Superordination"/>
<data source="085x1.l"/>
</none>
</if>
<data source="@titleRemainder331" name="title"/>
</combine>
<combine name="@titleRemainder2title333" value="${title}">
<if>
<none>
<data source="@title"/>
<data source="@titleRemainder331"/>
</none>
</if>
<data source="@titleRemainder333" name="title"/>
</combine>
<combine name="@085" value="${a}">
<concat delimiter=" / " name="a">
<data source="085x1.l"/>
</concat>
<data source="@titleRemainder331"/>
</combine>
<combine name="@titleRemainder2title331+085" value="${a}">
<concat delimiter=" / " name="a">
<data source="@titleRemainder331"/>
<data source="@085"/>
</concat>
</combine>
<combine name="@otherTitle" value="${titleRemainder}">
<if>
<none>
<data source="@titleRemainder2title331"/>
<data source="@titleRemainder331Superordination"/>
</none>
</if>
<data source="@titleRemainder331" name="titleRemainder"/>
</combine>
<combine name="http://rdaregistry.info/Elements/u/P60327" value="${corporateBody4Title}">
<if>
<none>
<data source="@titleRemainder2title333"/>
</none>
</if>
<data source="@titleRemainder333" name="corporateBody4Title"/>
</combine>
<!-- deliberatley not everything linked with OR '|' because of performance problems -->
<data source="335[-abcd][-1].a" name="@otherTitle"/>
<data source="34[01234567][-ab][-1].[ab]" name="http://purl.org/dc/terms/alternative"/>
<data source="376[-adb][-1].[ad]" name="http://purl.org/ontology/bibo/shortTitle"/>
<data source="504-[1].a" name="http://purl.org/dc/terms/alternative"/>
<data source="@otherTitle" name="http://rdvocab.info/Elements/otherTitleInformation">
<replace pattern="&gt;" with=""/>
<replace pattern="&lt;" with=""/>
</data>
<data source="675[-abcd][-12].a" name="$[ns-lobid-vocab]titleKeyword"/>
<!-- generating title using the superordination -->
<data source="331[-ab][2].a" name="@titleRemainder331Superordination"/>
<!-- ... by concatenating fields. Two fields are optional, one mandatory -->
<combine name="@titleRemainder331Superordination2title" value="${a}${b}${c}"
flushWith="@titleRemainder331Superordination">
<data source="@titleRemainder331Superordination" name="a"/>
<choose name="b" flushWith="@titleRemainder331Superordination">
<data source="090-[-1].a">
<regexp match="(.*)" format=", ${1}"/>
</data>
<data source="089-[-1].a">
<regexp match="(.*)" format=", ${1}"/>
</data>
</choose>
<data source="@titleRemainder331" name="c">
<regexp match="(.*)" format=": ${1}"/>
</data>
</combine>
<combine name="http://purl.org/dc/terms/title" value="${a}">
<choose name="a">
<data source="@titleRemainder331Superordination2title">
<replace pattern="&gt;" with=""/>
<replace pattern="&lt;" with=""/>
</data>
<data source="@title310">
<replace pattern="&gt;" with=""/>
<replace pattern="&lt;" with=""/>
</data>
<data source="@titleRemainder2title331+085">
<replace pattern="&gt;" with=""/>
<replace pattern="&lt;" with=""/>
</data>
<data source="@titleRemainder2title333">
<replace pattern="&gt;" with=""/>
<replace pattern="&lt;" with=""/>
</data>
</choose>
</combine>
<!-- ########## date issued -->
<!-- range of date. Only if 021 not exists but one of 425[bc]. Take 4 digits. -->
<combine name="@dateRange" value="${dateStart} - ${dateEnd}" flushWith="record">
<if>
<none>
<data source="021[-b]1.a"/>
</none>
</if>
<data source="425b[-1].a" name="dateStart">
<regexp match="(\d{4})" format="${1}"/>
</data>
<data source="425c[-1].a" name="dateEnd">
<regexp match="(\d{4})" format="${1}"/>
</data>
</combine>
<!-- issue precedence -->
<data source="425a[-1].a|419-1c" name="@dateFix"/>
<combine name="@dateFix" value="${a}">
<if>
<none>
<data source="@dateFix"/>
</none>
</if>
<data source="425b[-1].a" name="a"/>
</combine>
<combine name="@dateFix" value="${a}">
<if>
<none>
<data source="@dateFix"/>
</none>
</if>
<data source="425c[-1].a" name="a">
</data>
</combine>
<combine name="@dateFix" value="${a}">
<if>
<none>
<data source="@dateFix"/>
</none>
</if>
<data source="425-[-1].a" name="a"/>
</combine>
<combine name="@dateFix" value="${a}">
<if>
<none>
<data source="@dateFix"/>
</none>
</if>
<data source="425p[-1].a" name="a">
</data>
</combine>
<combine name="@dateFix" value="${a}">
<if>
<none>
<data source="@dateFix"/>
</none>
</if>
<data source="595-[-12].a" name="a">
</data>
</combine>
<combine name="@dateFix" value="${a}">
<if>
<none>
<data source="@dateFix"/>
</none>
</if>
<data source="089-[-1].a" name="a">
</data>
</combine>
<!-- semantic shift: 425 is only date of issue if resource is not a secondary form (21) -->
<combine name="@dateSecondary" value="${dateSecondary}">
<data source="021[-b]1.a"/>
<data source="619a[-1].a" name="dateSecondary">
<regexp match="(\d{4})" format="${1}"/>
</data>
</combine>
<data source="@dateSecondary" name="http://purl.org/dc/terms/issued"/>
<!-- date precedence and validation. Field must begin with 4 digits -->
<choose name="http://purl.org/dc/terms/issued">
<data source="@dateRange">
<regexp match="^\d{4}.*"/>
</data>
<data source="@dateFix">
<regexp match="^\d{4}.*"/>
</data>
</choose>
<!-- ########## geo coordinates -->
<data source="407-[123].a" name="http://rdvocab.info/Elements/longitudeAndLatitude">
<regexp match="\((.*)\)" format="${1}"/>
</data>
<data source="41[05][-abcu][-12].a|419-[12].a|594[-abc][-12].a" name="@placeOfPublication"/>
<data source="@placeOfPublication" name="http://rdvocab.info/Elements/placeOfPublication"/>
<data source="41[27][-abcu][-12].[ag]|419-[12].b" name="@publisher"/>
<data source="@publisher" name="http://purl.org/dc/elements/1.1/publisher"/>
<!-- TODO if multiple publisher these are melted to one. See HT015082724 -->
<combine name="http://rdvocab.info/Elements/publicationStatement" value="${publicationConcat}"
sameEntity="true">
<concat delimiter="; " name="publicationConcat">
<data source="@placeOfPublication"/>
<data source="@publisher"/>
<data source="@dateFix"/>
</concat>
</combine>
<!-- |674[-abc][-12].a <= YearOfPublication of the primary form. TODO find property -->
<!-- ########## description extent -->
<data source="433[-abc][-1].[aq]" name="http://iflastandards.info/ns/isbd/elements/P1053"/>
<data source="40[03]-1.[an]" name="http://purl.org/ontology/bibo/edition"/>
<data source="510-1.a" name="http://purl.org/ontology/bibo/edition"/>
<!-- ################ Hochschulschriftenvermerk aka thesisInformation -->
<concat delimiter=", " name="http://rdaregistry.info/Elements/u/P60489">
<data source="519-1.[ap]"/>
</concat>
<combine name="http://rdaregistry.info/Elements/u/P60489" value="${c}, ${b}, ${d}">
<data source="520-1.c" name="c"/>
<data source="520-1.b" name="b"/>
<data source="520-1.d" name="d"/>
</combine>
<!-- ####################### -->
<!-- ########## links to the fulltext, online doi, toc etc. -->
<!-- ####################### -->
<!-- doi -->
<data source="552a[-1].a" name="http://umbel.org/umbel#isLike">
<regexp match="(.*)" format="http://dx.doi.org/${1}"/>
</data>
<data source="552a[-1].a" name="http://purl.org/ontology/bibo/doi"/>
<!-- urn -->
<data source="552b[-1].a" name="@urn">
<regexp match="(^.*:.*\d+)$" format="${1}"/>
</data>
<data source="URN-1.a" name="@urn">
<regexp match="(^.*:.*\d+)$" format="${1}"/>
</data>
<data source="@urn" name="$[ns-lobid-vocab]urn"/>
<data source="@urn" name="http://umbel.org/umbel#isLike">
<regexp match="(.*)" format="http://nbn-resolving.de/${1}"/>
</data>
<!-- fulltext online , if 655 AND 334 exists with "[eE][lL]"ektro.. -->
<data source="655[-e][ -1].u" name="@linkUri"/>
<!-- ####################### -->
<!-- ################ items -->
<!-- ####################### -->
<!-- reset Item id for we will coin a new one <data source="088 ?.a" name="~rdf:subject"> -->
<data source="088 ?.a" name="@sigel2isilMap">
<lookup in="sigel2isilMap"/>
</data>
<combine name="@itemId" value="http://lobid.org/item/${id}:${isil}:${signature}"
flushWith="088??" reset="false">
<if>
<data source="@sigel2isilMap"/>
</if>
<data source="@id" name="id"/>
<data source="088 ?.c" name="signature">
<urlescape></urlescape>
</data>
<data source="@sigel2isilMap" name="isil"/>
</combine>
<!-- new coined subject uri of the Item -->
<data source="@itemId" name="~rdf:subject"/>
<data source="@itemId" name="http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
<regexp match=".*" format="http://purl.org/vocab/frbr/core#Item"/>
</data>
<data source="@itemId" name="http://www.w3.org/2007/05/powder-s#describedby">
<regexp match="(.*)" format="${1}/about"/>
</data>
<combine name="http://purl.org/vocab/frbr/core#exemplarOf" value="$[ns-lobid-resource]${id}">
<data source="@id" name="id"/>
<data source="@itemId"/>
</combine>
<combine name="http://purl.org/vocab/frbr/core#owner" value="$[ns-lobid-organisation]${isil}"
sameEntity="true">
<data source="@itemId"/>
<data source="@sigel2isilMap" name="isil"/>
</combine>
<combine name="http://purl.org/ontology/daia/label" value="${signature}"
sameEntity="true">
<data source="@itemId"/>
<data source="088 ?.c" name="signature"/>
</combine>
<!-- provenance -->
<!-- <combine name="~rdf:subject" value="${itemId}/about"> <data source="@itemId" name="itemId">
<regexp match="(.*)" format="${1}"/> </data> </combine> <data source="@itemId" name="http://vocab.deri.ie/void#inDataset">
<regexp match=".*" format="http://lobid.org/dataset/resource"/> </data> <combine name="http://xmlns.com/foaf/0.1/primaryTopic"
value="${itemId}"> <data source="@itemId" name="itemId"> <regexp match="(.*)" format="${1}"/>
</data> </combine> -->
<!-- set subject uri of resource anew -->
<combine name="~rdf:subject" value="$[ns-lobid-resource]${id}">
<data source="@id" name="id"/>
</combine>
<combine name="@aboutSubject" value="$[ns-lobid-resource]${id}/about">
<data source="@id" name="id"/>
<data source="002a1.a|003-1.a"/>
</combine>
<data source="@aboutSubject" name="~rdf:subject"/>
<combine name="http://purl.org/dc/terms/created" value="${a}">
<data source="002a1.a" name="a">
<regexp match="([0-9]{8})" format="${1}"/>
</data>
</combine>
<combine name="http://purl.org/dc/terms/modified" value="${a}">
<data source="003-1.a" name="a">
<regexp match="([0-9]{8})" format="${1}"/>
</data>
</combine>
<combine name="~rdf:subject" value="$[ns-lobid-resource]${id}">
<data source="@id" name="id"/>
<data source="002a1.a|003-1.a"/>
</combine>
<combine name="~rdf:subject" value="$[ns-lobid-resource]${id}">
<data source="@id" name="id"/>
<data source="@itemId"/>
</combine>
<data source="@itemId" name="http://purl.org/vocab/frbr/core#exemplar"/>
<!-- ####################### -->
<!-- ########## volume -->
<!-- ####################### -->
<!-- 32-[-12].a is not bibo:volume - but what is it? -->
<data source="089-[-1].a" name="http://purl.org/ontology/bibo/volume"/>
<data source="432-[-12].a" name="http://purl.org/ontology/bibo/volume"/>
<data source="090-[-1].a" name="@volume"/>
<data source="@volume" name="http://purl.org/ontology/bibo/volume"/>
<data source="432-[-12].a" name="http://purl.org/ontology/bibo/volume"/>
<data source="001-2.a" name="@idVolume"/>
<entity name="http://purl.org/lobid/lv#volumeIn">
<data source="@idVolume" name="http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
<regexp match=".*" format="$[ns-lobid-vocab]MultiVolumeWorkRelation"/>
</data>
<combine name="$[ns-lobid-vocab]multiVolumeWork" value="$[ns-lobid-resource]${a}">
<data source="@idVolume" name="a"/>
</combine>
<choose name="$[ns-lobid-vocab]numbering">
<data source="090-[-1].a"/>
<data source="089-[-1].a"/>
</choose>
</entity>
<!-- ####################### -->
<!-- ####### persons -->
<!-- ####################### -->
<!-- person links -->
<data source="1??[-aemn][12].9" name="@creatorPersonId">
<regexp match="\(DE-588\)(.*)" format="http://d-nb.info/gnd/${1}"/>
</data>
<!-- literals of creator -->
<data source="359[-ab][-12].a" name="http://rdvocab.info/Elements/statementOfResponsibility"/>
<combine name="@creatorLabel" value="${a}">
<data source="1[02468][048][-aemn][12].[pa]|1[1468][26][-aemn][12].[pa]|2??[-a][12-].a"
name="a">
<replace pattern="&gt;&gt;" with=""/>
<replace pattern="&lt;&lt;" with=""/>
</data>
</combine>
<choose name="@creatorNameOrId" flushWith="1????">
<data source="@creatorPersonId"/>
<data source="@creatorLabel"/>
</choose>
<!-- Add literal only if link in the same entity does not exist -->
<data source="@contributorNameOrId" name="http://purl.org/dc/elements/1.1/contributor">
<regexp match="^[^http].*"/>
</data>
<choose name="@contributorNameOrId" flushWith="1????">
<data source="@contributorPersonId"/>
<data source="@contributorCorporateBodyId"/>
<data source="@contributorLabel"/>
<data source="@nameOfContributingOrCreatingCorporateBody"/>
</choose>
<!-- ####################### -->
<!-- ################ koerperschaften -->
<!-- ####################### -->
<data source="2??[-a][12-].9" name="@creatorCorporateBodyId">
<regexp match="\(DE-588\)(.*)" format="http://d-nb.info/gnd/${1}"/>
</data>
<!-- lv:nameOfContributingCorporateBody is only a temporarily workaround. It also subsumes
creators! -->
<data source="2??[-a][12-].k|8[012][02468][-mn]-.k" name="$[ns-lobid-vocab]nameOfContributingCorporateBody"/>
<data source="2??[-abcp][1234].k" name="@nameOfContributingOrCreatingCorporateBodyK">
<replace pattern="&gt;&gt;" with=""/>
<replace pattern="&lt;&lt;" with=""/>
</data>
<data source="2??[-abcp][1234].h" name="@nameOfContributingOrCreatingCorporateBodyH"/>
<combine name="@nameOfContributingOrCreatingCorporateBodyKH" value="${k} &lt;${h}&gt;">
<data source="@nameOfContributingOrCreatingCorporateBodyK" name="k"/>
<data source="@nameOfContributingOrCreatingCorporateBodyH" name="h"/>
</combine>
<data source="2??[-abcp][1234].b" name="@nameOfContributingOrCreatingCorporateBodyB"/>
<combine name="@nameOfContributingOrCreatingCorporateBodyKB" value="${k}. ${b}">
<data source="@nameOfContributingOrCreatingCorporateBodyB" name="b"/>
<data source="@nameOfContributingOrCreatingCorporateBodyK" name="k"/>
</combine>
<combine name="@nameOfContributingOrCreatingCorporateBodyKHB" value="${k} &lt;${h}&gt;. ${b}">
<data source="@nameOfContributingOrCreatingCorporateBodyB" name="b"/>
<data source="@nameOfContributingOrCreatingCorporateBodyH" name="h"/>
<data source="@nameOfContributingOrCreatingCorporateBodyK" name="k"/>
</combine>
<choose name="@nameOfContributingOrCreatingCorporateBody" flushWith="@creatorCorporateBodyId|@contributorCorporateBodyId"> <!-- 2??[-abcp][1234].9"> -->
<data source="@nameOfContributingOrCreatingCorporateBodyKHB"/>
<data source="@nameOfContributingOrCreatingCorporateBodyKB"/>
<data source="@nameOfContributingOrCreatingCorporateBodyKH"/>
<data source="@nameOfContributingOrCreatingCorporateBodyK"/>
</choose>
<combine name="@preferredNameConcatEventNEDC" value="${n} ${e}, ${d}, ${c}"
sameEntity="true">
<data source="[29]??[-abcfep][12-].n" name="n"/>
<data source="[29]??[-abcfep][12-].e" name="e"/>
<data source="[29]??[-abcfep][12-].d" name="d"/>
<data source="[29]??[-abcfep][12-].c" name="c"/>
</combine>
<combine name="@preferredNameConcatEventEDC" value="${e}, ${d}, ${c}"
sameEntity="true">
<data source="[29]??[-abcfep][12-].e" name="e"/>
<data source="[29]??[-abcfep][12-].d" name="d"/>
<data source="[29]??[-abcfep][12-].c" name="c"/>
</combine>
<combine name="$[ns-lobid-vocab]nameOfContributingCorporateBody" value="${a}">
<!-- <data source="2??[bcp][1234].k"/> -->
<data source="@nameOfContributingOrCreatingCorporateBody" name="a"/>
</combine>
<!-- ####################### -->
<!-- ################ koerperschaften and persons -->
<!-- ####################### -->
<!-- Add literal only if link in the same entity does not exist -->
<data source="@creatorNameOrId" name="http://purl.org/dc/elements/1.1/creator">
<regexp match="^[^http].*"/>
</data>
<data source="@creatorPersonId|@creatorCorporateBodyId" name="http://purl.org/dc/terms/creator"/>
<!-- contributors with roles @TODO many roles needs tests -->
<data source="1??b[1234].b|8[012]?[-mn][-12].b" name="@marcrelName"/>
<!-- id of contributor (which is not a creator) -->
<data source="1??[bcfp][1234].9" name="@contributorPersonId">
<regexp match="\(DE-588\)(.*)" format="http://d-nb.info/gnd/${1}"/>
</data>
<combine name="@contributorPersonId" value="${a}" sameEntity="true">
<data source="8[012]?[-mn][-12].b"/>
<data source="8[012]?[-mn][-12].9" name="a">
<regexp match="\(DE-588\)(.*)" format="http://d-nb.info/gnd/${1}"/>
</data>
</combine>
<combine name="@contributorLabel" value="${a}">
<data source="1[02468][048][bcf]1.[pa]|1[13579][26][bcf]1.[pa]|8[012][02468][-mn]-12.[pa]"
name="a">
<replace pattern="&gt;&gt;" with=""/>
<replace pattern="&lt;&lt;" with=""/>
</data>
</combine>
<!-- id of corporation -->
<data source="2??[bcp][1234].9" name="@contributorCorporateBodyId">
<regexp match="\(DE-588\)(.*)" format="http://d-nb.info/gnd/${1}"/>
</data>
<!-- map literals to marc relator property -->
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[dD]ars" format="http://id.loc.gov/vocabulary/relators/act"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[hH]rsg" format="http://purl.org/ontology/bibo/editor"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[rR]egi" format="http://id.loc.gov/vocabulary/relators/drt"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="bers" format="http://purl.org/ontology/bibo/translator"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[iI]ll" format="http://id.loc.gov/vocabulary/relators/ill"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[zZ]eichn" format="http://id.loc.gov/vocabulary/relators/ill"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="^[mM]itarb" format="http://id.loc.gov/vocabulary/relators/clb"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match=".*[oO]togr.*" format="http://id.loc.gov/vocabulary/relators/pht"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match=".*[dD]ir" format="http://id.loc.gov/vocabulary/relators/cnd"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[kK]om" format="http://id.loc.gov/vocabulary/relators/cmp"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[vV]or" format="http://id.loc.gov/vocabulary/relators/aui"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[dD]rehb" format="http://id.loc.gov/vocabulary/relators/aus"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[sS]ammler" format="http://id.loc.gov/vocabulary/relators/col"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[bB]eitr" format="http://id.loc.gov/vocabulary/relators/ctb"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[iI]nterpr" format="http://id.loc.gov/vocabulary/relators/prf"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[kK]amera" format="http://id.loc.gov/vocabulary/relators/cng"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[vV]orl" format="http://id.loc.gov/vocabulary/relators/ant"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[gG]esang" format="http://id.loc.gov/vocabulary/relators/sng"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[iI]nterviewer" format="http://id.loc.gov/vocabulary/relators/ivr"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[iI]nterviewter" format="http://id.loc.gov/vocabulary/relators/ive"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[kK]artogra" format="http://id.loc.gov/vocabulary/relators/ctg"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[mM]usi" format="http://id.loc.gov/vocabulary/relators/mus"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[nN]ach" format="http://id.loc.gov/vocabulary/relators/aft"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[pP]rod" format="http://id.loc.gov/vocabulary/relators/pro"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[sS]techer" format="http://id.loc.gov/vocabulary/relators/egr"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[wW]idmun" format="http://id.loc.gov/vocabulary/relators/dte"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<combine name="${marcrel}" value="${contributorId}" sameEntity="true">
<data source="@marcrelName" name="marcrel">
<regexp match="[rR]ed" format="http://id.loc.gov/vocabulary/relators/red"/>
</data>
<data source="@contributorPersonId" name="contributorId"/>
</combine>
<data source="104f1.9" name="http://id.loc.gov/vocabulary/relators/hnr">
<regexp match="\(DE-588\)(.*)" format="http://d-nb.info/gnd/${1}"/>
</data>
<!-- use dct:contributor only if no marc:rel could be build -->
<choose name="@contributorWithoutMarcRel" flushWith="@contributorPersonId">
<data source="@marcrelName">
<regexp
match="[dD]ars|[hH]rsg|[rR]egi|bers|[iI]ll|[zZ]eichn|[mM]itarb|[oO]togr|[dD]ir|[kK]om|[vV]or|[dD]rehb|[sS]ammler|[bB]eitr|[iI]nterpr|[kK]amera|[vV]orl|[gG]esang|[iI]nterviewer|[iI]nterviewter|[kK]artogra|[mM]usi|[nN]ach|[pP]rod|[rR]ed|[sS]techer|[wW]idmun"/>
</data>
<data source="@contributorPersonId"/>
</choose>
<!-- the regex makes sure that @marcelName is ignored, when chosen -->
<data source="@contributorWithoutMarcRel|@contributorCorporateBodyId" name="http://purl.org/dc/terms/contributor">
<regexp match="^http.*"/>
</data>
<!-- use lv:contributorLabel for creator and ontributor even if there is an id -->
<data source="1??[-abcefmn][12].[pa]" name="http://purl.org/lobid/lv#contributorLabel">
<replace pattern="&gt;&gt;" with=""/>
<replace pattern="&lt;&lt;" with=""/>
</data>
<combine name="http://purl.org/lobid/lv#contributorLabel" value="${a}"
sameEntity="true">
<data source="8[012][02468][-mn]1.b"/>
<data source="8[012][02468][-mn]1.[pa]" name="a">
<replace pattern="&gt;&gt;" with=""/>
<replace pattern="&lt;&lt;" with=""/>
</data>
</combine>
<!-- ####################### -->
<!-- #######subjects -->
<!-- ####################### -->
<!-- ddc links -->
<data source="70[05][-b][-12345].a" name="http://purl.org/dc/terms/subject">
<regexp match="([0-9]{3})" format="http://dewey.info/class/${1}/"/>
</data>
<!-- gnd links -->
<data source="9[01234][27]-[-12].9" name="@subjectLinks">
<regexp match="\(DE-588\)(.*)" format="http://d-nb.info/gnd/${1}"/>
</data>
<data source="@subjectLinks" name="http://purl.org/dc/terms/subject"/>
<combine name="@subjectNotAPerson" value="${a}" sameEntity="true">
<data source="9[01234][27]-[-12].[efghkstz]" name="a"/>
<data source="@subjectLinks"/>
</combine>
<!-- This was hard. See hbz/lobid#267 -->
<combine name="@preferredNamePersonConcatSubjectPC" value="${a}" sameEntity="true"
flushWith="@subjectLinks">
<concat delimiter=", " name="a" flushWith="@subjectLinks">
<data source="9[01234][27]-[-12].[chknp]"/>
</concat>
</combine>
<combine name="@subjectPerson" value="${b}" sameEntity="true">
<data source="9[01234][27]-[-12].p"/>
<choose name="b" flushWith="@subjectLinks">
<data source="9[01234][27]-[-12].[efgkstz]">
<regexp match=".*" format=""/>
</data>
<data source="@preferredNamePersonConcatSubjectPC"/>
</choose>
</combine>
<combine name="$[ns-gnd]preferredNameForThePerson" value="${a}" flushWith="@preferredNameP">
<data source="@subjectPerson" name="a">
<regexp match=".*"/>
</data>
</combine>
<!-- ########### -->
<!-- # Create subgraph: temporarily set new subjects or contributor id -->
<!-- ########### -->
<data name="~rdf:subject"
source="@subjectLinks|@creatorPersonId|@creatorCorporateBodyId|@contributorPersonId|@contributorCorporateBodyId"/>
<!-- subjects which are persons (and thus the date is to be ignored, see hbz/lobid#244 ) -->
<combine name="@preferredNamePersonConcatSubject" value="${a}" sameEntity="true"
flushWith="@creatorPersonId|@contributorPersonId|@preferredNameP">
<concat delimiter=", " name="a"
flushWith="@creatorPersonId|@contributorPersonId|@preferredNameP" sameEntity="true">
<data source="1????.[cghknpsz]|9??[-abcdfep][12-].[chknp]|8[012]?[-mn][-12].[cghknpsz]"/>
</concat>
<data source="@creatorPersonId|@contributorPersonId|@preferredNameP"/>
</combine>
<!-- subjects which aren't persons (and thus the date needn't be ignored) -->
<combine name="@preferredNameConcatSubject" value="${a}" sameEntity="true"
flushWith="@creatorCorporateBodyId|@contributorCorporateBodyId|@subjectNotAPerson">
<concat delimiter=", " name="a"
flushWith="@subjectNotAPerson|@creatorCorporateBodyId|@contributorCorporateBodyId"
sameEntity="true">
<data source="1????.[cghknpsz]|[29]??[-abcdfep][12-].[cdghknsz]|8[012]?[-mn][-12].[cghknpsz]"/>
</concat>
<data source="@subjectNotAPerson|@creatorCorporateBodyId|@contributorCorporateBodyId"/>
</combine>
<!-- START contributor/creator -->
<combine name="$[ns-gnd]preferredNameForThePerson" value="${a}" sameEntity="true">
<data source="@preferredName" name="a">
<replace pattern="&gt;&gt;" with=""/>
<replace pattern="&lt;&lt;" with=""/>
</data>
<data source="@creatorPersonId|@contributorPersonId"/>
</combine>
<combine name="$[ns-gnd]preferredNameForTheCorporateBody" value="${a}"
sameEntity="true">
<data source="@contributorCorporateBodyId|@creatorCorporateBodyId"/>
<data source="@nameOfContributingOrCreatingCorporateBody" name="a"/>
</combine>
<combine name="@preferredNameP" value="${a}" sameEntity="true">
<data source="@subjectLinks"/>
<data source="9[01234][27]-[-12].p" name="a">
<replace pattern="&gt;&gt;" with=""/>
<replace pattern="&lt;&lt;" with=""/>
</data>
</combine>
<combine name="@preferredNameSemicolon" value="${a}: ${b}" sameEntity="true">
<data source="@preferredNameP" name="a"/>
<data source="9[01234][27]-[-12].t" name="b">
<replace pattern="&gt;" with=""/>
<replace pattern="&lt;" with=""/>
</data>
</combine>
<choose name="$[ns-gnd]preferredNameForTheWork" flushWith="@subjectLinks">
<data source="@preferredNameSemicolon"/>
<data source="9[01234][27]-[-12].t"/>
</choose>
<combine name="$[ns-gnd]preferredNameForTheSubjectHeading" value="${a}"
sameEntity="true">
<data source="9[01234][27]-[-12].s"/>
<data source="@preferredName" name="a"/>
</combine>
<combine name="$[ns-gnd]preferredNameForThePlaceOrGeographicName" value="${a}"
sameEntity="true">
<data source="@subjectLinks"/>
<data source="9[01234][27]-[-12].g" name="a"/>
</combine>
<combine name="$[ns-gnd]preferredNameForTheCorporateBody" value="${a}"
sameEntity="true">
<data source="@subjectLinks"/>
<data source="9[01234][27]-[-12].k" name="a"/>
</combine>
<!-- /subjects -->
<choose name="@preferredName"
flushWith="@subjectLinks|@preferredNameP|@creatorPersonId|@creatorCorporateBodyId|@contributorPersonId|@contributorCorporateBodyId">
<data source="@nameOfContributingOrCreatingCorporateBody"/>
<data source="@preferredNameSemicolon"/>
<data source="@preferredNameConcatEventNEDC"/>
<data source="@preferredNameConcatEventEDC"/>
<data source="@preferredNamePersonConcatSubject"/>
<data source="@preferredNameConcatSubject"/>
</choose>
<data source="@preferredName" name="$[ns-gnd]preferredName">
<replace pattern="&gt;&gt;" with=""/>
<replace pattern="&lt;&lt;" with=""/>
</data>
<!-- END contributor/creator -->
<!-- ########### -->
<!-- # set subject uri of resource anew -->
<!-- ########### -->
<combine name="~rdf:subject" value="$[ns-lobid-resource]${subject}">
<data
source="@subjectLinks|@creatorPersonId|@creatorCorporateBodyId|@contributorPersonId|@contributorCorporateBodyId"/>
<data source="@id" name="subject"/>
</combine>
<!-- other subjects -->
<data source="71[01][-abcdfz][123].a" name="http://purl.org/lobid/lv#subjectLabel">
<replace pattern="&gt;&gt;" with=""/>
<replace pattern="&lt;&lt;" with=""/>
</data>
<data source="902[-a][-1].f" name="@medium">
<regexp match="^Karte" format="http://purl.org/ontology/bibo/Map"/>
</data>
<data source="9[01234][27][-a][-1].f" name="@typeOnly">
<regexp match="^Aufsatzsammlung" format="$[ns-lobid-vocab]EditedVolume"/>
</data>
<data source="9[01234][27][-a][-1].9" name="@typeOnly">
<regexp match="4143413-4" format="$[ns-lobid-vocab]EditedVolume"/>
</data>
<!-- "Verweisungsformen" literals -->
<data source="9[56][27]-[12].[acefgkps]" name="@subjectMain">
<replace pattern="&gt;&gt;" with=""/>
<replace pattern="&lt;&lt;" with=""/>
</data>
<combine name="@subjectTopic" value="${main}. ${b}" sameEntity="true">
<data source="@subjectMain" name="main"/>
<data source="9[56][27]-[12].b" name="b"/>
</combine>
<combine name="@subjectTopic" value="${main} / ${x}" sameEntity="true">
<data source="@subjectMain" name="main"/>
<data source="9[56][27]-[12].x" name="x"/>
</combine>
<combine name="@subjectTopic" value="${main} (${z})" sameEntity="true">
<data source="@subjectMain" name="main"/>
<data source="9[56][27]-[12].[cdhmortuz]" name="z"/>
</combine>
<choose name="http://purl.org/lobid/lv#subjectLabel" flushWith="9[56][27]-[12]">
<data source="@subjectTopic"/>
<data source="@subjectMain"/>
</choose>
<!-- Schlagwortketten (aka "subject chains", with permutation number) - It's necessary to
repeat the combines to fire correctly when dealing with multiple e.g. "902". Use macros to
avoid duplication. Use gnd subjects literals, use even if link present/> -->
<call-macro name="subject-chain-name" field_1="902" field_2="903"/>
<call-macro name="subject-chain-perm" field="902"/>
<call-macro name="subject-chain-name" field_1="907" field_2="908"/>
<call-macro name="subject-chain-perm" field="907"/>
<call-macro name="subject-chain-name" field_1="912" field_2="913"/>
<call-macro name="subject-chain-perm" field="912"/>
<call-macro name="subject-chain-name" field_1="917" field_2="918"/>
<call-macro name="subject-chain-perm" field="917"/>
<call-macro name="subject-chain-name" field_1="922" field_2="923"/>
<call-macro name="subject-chain-perm" field="922"/>
<call-macro name="subject-chain-name" field_1="927" field_2="928"/>
<call-macro name="subject-chain-perm" field="927"/>
<call-macro name="subject-chain-name" field_1="932" field_2="933"/>
<call-macro name="subject-chain-perm" field="932"/>
<call-macro name="subject-chain-name" field_1="937" field_2="938"/>
<call-macro name="subject-chain-perm" field="937"/>
<call-macro name="subject-chain-name" field_1="942" field_2="943"/>
<call-macro name="subject-chain-perm" field="942"/>
<call-macro name="subject-chain-name" field_1="947" field_2="948"/>
<call-macro name="subject-chain-perm" field="947"/>
<data source="@subjectChainPerm" name="http://purl.org/lobid/lv#subjectChain">
<replace pattern="\) \| \(" with=","/>
<replace pattern=" \| \(" with=" \("/>
<replace pattern="&gt;&gt;" with=""/>
<replace pattern="&lt;&lt;" with=""/>
<replace pattern=", :" with=":"/>
</data>
<!-- ####################### -->
<!-- ##########fulltext, toc, seeAlso -->
<!-- ####################### -->
<data source="051." name="@archived">
<regexp match="^.w" format="$[ns-lobid-vocab]ArchivedWebPage"/>
</data>
<data source="@archived" name="@rdftype"/>
<combine name="@fulltextOnline" value="${link}">
<data source="334-[12].a">
<regexp match="^[eEcC][lLoO]"/>
</data>
<data source="@linkUri" name="link">
<regexp match="^([a-zA-Z].*)" format="${1}"/>
</data>
</combine>
<!--first three chars of "Resolving System" or "Volltext" or "EZB" or "Archivierte Online
Ressource " or "Online-Ausgabe" <=> @fulltextOnlineUri -->
<combine name="@fulltextOnlineUri" value="${uri}" sameEntity="true">
<data source="655[-eu][ -1].[x3]">
<regexp match="^[AERVO][rZoen][cBls]"/>
</data>
<data source="@linkUri" name="uri"/>
</combine>
<combine name="@fulltextOnlineUri" value="${a}">
<if>
<none>
<data source="@archived"/>
</none>
</if>
<data source="@1018"/>
<data source="@linkUri" name="a"/>
</combine>
<!-- emit URI only if there are no description subfields ... -->
<choose name="@urlLonely" flushWith="655??">
<data source="655[-eu][ -1].[xy3]"/>
<data source="@linkUri"/>
</choose>
<!-- ... check if URI and if 652=Archive to determine if it's the archived web source -->
<combine name="$[ns-lobid-vocab]webPageArchived" value="${uri}">
<data source="@urlLonely" name="uri">
<regexp match="^http.*"/>
</data>
<data source="@archived"/>
</combine>
<data source="@fulltextOnlineUri" name="$[ns-lobid-vocab]fulltextOnline"/>
<data source="@fulltextOnlineUri" name="http://purl.org/dc/terms/hasVersion"/>
<!-- rdf:seeAlso if 655 AND first three letter "Zusätzliche Angaben" -->
<combine name="http://www.w3.org/2000/01/rdf-schema#seeAlso" value="${seeAlsoUri}">
<data source="655[-eu][ -1].[x3]">
<regexp match="^[Z][u][s]"/>
</data>
<data source="@linkUri" name="seeAlsoUri"/>
</combine>
<!-- rdf:seeAlso if 655 AND_NOT fulltextOnline -->
<combine name="http://www.w3.org/2000/01/rdf-schema#seeAlso" value="${seeAlsoUri}">
<if>
<none>
<data source="@fulltextOnline"/>
<data source="@toc"/>
<data source="@desc"/>
</none>
</if>
<data source="@linkUri" name="seeAlsoUri"/>
</combine>
<!-- link to table of content (toc) -->
<combine name="@toc" value="${uri}" sameEntity="true">
<data source="655[-eu][ -1].[x3]">
<regexp match="^[Ii][Nn][Hh][aA][lL][tT][sS][vV]"/>
</data>
<data source="@linkUri" name="uri"/>
</combine>
<data source="@toc" name="http://purl.org/dc/terms/tableOfContents"/>
<!-- link to description -->
<combine name="@desc" value="${uri}" sameEntity="true">
<data source="655[-eu][ -1].[x3]">
<regexp match="^[Ii][Nn][Hh][aA][lL][tT][sS][tT]"/>
</data>
<data source="@linkUri" name="uri"/>
</combine>
<data source="@desc" name="http://purl.org/dc/terms/description"/>
<!-- ####################### -->
<!-- ########## source , isPartOf -->
<!-- ####################### -->
<concat delimiter="; " name="http://purl.org/dc/terms/bibliographicCitation">
<data source="59[0123568][-abcd][-12].a">
<replace pattern="&gt;&gt;" with=""/>
<replace pattern="&lt;&lt;" with=""/>
</data>
</concat>
<data source="525[-a][-1].a" name="http://purl.org/dc/terms/bibliographicCitation">
<replace pattern="&gt;&gt;" with=""/>
<replace pattern="&lt;&lt;" with=""/>
</data>
<!-- if 523-1p and 523-1a -->
<combine name="http://rdvocab.info/Elements/frequency" value="${p}${a}">
<data source="523[-a][-1].p" name="p">
<regexp match="(.*)" format="${1}: "/>
</data>
<data source="523[-a][-1].a" name="a"/>
</combine>
<!-- if only 523-1a -->
<combine name="http://rdvocab.info/Elements/frequency" value="${a}">
<if>
<none>
<data source="523[-a][-1].p"/>
</none>
</if>
<data source="523[-a][-1].a" name="a"/>
</combine>
<data source="@hasSupplement" name="http://rdaregistry.info/Elements/u/P60281">
<regexp match="(.*)" format="$[ns-lobid-resource]${1}"/>
</data>
<data source="599[-b][-1].[a]" name="@dctIsPartOfHbzIdArticle">
<regexp match="(.*)" format="$[ns-lobid-resource]${1}"/>
</data>
<data source="@dctIsPartOfHbzIdArticle" name="@isPartOfHbzId"/>
<data source="@isPartOfHbzId" name="@dctIsPartOf"/>
<!--s. #333 <data source="599[abcdefgh][-1].a" name="http://purl.org/dc/terms/isPartOf" /> -->
<data source="599s[-1].a" name="@dctIsPartOfArticle">
<regexp match="(.*)" format="$[ns-zdb-services]${1}"/>
</data>
<data source="@dctIsPartOfHbzIdArticle" name="@dctIsPartOf"/>
<combine name="http://purl.org/dc/elements/1.1/isPartOf" value="${isPartOfLiteral}">
<if>
<none>
<data source="@isPartOfHbzId"/>
</none>
</if>
<data source="4[56789]1[-ab]1.a" name="isPartOfLiteral">
<regexp match="(.*) +;.*" format="${1}"/>
</data>
</combine>
<entity name="http://purl.org/lobid/lv#inSeries" flushWith="4[56789]3[-ab]1.a">
<data source="@idTitleSeries" name="http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
<regexp match=".*" format="$[ns-lobid-vocab]SeriesRelation"/>
</data>
<combine name="$[ns-lobid-vocab]series" value="$[ns-lobid-resource]${a}">
<data source="4[56789]3[-ab]1.a" name="a"/>
</combine>
<data source="4[56789]1[-ab]1.a" name="$[ns-lobid-vocab]numbering">
<regexp match=".*;(.*)" format="${1}"/>
<trim></trim>
</data>
</entity>
<data source="4[56789]1[-ab]1.a" name="http://purl.org/ontology/bibo/volume">
<regexp match=".*;(.*)" format="${1}"/>
<trim></trim>
</data>
<data source="@dctIsPartOf" name="http://purl.org/dc/terms/isPartOf"/>
<!-- ####################### -->
<!-- ########## classification -->
<!-- ####################### -->
<!--nwbib -->
<data source="078n[-1].a" name="http://purl.org/ontology/holding#collectedBy">
<regexp match=".*" format="$[ns-lobid-resource]NWBib"/>
</data>
<data source="700n[-1].a" name="$[ns-lobid-vocab]nwbibsubject">
<regexp match="(\d\d\d\d\d\d)" format="http://purl.org/lobid/nwbib#s${1}"/>
</data>
<combine name="log: 700n[-1].a AND 078n[-1].a" value="${id}">
<if>
<none>
<data source="078n[-1].a"/> <!-- 078n[-1].a"/> -->
</none>
</if>
<data source="700n[-1].a"/>
<data source="@id" name="id"/>
</combine>
<!-- ignore '99' in e.g. '700n|a 99|b Bonn', but take 'b' to lookup ID's ,see HT018131501 -->
<combine name="@nwbib700_99" value="${a}" sameEntity="true">
<data source="700n[-1].a">
<regexp match="^99\b|^97\b|^96\b"/>
</data>
<data source="700n[-1].b" name="a"/>
</combine>
<!-- geo enrichment nwbib 99 -->
<data source="@nwbib700_99" name="http://purl.org/dc/elements/1.1/coverage"/>
<!--some normalizing -->
<data source="@nwbib700_99" name="@nwbib700_99_id">
<replace pattern=" " with=""/>
<replace pattern="/" with=""/>
<replace pattern="\(.*\)" with=""/>
<replace pattern="&lt;.*&gt;" with=""/>
<replace pattern="" with=""/>
<replace pattern="-" with=""/>
<replace pattern="," with=""/>
<replace pattern="/" with=""/>
</data>
<!-- wikidata -->
<data source="@nwbib700_99_id" name="@wikidataId">
<lookup in="wikidataId"/>
</data>
<data source="@wikidataId" name="@wikidataLatLon">
<lookup in="wikidataLatLon"/>
</data>
<data source="@wikidataLatLon" name="$[ns-lobid-vocab]subjectLocation"/>
<combine name="http://purl.org/dc/terms/spatial" value="http://www.wikidata.org/entity/${id}">
<data source="@wikidataId" name="id"/>
</combine>
<combine name="$[ns-lobid-vocab]nwbibspatial" value="${a}">
<data source="700n[-1].a" name="a">
<regexp match="^([0-8][0-8]\b|91\b|96|97)\b" format="http://purl.org/lobid/nwbib-spatial#n${1}"/>
</data>
</combine>
<!--edoweb -->
<data source="078r1.a" name="@edoweb">
<regexp match="edoweb"/>
</data>
<data source="@edoweb" name="http://purl.org/ontology/holding#collectedBy">
<regexp match=".*" format="http://lobid.org/resource/Edoweb"/>
</data>
<!--rheinland pfalz -->
<data source="700l[-1].a" name="http://purl.org/lobid/lv#rpbSubject">
<regexp match="^(\d{3})$" format="https://w3id.org/lobid/rpb2#n${1}"/>
</data>
<data source="700l[-1].a" name="http://purl.org/lobid/lv#rpbSubject">
<regexp match="^rpb(.*)" format="http://purl.org/lobid/rpb#n${1}"/>
</data>
<data source="700l[-1].[ab]" name="http://purl.org/ontology/holding#collectedBy">
<regexp match="^rpb.*" format="$[ns-lobid-resource]RPB"/>
</data>
<!-- ########## isbn -->
<data source="540[-ab][-1].[ab]" name="http://purl.org/ontology/bibo/isbn">
<isbn to="clean"/>
</data>
<data source="540[-ab][-1].[ab]" name="http://purl.org/ontology/bibo/isbn">
<isbn to="isbn13"/>
</data>
<!--ISMN -->
<data source="541[-ab][-12].[ab]" name="http://purl.org/ontology/mo/ismn">
<replace pattern="-| " with=""/>
</data>
<!-- ISSN -->
<data source="542[-ab][-1].[a]" name="http://purl.org/ontology/bibo/issn">
<replace pattern="-| " with=""/>
</data>
<data source="750?[-1].a" name="http://purl.org/dc/terms/abstract"/>
<data source="501-1.a" name="http://www.w3.org/2004/02/skos/core#note"/>
<!-- ############### statistics -->
<!-- <data source="_else"/> -->
</rules>
<!-- ####################### -->
<!-- ########### maps -->
<!-- ####################### -->
<maps>
<filemap name="sigel2isilMap" files="sigel2isilMap.csv"/>
<filemap name="iso639xToIso639-3-Map" files="iso639xToIso639-3-Map.tsv"/>
<sqlmap name="wikidataId" query="SELECT data FROM wikidataGeo WHERE identifier=?"
host="localhost:3306" database="lobid" login="debian-sys-maint" password="tzSblDEUGC1XhJB7"/>
<sqlmap name="wikidataLatLon" query="SELECT data FROM wikidataGeo WHERE identifier=?"
host="localhost:3306" database="lobid" login="debian-sys-maint" password="tzSblDEUGC1XhJB7"/>
</maps>
</metamorph>
You can’t perform that action at this time.