Introduction

Odeuropa Explorer is a fascinating project that digitizes Europe’s olfactory heritage. Funded by the EU’s Horizon 2020 research program, it provides a platform for cross-searching and exploring historical smell experiences.

This project classifies smell-related information into three main categories:

  • Smell sources: Objects and substances that emit odors
  • Fragrant Spaces: Places and spaces associated with smells
  • Gestures and Allegories: Gestures and allegorical expressions related to smell

This article reports the results of investigating the hierarchical structure of these vocabularies using SKOS (Simple Knowledge Organization System) format data published in the Odeuropa vocabularies repository.

Investigation Method

SKOS Hierarchy Visualization Script

To understand the hierarchical structure of the vocabularies, I created a Node.js script to parse SKOS Turtle files.

iica}mmosppnycc$ccccf}f}cf}toosnoorooooouooorrtcnndn$Snnnrcci}ci}nivcccc}nri}pttssfGsrKBsssoofofPcfioooh)FsfLSftt.etdOuttt(nncncbi}nrtsnnniccp;it(te$fKuptfSicsGs(oGs(orfaiiisssloornc(ovrsOnsdac.(lbncotetlnetbnonrnovtttodnnidto!pedSctaraos'draontactrsa(artnielrssnonbLlfftotslnyCornsslbebotd!rosdlceetttapsreCr=iraelcmomarctupaepbraenrwhpi.ah.nHnLtovofooe(e(nadoebrbltrodbraoeirtabil.ipideaenrm$n=dcp'cpewpcjeesLoaerMrwreiedelofsrevcdlcor=aothesretoefl.aadroareMrnddldgoLerdeoeCem'dvftnstpMrLncLslbdesaporaat.(r(rafailnropffi$sacttfaMactaeeer.d.wMprHhc=e`EsirsCcMnt's.sr.,e=p'opabeb=nlrslesea.ciaon$atxcpoeacsr'Nudrp:)rpep=egsererpghesnc{chlnppe.d;aafests/)=ltlst.c=ntM.eyr(co=ih==yact.pffml.atst;b=scthsog=(astacenn((yehtoleigdowrnoooenstspe(rropcnd(iicpoasriszrFrrwoen=fnr>tcthbu.tbecnteaecnshttfs.Ebpeaieewawece(eorbh(rchcUprnhdLios(pa'aHpl,..dwnce.0spr>ojabouyertrtiealpccuc;cihemweMeopm)uteaesrar(piLo}lxsd-=ooshee(S'a3raMwntabs.0dc(odsct)aw$dt,lnnh((r)yht./pac.t{jm)etbaeioU;be{,=e[cc(c'a;ntcon(pMescear.rdrvnrerl=?iv]eecohrcthra)(apuhct{svoe)ecilMai=ne;ppontc(p(gr;)ptb(tc[aar.le)sabn'dlttnctht:n/r;(sjs.h0ld,pyp).pedces.cepyt/u1o))euv(]ueutg.lehnc)sep:(l/l9w;cbas.er[sUreg}xitoupt/tFel9e{tjluo,)]hrete`)ln{bt/tix,9r;eubb))(it(t)d'+cj.=wlla/cejjb;s,uc(;=rees>wFem0rt,eer{uroc>e:ppcuwi,p2e,ccobinnonrttbp.ll/llttajn;cn{.'es.jrwe'e2aSa,.dedeclfvei3)u.2tKbvecepeeiacn.to-iOeSartntpnxltto{frroSlKl).tUtg,u.Hr8gdn(sOu;vrUt'evig'/fs'[Sea=irh;n)ae/)'-hp0(;l)ie)lr2;,sir]'u;)-wua0ype.be'{er0'nsfor),1S)c4ttLbo;;e;h/eaajavty0xxbedi[((2t-eces]vc//nltri;iosts'.'tsnku#)v)eicort,a,dtestylep/lpnun=dtceeueu))o''l)ln))r))l;le;;e;,))w#;;'S)e;t()){

Key processing steps of this script:

  1. Loading the RDF graph: Uses rdflib to parse vocabulary files in Turtle format
  2. Extracting hierarchical relationships: Manages skos:broader and skos:narrower relationships with Map objects
  3. Identifying top-level concepts: Detects concepts without skos:broader
  4. Recursive hierarchy display: Visually represents the tree structure

Execution Method

The script was executed for all three vocabularies:

#n#n#noooSdFdGdmereeeeaslvgvtvliriuisasrssunueuoatasaulllriSiaiczpznzeeaedes-c--hehAhisilieelerreraagarrorccrchhihyyey..s.jjjsssofolrlfafagacrctatonortry-y-s-opgbaejcseetcsut.rste.tstl.ttl>tl>hi>oelrofalarfccathcoytr-oyfr-ryoa-bggjreeascntttus-r-sehpsia-echreiaser-rc2ah0ry2c.5ht1yx0.t1t0x-t231358.txt

Investigation Results

1. Smell Sources

TTCMoooatpnxa-cillemepucvtmoesnlhcwieciepotrtnhascr:eccphh6tiy8sl5:ddre1ep3nt:h:774

Distribution of hierarchy depth:

  • Level 0 (top-level): 13 concepts
  • Level 1: 383 concepts
  • Level 2: 202 concepts
  • Level 3: 42 concepts
  • Level 4: 45 concepts

Top-level categories:

AABBEFFFFMNPRbreolloruaarestideooamttoltenymrdgetudirfgearserugaanarecicctntottcne/Cosmetic

Examples of characteristic deep hierarchical structures:

Being hierarchy (click to expand)
BeingKOPTanei(dyre5acsr5vhoMW(ÄBBDDFFHMMOPSWWZ5eanao(gsiirüeiuouiotiii)rnm1ecbganlsnssstirrb((a3shecglcdcketnbbe(35(n)terchehehlwkeCFGIMRSSSWeAKMRRVt2935rnaer(uReatlrlanuacnpolmaaeeok3794(a(tn7((satliluirssuhairtprmppga)))05n(1(665hteosenecpmidmihkmttet)4d44((9)85i((rstCLgekACDGMMVheeleeiFaaAABBBCDEFFGHHHKLLMMPRRSSSTWZiLSilEHTz1e2)558))r(31araeltnorraoeetr(rbrslnreouaeleouaaeüeioofaaccqioilinlnuae)t876)s185((cannetcaagttl(t(5eiostmaalmeerxiuudhoonuebthhugleezae(thue)1)c07314ebg(ogsghi4e4(4age(iarrlerprnssgepnksrbawiefgak/4enb(r)h2))46au((4(oosov(6r852(4ldelhe(eekeaeedi(ferre(reA6ne4))64n(s4474nnht(e47l82)4(((8oi((n(at5asah(r(yet5ir(n4dm1(n5())4t6719fo5r6)i)654540pl55(5n9eto1d5(0(ne(5b7(p)(1)W1(8e80)0(lp(25n)9726)il18(50t(4plzg90(5((01el51o8(5h59(a039)))5yp65()g)940no441035)ie0(24015)913c)51i741l14)(1e0)3)))a))98)(9g(()5)99803((2)k06b8)9)348(r19(e(1)534(519)91)16)6)i)5()6)4)845)9)(6495)))80()a)599()6(805369)861))15651)1)2)))9()0)8)0)2440))7))7)
Flora hierarchy (click to expand)
FloraAAAABBBBBcklläeello(aegourroum5claemgrsmi6ieeeABCEEHKLLMNUWaysOeACCEGGHMt0ai(kaoiuoaioyilamorngahpaeiat)e(6(arncclmnrrtmco(maalrilrbrefn552zkihazpdbtreht6n(plydabiida420ifCelLOSfeeeeo7(g7aasenesgr(3)0e(eey(iuaee(l(55e2nantrcobn9))6rd(p4gdnr(r(p6d6)5)tLndhaulee1(2a2t7nd22l1e67bhitrusdls)25(rC1u6u(e(0(3a)r8)lulhus(oi2)3e8s)m3l2124nb)osyem5((wa15(d)9h4)3)tesm(966)n)8Va(A6o)2es((u(5708a)ir3q)l)(ro55m59)04r5uz4em7895))(g(5i095(1)2iL)l(2(())5)3nea2)2589ibe0356)aa211))n()))o4(n23)65)9()360)

Points of interest:

  1. Deepest hierarchical structure: Maximum depth of 4, making it the most complex hierarchy among the three vocabularies
  2. 13 top-level categories: Systematic classification into Abstract, Artefact, Being, Body, Element, Flora, Food, Fragrance/Cosmetic, Fumes, Matter, Nature, Product, and Religion
  3. Overwhelming scale: 685 concepts far exceeds the other two vocabularies (138 and 36)
  4. Taxonomic approach: Being and Flora have detailed hierarchical structures close to scientific classification
  5. Fusion of culture and science: Covers a wide range of knowledge domains from religious concepts to chemical substances
  6. Detailed classification of artefacts: The Artefact category includes diverse artefacts related to smell, such as perfume bottles, jewelry, and smoking implements

2. Fragrant Spaces

TTCMoooatpnxa-cillemepucvtmoesnlhcwieciepotrtnhascr:eccphh1tiy3sl8:ddre9ep1nt:h:232

Distribution of hierarchy depth:

  • Level 0 (top-level): 91 concepts
  • Level 1: 44 concepts
  • Level 2: 3 concepts

Full hierarchical structure:

Click to display all 138 concepts
AAABBBBBBBBBBCCCDFFFGGGGHHHHHJJKKKKKKLLLLLLLMMMMMMNOPPPPPPPPPRRRRSSSSSSSSSSSSSSTTTTTTVWWWWWnrraaaalrrruuhooiaaiaerraaeooaaaaaerüaaaaiiiaeeiouufalllorruueoouccehllottttttwaehooriaaaaiaacdklueaeoiriaulbcerwaonylttgifnnlacbknubmmradsusrfraaeniibbsopnhhaoauaaäarruaneebwolllrsgtbaeeleauntlgmlnlrtltävcdsl-edlfaalnhoeenrekkditnesiaccadnsltmelopumpdltaedmnraanpldkehoidhrrPcenhdHntFiiCCFPSTVodeBFTcLOeeithlsellekHePRrAdaitAFMochtuecdeeCKMMSsto(iaKBBLRSTrfao(OTgtNlPinSeDpMPSegtciaWmhsmaiay(nohreeio(eWrigkahaauoirnoeehiryrca(oz(eireooial((rrKlniawaaamreihiooyu(n1cua(aeiepoyacl9c(oh(weeeodhtifsaowrrrc(cg(aüohhiau3huierlnu8yayeececsgbnihtnasmaayrc1u(e1h(sns(octc14yyin(isrluiys(oarnsnr1s0rn1ddvfeich3e1kt6o(innorarlayueo1e1lhuooc(s()olniegs)gsln(amttaaeeo(achonrak0s1n3a1a(hp3rhoh30l4mck(fn((e1fpcaqae3h(0Bat1erieil(tt()a0oe2r1g(s(r(trasdmb2(9dlsupa1(1ftgi(eAO(oidHc2oiorrcgss2negangd(f1e3e7u1t1ai7re2)p(n(5aht4ge5(52ehsug3o5)ani7zoncse8of1n7r)k4h6i(5e6mnhep(e(s61()beesl01(0r(8(pl1ndae3crycap7idauae2t()8)s)i2ut)kkym)l99)lmh8an(4p2(1wleteof)p6ttn)iogtet0re0)(s)b3o1)4rdlr61p)27re(9155(yf6(21(ad3e(y)fayforai)crsir(81()(o)saiiia5(9aa)r4)l)1)oega)hemmos)yl4(1ho)n2()o(a(8(0i73a((7t)08)2i)1)26r0(1f(al-fantagdai7)p133(nltt(sc)4)mrld(9a0r((r(ui((mrra(d)51o(us01a6pn(6)92n))n24(0h))5fe799tH)1(2i1ciacffdalae(e7l5343(cc1te2akle1)n8s13y8er1(9(e(oya1(19u8rs)2d0od974)nd117)e)al)))mo118e1tinctaalrn2()a)))6(3whh3')rten8t)h3590521r1ol29())s5ht5)l6))i))5ardeu32)l4onttoccmgd94(c)92aee6s(k)si1)()((69)61m(477e)oa)(d()n()tmns)2d)rdeortti(ae()34e8)rnn)9e((()p)187)))(11())6ol1e4g2r(te)yurryool7rn7)4)dw)t2483894)(31)(dl0r70e(7(siyrrl8d2)(((o667((4)))15563s)w)5)((3(to(yys)e()3(33r()))55)1))1(()o(71801rr(6n81798k2032)11(r8)16)0y55((i1)4))s))))216k38))(5)79n())h366s))(2)108o)))h14))l4po3)a)p)n(d1(s)9c1a)pe(22)

Highlights of characteristic hierarchical structures:

FGPBaalubrairtcliCCFPSTVeBFTeCKMMSdHkahaauoinoeehiooyiocecsgbntnaoarnsnnu(amttaae(acfpcaqagsFoiorrcgGnegehsugeAOacrycaaidawleteoplcfayforrcroegadtal-fadagdr(rurociacffelaesCyetHrtinctaanrnhhmoyonttocc)gdiueu)rdeorttaeprnsyurryoornctesiyrrdhtoyye)rrny

Points of interest:

  1. Multilingual nature: German (Fabrik, Garten, Wald) and English are mixed, reflecting the characteristics of a European multilingual project
  2. Relatively flat structure: Maximum depth of 2 is shallow, with most concepts at the top level or one level below
  3. Diversity of places: Comprehensively covers places related to smell, including factories, markets, religious facilities, and natural environments
  4. Detailed classification of industrial facilities: Factories (Fabrik) in particular have 7 specialized subcategories, suggesting the importance of smell during the Industrial Revolution

3. Gestures and Allegories

TTCMoooatpnxa-cillemepucvtmoesnlhcwieciepotrtnhascr:eccphh3tiy6sl:ddre3ep4nt:h:21

Distribution of hierarchy depth:

  • Level 0 (top-level): 34 concepts
  • Level 1: 2 concepts

Full hierarchical structure:

Click to display all 36 concepts
#n#n#noooSdFdGdmereeeeaslvgvtvliriuisasrssunueuoatasaulllriSiaiczpznzeeaedes-c--hehAhisilieelerreraagarrorccrchhihyyey..s.jjjsssofolrlfafagacrctatonortry-y-s-opgbaejcseetcsut.rste.tstl.ttl>tl>hi>oelrofalarfccathcoytr-oyfr-ryoa-bggjreeascntttus-r-sehpsia-echreiaser-rc2ah0ry2c.5ht1yx0.t1t0x-t231358.txt

0

Concepts with hierarchy:

#n#n#noooSdFdGdmereeeeaslvgvtvliriuisasrssunueuoatasaulllriSiaiczpznzeeaedes-c--hehAhisilieelerreraagarrorccrchhihyyey..s.jjjsssofolrlfafagacrctatonortry-y-s-opgbaejcseetcsut.rste.tstl.ttl>tl>hi>oelrofalarfccathcoytr-oyfr-ryoa-bggjreeascntttus-r-sehpsia-echreiaser-rc2ah0ry2c.5ht1yx0.t1t0x-t231358.txt

1

Major concepts (by category):

  • Nose-related gestures: Holding one’s nose, Hand towards the nose
  • Hygiene and cleaning activities: Garbage collecting, Street sweeping, Washing
  • Medical activities: Examination of urine, Embalming, Doctor sniffing cane
  • Religious rituals: Burnt offering, Per fumum (through smoke)
  • Everyday activities: Eating, Smoking, Defecation

Points of interest:

  1. Nearly flat structure: 34 out of 36 concepts are top-level, indicating low need for hierarchical organization
  2. Body action-centric: Many relate to physical gestures and actions
  3. Medicine and hygiene: Includes historical medical and hygiene practices such as urine examination and fumigation disinfection
  4. Cultural diversity: Covers a wide range of cultural contexts from religious rituals to everyday activities

Technical Considerations

Comparison Between Vocabularies

Comparing the three vocabularies clearly reveals the characteristics of each domain:

VocabularyTotal ConceptsTop-levelMax DepthCharacteristics
Smell sources685134Systematic classification, deep hierarchy
Fragrant Spaces138912Flat structure, diversity of places
Gestures and Allegories36341Nearly flat, independent actions

Significance of scale differences:

  • Smell sources being overwhelmingly large indicates the great diversity of smell sources
  • Fragrant Spaces is medium-sized, dealing with concrete concepts of places
  • Gestures and Allegories is the smallest but carefully selects culturally important actions

Significance of hierarchy depth:

  • Deep hierarchy (Smell sources): Knowledge that is inherently hierarchical, such as natural classification (taxonomy) and product categories
  • Shallow hierarchy (Fragrant Spaces, Gestures): Places and actions exist as relatively independent concepts

Alignment with SKOS Design Principles

The three vocabularies investigated have structures faithful to SKOS design principles:

  1. Appropriate hierarchy depth: Maximum depths of 1-4, adopting depths suited to each domain’s nature
  2. Clarity of broader/narrower relationships: The hierarchical relationships of each concept are clearly defined
  3. Balance of top-level concepts: Smell sources has 13 systematic categories, Fragrant Spaces has 91 diverse places, Gestures has 34 independent actions

Data Modeling Characteristics

The differences in hierarchy depth across the three vocabularies reflect the nature of each domain:

  • Smell sources (depth 4): Knowledge systems that are inherently hierarchical, such as natural classification and product hierarchies
    • Example: Being -> Tier -> Wirbeltiere -> Mammal -> Lion
    • Example: Flora -> Baume -> Holz -> Sandelholz
  • Fragrant Spaces (depth 2): Shallow hierarchy based on place containment relationships
    • Example: Building -> House -> Apartment
  • Gestures and Allegories (depth 1): Exist as independent actions with low need for hierarchical organization
    • Example: Smelling -> Piss smelling (one of the few hierarchies)

Implementation Considerations

Key points in script implementation:

  1. Circular reference checking: Uses a visited Set to prevent infinite loops
  2. Label retrieval: Fallback from URI when skos:prefLabel is not available
  3. Sorting: Alphabetical sorting ensures output consistency
  4. Statistical information: Depth distribution and child element count aggregation enable quantitative understanding of vocabulary characteristics

Summary

Through investigation of the three Odeuropa Explorer vocabularies (Smell sources, Fragrant Spaces, Gestures and Allegories), the following was found:

  1. Design tailored to each domain:

    • Smell sources (685 concepts, depth 4): Systematic classification and deep hierarchy
    • Fragrant Spaces (138 concepts, depth 2): Moderate hierarchy and diversity
    • Gestures and Allegories (36 concepts, depth 1): Flat structure and independence
  2. Cultural and historical richness: The diversity of European olfactory cultural heritage is condensed into a total of 859 concepts

  3. Multilingual nature: German, English, French, and Latin are mixed, embodying the characteristics of a pan-European project

  4. Flexibility of hierarchical structure: Optimal hierarchy depths are adopted for each domain, from natural classification to places and actions

  5. Balance of practicality and scholarship: A balance between flat structures suitable for search and exploration and hierarchy necessary for knowledge systematization

Understanding such vocabulary hierarchical structures allows us to learn practical examples of knowledge organization in digital humanities. The analysis of three vocabularies with different characteristics demonstrates that SKOS is an effective tool not only for academic research but also for cultural heritage digitization projects.

Investigation Data and Code

Files used and generated in this investigation:

Analysis Targets

Generated Files

  • visualize-hierarchy.js - SKOS hierarchy visualization script
  • olfactory-objects-hierarchy.txt - Complete hierarchy output for Smell sources (685 concepts)
  • hierarchy-fragrant-spaces-20251010-231358.txt - Complete hierarchy output for Fragrant Spaces (138 concepts)
  • olfactory-gestures-hierarchy.txt - Complete hierarchy output for Gestures and Allegories (36 concepts)