eokg_smell_profile
eokg_smell_profileProfile a smell source, fragrant space or gesture across the whole graph. Counts smells linked to an olfactory-objects, fragrant-spaces or olfactory-gestures concept (from eokg_find_concepts) by 20-year period of document date (bucket_years changes it), language, dataset, qualities, emotions and fragrant spaces; emission dates, raw place labels and carriers (vocabulary concepts mixed with raw words) on request. The languages facet counts text smells only; image smells are in the total and the timeline but have no language. The emission date is extracted from the text but in almost every record equals the document date, so emission_timeline rarely differs from timeline. All values are machine-extracted: dates include OCR noise (reported as out_of_range), and emotions are inferred by a classifier that was not run on medical-heritage, royal-society-corpus, old-bailey-corpus or text-annotation and has no German or Slovenian model. Gesture smells come from texts (Perfuming, mostly French) or from images (Holding one's nose); check the datasets facet. year_from and year_to restrict the profile to a period by document date; undated sources drop out, and images can be a large share of a period's smells. include_narrower adds sub-concepts (e.g. all flowers) but takes 15–30 s per facet. Facets that time out or do not fit the time budget are listed in failed_facets, also without include_narrower; request each once more on its own, and if it fails again, make the query smaller as the warning says.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"concept": "<concept>"
},
"name": "eokg_smell_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Values per ranked facet. | |
| facets | No | Which aggregates to compute. Default: timeline, languages, datasets, qualities, emotions, fragrant_spaces (with include_narrower: timeline, languages, datasets). Opt-in: smell_sources (other smell sources extracted from the same smell events; a default for gestures), emission_timeline, places, carriers. | |
| concept | Yes | An olfactory-objects, fragrant-spaces or olfactory-gestures concept id as eokg_find_concepts returns it (e.g. olfactory-objects/138 for Rose, olfactory-gestures/2 for holding one's nose). | |
| year_to | No | Only smells whose source is dated in this range (document date, inclusive; a range such as 1616/1678 counts by its first year). Undated sources are excluded. | |
| language | No | Only count smells from sources in this language. Not combinable with include_narrower. | |
| year_from | No | Only smells whose source is dated in this range (document date, inclusive; a range such as 1616/1678 counts by its first year). Undated sources are excluded. | |
| bucket_years | No | Timeline bucket width: 10, 20 or 50 years. | |
| include_narrower | No | Also count smells of narrower concepts (e.g. Flower for every flower). Slow: allows at most 3 facets. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| places | No | ||
| concept | Yes | ||
| year_to | No | ||
| carriers | No | ||
| datasets | No | ||
| emotions | No | ||
| language | No | ||
| timeline | No | ||
| warnings | No | ||
| languages | No | ||
| qualities | No | ||
| year_from | No | ||
| total_smells | Yes | ||
| failed_facets | No | ||
| smell_sources | No | ||
| fragrant_spaces | No | ||
| include_narrower | Yes | ||
| emission_timeline | No |