This site uses AI for smell information extraction and image generation. Please note that it may contain errors or inaccuracies. Learn more

Data Structure

Overview

This database structures the scent descriptions in The Tale of Genji as Semantic Web data, conforming to the OdEuropa project and CIDOC-CRM ontology. It expresses all 140 scent descriptions through multiple entity types, enabling tracking of relationships between characters, places, and emotions.

Data Statistics

  • Total scent descriptions: 140
  • Volumes covered: 41
  • Format: RDF/XML (unified file)
  • Base URI: http://data.genji.org/
  • SPARQL endpoint: Dydra

Entity Structure

1. Source (Chapter) - E33_Linguistic_Object

Represents each chapter of The Tale of Genji.

<rdf:Description rdf:about="http://data.genji.org/source/02">
  <rdf:type rdf:resource="http://erlangen-crm.org/current/E33_Linguistic_Object"/>
  <rdfs:label xml:lang="ja">源氏物語 帚木</rdfs:label>
  <rdfs:label xml:lang="en">The Tale of Genji - Hahakigi</rdfs:label>
  <schem:inLanguage>ja</schem:inLanguage>
  <schem:author xml:lang="ja">紫式部</schem:author>
  <schem:dateCreated>Early 11th century</schem:dateCreated>
  <schem:url rdf:resource="https://kouigenjimonogatari.github.io/xml/xsl/02.xml"/>
  <ecrm:P67_refers_to rdf:resource="http://data.genji.org/emission/02-01"/>
  <ecrm:P67_refers_to rdf:resource="http://data.genji.org/experience/02-01"/>
  <ecrm:P67_refers_to rdf:resource="http://data.genji.org/smell/02-01"/>
  <ecrm:P165_incorporates rdf:resource="http://data.genji.org/source/02/fragment/02-01"/>
</rdf:Description>

Key Properties:

  • ecrm:P67_refers_to → Emission, Experience, Smell
  • ecrm:P165_incorporates → Fragment

2. Fragment (Text Fragment) - E33_Linguistic_Object

Original text passages mentioning scents.

<rdf:Description rdf:about="http://data.genji.org/source/02/fragment/02-01">
  <rdf:type rdf:resource="http://erlangen-crm.org/current/E33_Linguistic_Object"/>
  <ecrm:P67_refers_to rdf:resource="http://data.genji.org/emission/02-01"/>
  <ecrm:P67_refers_to rdf:resource="http://data.genji.org/experience/02-01"/>
  <ecrm:P67_refers_to rdf:resource="http://data.genji.org/smell/02-01"/>
  <rdf:value xml:lang="ja">けにそのにほひさへはなやかにたちそへるもすへなくて</rdf:value>
  <genji:modernJapanese xml:lang="ja">なるほどその匂いまでもが鼻につくほどに...</genji:modernJapanese>
  <genji:english xml:lang="en">Indeed, that smell too rose so pungently...</genji:english>
  <schem:position rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">60</schem:position>
  <schem:url rdf:resource="https://kouigenjimonogatari.github.io/xml/xsl/02.xml?n=60&amp;corresp=..."/>
</rdf:Description>

Key Properties:

  • rdf:value - Classical Japanese original text
  • genji:modernJapanese - Modern Japanese translation
  • genji:english - English translation
  • ecrm:P67_refers_to → Emission, Experience, Smell
  • schem:position - Position in text

3. Smell - L11_Smell

The core entity representing the scent itself.

<rdf:Description rdf:about="http://data.genji.org/smell/02-01">
  <rdf:type rdf:resource="http://data.odeuropa.eu/ontology/L11_Smell"/>
  <rdfs:label xml:lang="ja">にほひ</rdfs:label>
  <schem:image rdf:resource="https://odgenji.vercel.app/images/smells-openrouter/02-01.webp"/>
</rdf:Description>

Key Properties:

  • rdfs:label - Classical Japanese scent word (nihohi, ka, kaubashi, etc.)
  • schem:image - AI-generated image

4. Object (Scent Source) - S10_Material_Substantial

The person or object that is the source of the scent.

<rdf:Description rdf:about="http://data.genji.org/object/02-01">
  <rdf:type rdf:resource="http://www.ics.forth.gr/isl/CRMsci/S10_Material_Substantial"/>
  <rdfs:label xml:lang="ja">こくねちのさうやく(大蒜の丸薬)を服用した女</rdfs:label>
</rdf:Description>

5. Emission (Scent Emission) - L12_Smell_Emission

The event of scent generation.

<rdf:Description rdf:about="http://data.genji.org/emission/02-01">
  <rdf:type rdf:resource="http://data.odeuropa.eu/ontology/L12_Smell_Emission"/>
  <od:F1_generated rdf:resource="http://data.genji.org/smell/02-01"/>
  <od:F3_had_source rdf:resource="http://data.genji.org/object/02-01"/>
  <od:F3_had_source rdf:resource="http://data.odeuropa.eu/vocabulary/olfactory-objects/555"/>
  <genji:evokedOdorant xml:lang="ja">大蒜 (garlic)</genji:evokedOdorant>
  <time:hasTime rdf:resource="http://data.genji.org/time/%E6%98%BC%E9%96%93"/>
  <genji:odourCarrier xml:lang="ja">空気</genji:odourCarrier>
</rdf:Description>

Key Properties:

  • od:F1_generated → Smell (generated scent)
  • od:F3_had_source → Object (source)
  • od:F3_had_source → OdEuropa vocabulary (source category)
  • genji:evokedOdorant - Evoked substance
  • genji:odourCarrier - Carrier medium
  • time:hasTime → Time

6. Experience (Olfactory Experience) - L13_Olfactory_Experience

The act of perceiving a scent.

<rdf:Description rdf:about="http://data.genji.org/experience/02-01">
  <rdf:type rdf:resource="http://data.odeuropa.eu/ontology/L13_Olfactory_Experience"/>
  <od:F2_perceived rdf:resource="http://data.genji.org/smell/02-01"/>
  <time:hasTime rdf:resource="http://data.genji.org/time/%E6%98%BC%E9%96%93"/>
  <ecrm:P14_carried_out_by rdf:resource="http://data.genji.org/actor/%E5%BC%8F%E9%83%A8%E4%B8%9E"/>
  <ecrm:P7_took_place_at rdf:resource="http://data.genji.org/place/%E5%A5%B3%E3%81%AE%E3%81%84%E3%82%8B%E9%83%A8%E5%B1%8B%E3%81%AE%E5%A4%96"/>
  <genji:perceivedQuality xml:lang="ja">はなやか(鼻につくほど強い)</genji:perceivedQuality>
  <genji:effect xml:lang="ja">すへなくてにけめをつかひて(どうしようもなく、逃げ出した)</genji:effect>
  <genji:circumstances xml:lang="ja">才女を訪ねた式部丞が...</genji:circumstances>
</rdf:Description>

Key Properties:

  • od:F2_perceived → Smell (perceived scent)
  • ecrm:P14_carried_out_by → Actor (perceiver)
  • ecrm:P7_took_place_at → Place (location)
  • time:hasTime → Time
  • genji:perceivedQuality - Perceived quality
  • genji:effect - Effect/impact
  • genji:circumstances - Circumstances

7. Actor (Perceiver) - E39_Actor

The person who perceives the scent.

<rdf:Description rdf:about="http://data.genji.org/actor/%E5%BC%8F%E9%83%A8%E4%B8%9E">
  <rdf:type rdf:resource="http://erlangen-crm.org/current/E39_Actor"/>
  <rdfs:label xml:lang="ja">式部丞</rdfs:label>
</rdf:Description>

8. Place - E53_Place

The location where the scent was perceived.

<rdf:Description rdf:about="http://data.genji.org/place/%E5%A5%B3%E3%81%AE%E3%81%84%E3%82%8B%E9%83%A8%E5%B1%8B%E3%81%AE%E5%A4%96">
  <rdf:type rdf:resource="http://erlangen-crm.org/current/E53_Place"/>
  <rdfs:label xml:lang="ja">女のいる部屋の外</rdfs:label>
  <ecrm:P137_exemplifies rdf:resource="http://data.genji.org/vocabulary/fragrant-spaces/abstract_space"/>
</rdf:Description>

Key Properties:

  • ecrm:P137_exemplifies → fragrant-spaces vocabulary (location category)

9. Time - TemporalEntity

The time when the scent was perceived.

<rdf:Description rdf:about="http://data.genji.org/time/%E6%98%BC%E9%96%93">
  <rdf:type rdf:resource="http://www.w3.org/2006/time#TemporalEntity"/>
  <rdfs:label xml:lang="ja">昼間</rdfs:label>
</rdf:Description>

10. Emotion - Plutchik Model

Emotions evoked by scents (based on Plutchik's Wheel of Emotions).

<rdf:Description rdf:about="http://data.odeuropa.eu/vocabulary/plutchik/disgust">
  <rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
  <skos:prefLabel xml:lang="en">Disgust</skos:prefLabel>
  <skos:prefLabel xml:lang="ja">嫌悪</skos:prefLabel>
  <skos:inScheme rdf:resource="http://data.odeuropa.eu/vocabulary/plutchik/"/>
  <reo:readP27 rdf:resource="http://data.genji.org/experience/02-01"/>
  <reo:readP27 rdf:resource="http://data.genji.org/experience/09-01"/>
</rdf:Description>

Key Properties:

  • reo:readP27 → Experience (experiences where this emotion was evoked)

Vocabularies

OdEuropa Olfactory Objects

Categorization of scent sources.

CategoryURIJapanese
Floraolfactory-objects/560植物
Beingolfactory-objects/555生物
Artefactolfactory-objects/554人工物
Fragranceolfactory-objects/558香料・化粧品
Bodyolfactory-objects/533身体
Religionolfactory-objects/564宗教
Abstractolfactory-objects/563抽象概念
Matterolfactory-objects/616物質

Fragrant Spaces (Custom Vocabulary)

Categorization of locations.

CategoryURIJapanese
aristocratic_residencefragrant-spaces/aristocratic_residence貴族の邸宅
private_chamberfragrant-spaces/private_chamber私室
imperial_courtfragrant-spaces/imperial_court宮中
religious_spacefragrant-spaces/religious_space宗教的空間
uji_relatedfragrant-spaces/uji_related宇治関連
abstract_spacefragrant-spaces/abstract_space抽象的空間

Plutchik Emotions

Emotion categories (Plutchik's Wheel of Emotions).

Main emotions: joy, trust, fear, surprise, sadness, disgust, anger, anticipation, admiration, serenity, pensiveness, annoyance, amazement, love, awe, etc.

Entity Relationships

Source (Chapter)
  ├─ ecrm:P165_incorporates → Fragment (Text Fragment)
  └─ ecrm:P67_refers_to → Emission, Experience, Smell

Fragment (Text Fragment)
  └─ ecrm:P67_refers_to → Emission, Experience, Smell

Smell ← Core Entity
  ├─ ← od:F1_generated ← Emission
  └─ ← od:F2_perceived ← Experience

Object (Scent Source)
  └─ ← od:F3_had_source ← Emission

Emission (Emission Event)
  ├─ od:F1_generated → Smell
  ├─ od:F3_had_source → Object
  ├─ od:F3_had_source → OdEuropa vocabulary (category)
  └─ time:hasTime → Time

Experience (Olfactory Experience)
  ├─ od:F2_perceived → Smell
  ├─ ecrm:P14_carried_out_by → Actor
  ├─ ecrm:P7_took_place_at → Place
  ├─ time:hasTime → Time
  └─ ← reo:readP27 ← Emotion

Actor (Perceiver)
  └─ ← ecrm:P14_carried_out_by ← Experience

Place
  ├─ ← ecrm:P7_took_place_at ← Experience
  └─ ecrm:P137_exemplifies → fragrant-spaces vocabulary

Emotion
  └─ reo:readP27 → Experience

SPARQL Query Examples

Get all smells

PREFIX od: <http://data.odeuropa.eu/ontology/>

SELECT ?smell ?label ?image WHERE {
  ?smell a od:L11_Smell ;
         rdfs:label ?label .
  OPTIONAL { ?smell schem:image ?image }
}
ORDER BY ?smell
LIMIT 100

Get smells by source category

PREFIX od: <http://data.odeuropa.eu/ontology/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>

SELECT ?category ?categoryLabel ?smell ?smellLabel WHERE {
  ?emission a od:L12_Smell_Emission ;
            od:F1_generated ?smell ;
            od:F3_had_source ?category .
  ?category a skos:Concept ;
            skos:prefLabel ?categoryLabel .
  ?smell rdfs:label ?smellLabel .
  FILTER(lang(?categoryLabel) = 'en')
}
ORDER BY ?category

Get experiences by emotion

PREFIX od: <http://data.odeuropa.eu/ontology/>
PREFIX reo: <http://data.odeuropa.eu/ontology/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>

SELECT ?emotion ?emotionLabel ?exp ?smell ?smellLabel WHERE {
  ?emotion a skos:Concept ;
           skos:inScheme <http://data.odeuropa.eu/vocabulary/plutchik/> ;
           skos:prefLabel ?emotionLabel ;
           reo:readP27 ?exp .
  ?exp od:F2_perceived ?smell .
  ?smell rdfs:label ?smellLabel .
  FILTER(lang(?emotionLabel) = 'en')
}
ORDER BY ?emotion

Track experiences by a specific perceiver

PREFIX od: <http://data.odeuropa.eu/ontology/>
PREFIX ecrm: <http://erlangen-crm.org/current/>
PREFIX genji: <http://data.genji.org/ontology/>

SELECT ?exp ?smell ?smellLabel ?quality ?effect WHERE {
  ?actor rdfs:label "光源氏" .
  ?exp a od:L13_Olfactory_Experience ;
       ecrm:P14_carried_out_by ?actor ;
       od:F2_perceived ?smell .
  ?smell rdfs:label ?smellLabel .
  OPTIONAL { ?exp genji:perceivedQuality ?quality }
  OPTIONAL { ?exp genji:effect ?effect }
}
ORDER BY ?exp

Get experiences by location category

PREFIX od: <http://data.odeuropa.eu/ontology/>
PREFIX ecrm: <http://erlangen-crm.org/current/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>

SELECT ?category ?categoryLabel ?place ?placeLabel ?smell ?smellLabel WHERE {
  ?exp a od:L13_Olfactory_Experience ;
       ecrm:P7_took_place_at ?place ;
       od:F2_perceived ?smell .
  ?place ecrm:P137_exemplifies ?category ;
         rdfs:label ?placeLabel .
  ?category skos:prefLabel ?categoryLabel .
  ?smell rdfs:label ?smellLabel .
  FILTER(lang(?categoryLabel) = 'en')
}
ORDER BY ?category

Technical Stack

  • Ontologies: CIDOC-CRM (Erlangen), OdEuropa Ontology, CRMsci
  • Format: RDF/XML
  • SPARQL Endpoint: Dydra
  • Namespaces:
    • http://data.genji.org/ (base)
    • http://erlangen-crm.org/current/ (CIDOC-CRM)
    • http://data.odeuropa.eu/ontology/ (OdEuropa)
    • http://www.ics.forth.gr/isl/CRMsci/ (CRMsci)
    • http://www.w3.org/2006/time# (Time)
    • http://www.w3.org/2004/02/skos/core# (SKOS)

Data Access

  • RDF file: /public/rdf/genji-smells.rdf
  • JSON data: /src/data/smells-index.json
  • Images: /public/images/smells-openrouter/{id}.webp
  • SPARQL endpoint: Snorql

References