Thot Thesauri

App · Research & Academia · 5 actions

Look up the Egyptological vocabulary published by Thot (Thesauri & Ontology for documenting Ancient Egyptian Resources), the University of Liège project whose seven thesauri give projects working on ancient Egyptian texts and monuments a shared set of terms for dates and reigns, languages, scripts, materials, techniques of inscription, text genres and the museums that hold them. Turn a 'thot-' identifier into a term in English, French or German, read a reign's date range as text and as numbers you can sort on, find the same concept in the Thesaurus Linguae Aegyptiae, pull a whole thesaurus back as rows, search one for the term someone typed, or take a concept's SKOS record as RDF. No account or API key is required.

Actions

ActionWhat it does
Get a conceptRead everything Thot publishes about one concept: its name in English, French and German (and any other language Thot has it in), the other names it goes by, where it sits among the broader and narrower terms, the XML value attached to it, the same concept in other vocabularies such as the Thesaurus Linguae Aegyptiae, the works it is cited from, and (for a concept in the date thesaurus) the range it covers, both as Thot writes it and as numbers you can sort on.
Get a concept as RDFGet a concept's SKOS record as RDF/XML, exactly as Thot serves it, for loading into a triple store or handing to something that reads linked data.
Get a thesaurusRead a whole Thot thesaurus: every term in it, in the language you choose.
Get several conceptsRead the same full record for a list of concepts at once.
Search a thesaurusFind the concepts in a thesaurus whose term matches some text, closest match first.

Get a concept

Read everything Thot publishes about one concept: its name in English, French and German (and any other language Thot has it in), the other names it goes by, where it sits among the broader and narrower terms, the XML value attached to it, the same concept in other vocabularies such as the Thesaurus Linguae Aegyptiae, the works it is cited from, and (for a concept in the date thesaurus) the range it covers, both as Thot writes it and as numbers you can sort on. This is the one step behind a catalog record that stores nothing but 'thot-374' and has to show a king's name and his dates.

Inputs

ConceptconcepttextRequired
The Thot concept to read, as its identifier: 'thot-374'. The number on its own works, and so does the address of a concept page copied out of the browser. Use Search a thesaurus to find the identifier for a term you can only name.
Languagelanguagetext
Which language to show the concept's name in. Every language Thot has for it comes back as well, so this only picks the one shown as the name; a concept with no name in this language falls back to one it does have, and says which.One of: en (English), fr (French), de (German). Default: en.

Outputs

alternative_labelslist
Other names the same concept is known by.
attributionobject
Credit for the project whose data this is.
bibliographylist
The works Thot cites for the concept, such as for a reign's dates.
broaderlist
The terms this one sits under, as Thot identifiers.
concepttext
The identifier, normalized to 'thot-374'.
created_attext
When the concept was added to Thot.
date_endnumber
The latest year as a number, negative for BC.
date_rangetext
The range as Thot writes it, such as '450-400 BC'.
date_span_yearsnumber
How many years the range covers.
date_startnumber
The earliest year as a number, negative for BC, so it can be sorted and compared without being parsed.
definitiontext
What the term means, where Thot defines it.
exact_matcheslist
The same concept in other vocabularies, such as the Thesaurus Linguae Aegyptiae or the Metropolitan Museum's, for joining records across them.
foundtrue/false
False when Thot publishes nothing under this identifier. The rest of the record is then empty rather than wrong.
identifierslist
Other identifiers Thot records for the concept, such as its ID in the Berlin Text System (scheme bts).
is_datedtrue/false
True for a concept with a date range, which is to say one in the date thesaurus that Thot has dated.
labeltext
The name, in the language asked for where there is one.
label_languagetext
Which language the name above is actually in, which differs from the one asked for when Thot has no name in it.
labelsobject
The concept's name in each language Thot documents. A language it has no name in is empty.
modified_attext
When the concept was last changed, when Thot says.
narrowerlist
The terms that sit under this one, as Thot identifiers.
notationtext
The project's own code for the concept, where it has one.
notetext
Any other note Thot attaches to the concept.
other_labelslist
The concept's name in the languages Thot has beyond English, French and German, such as Dutch (nl) or Arabic (ar), where it has them.
rdf_urltext
The same concept as RDF/XML.
relatedlist
Terms Thot relates to this one, as Thot identifiers.
requested_languagetext
The language this step asked for.
schemetext
The short name of the thesaurus the concept belongs to, such as dating or languages: the name Get a thesaurus takes.
scheme_urltext
The address Thot gives that thesaurus.
scope_notetext
Guidance on when the term applies.
urltext
The concept's page, for a person to read.
xml_valuetext
The XML value Thot attaches to the concept, for the project's TEI interchange format. Empty when it has none.
Example output
{
  "alternative_labels": [],
  "attribution": {
    "text": "Data from Thot - Thesauri & Ontology for documenting Ancient Egyptian Resources (University of Liege)",
    "url": "https://thot.philo.ulg.ac.be"
  },
  "bibliography": [
    {
      "citation": "Hornung et al. 2006",
      "cited_range": "492",
      "reference": "thotbiblio-33"
    }
  ],
  "broader": [
    "thot-366"
  ],
  "concept": "thot-374",
  "created_at": "2017-03-06T17:15:15",
  "date_end": -1400,
  "date_range": "1425-1400 BC",
  "date_span_years": 25,
  "date_start": -1425,
  "definition": null,
  "exact_matches": [
    {
      "label": "Amenhotep II. Aacheperure",
      "notation": null,
      "scheme_url": "https://thesaurus-linguae-aegyptiae.de/thesaurus/",
      "uri": "https://thesaurus-linguae-aegyptiae.de/thesaurus/KMQ26R2F3VEJDIOTNUTDWO4Z4Y"
    }
  ],
  "found": true,
  "identifiers": [
    {
      "scheme": "bts",
      "value": "KMQ26R2F3VEJDIOTNUTDWO4Z4Y"
    }
  ],
  "is_dated": true,
  "label": "Amenhotep II. Aacheperure",
  "label_language": "de",
  "labels": {
    "de": "Amenhotep II. Aacheperure",
    "en": "Amenhotep II Aakheperure",
    "fr": "Amenhotep II \u00c2akheperour\u00ea"
  },
  "modified_at": "2023-05-05T12:00:00.000+02:00",
  "narrower": [],
  "notation": null,
  "note": null,
  "other_labels": [
    {
      "label": "Amenhotep II/Amenophis II/A\u00e4cheperoere",
      "language": "nl"
    }
  ],
  "rdf_url": "https://thot.philo.ulg.ac.be/api/rdf/concept/thot-374",
  "related": [],
  "requested_language": "de",
  "scheme": "dating",
  "scheme_url": "http://thot.philo.ulg.ac.be/thesaurus/dating/",
  "scope_note": null,
  "url": "https://thot.philo.ulg.ac.be/concept/thot-374",
  "xml_value": "Amenhotep-II-Aakheperure"
}

Get a concept as RDF

Get a concept's SKOS record as RDF/XML, exactly as Thot serves it, for loading into a triple store or handing to something that reads linked data. Get a concept reads the same document and reports what it says instead, so use this one when the document itself is what you need.

Inputs

ConceptconcepttextRequired
The Thot concept to read, as its identifier: 'thot-374'. The number on its own works, and so does the address of a concept page copied out of the browser. Use Search a thesaurus to find the identifier for a term you can only name.

Outputs

attributionobject
Credit for the project whose data this is.
byte_countnumber
The document's size in bytes.
concepttext
The identifier, normalized to 'thot-23'.
concept_urltext
The concept's page, for a person to read.
formattext
The document's format: RDF/XML.
foundtrue/false
False when Thot serves no RDF for this identifier.
rdf_xmltext
The RDF/XML document itself.
urltext
Where the document was read from.
Example output
{
  "attribution": {
    "text": "Data from Thot - Thesauri & Ontology for documenting Ancient Egyptian Resources (University of Liege)",
    "url": "https://thot.philo.ulg.ac.be"
  },
  "byte_count": 651,
  "concept": "thot-23",
  "concept_url": "https://thot.philo.ulg.ac.be/concept/thot-23",
  "format": "RDF/XML",
  "found": true,
  "rdf_xml": "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:skos=\"http://www.w3.org/2004/02/skos/core#\">\n  <skos:Concept rdf:about=\"http://thot.philo.ulg.ac.be/concept/thot-23\" xml:id=\"thot-23\">\n    <skos:prefLabel xml:lang=\"de\">Fajumisch</skos:prefLabel>\n    <skos:prefLabel xml:lang=\"en\">Fayumic</skos:prefLabel>\n    <skos:prefLabel xml:lang=\"fr\">Copte fayoumique</skos:prefLabel>\n    <skos:prefLabel xml:lang=\"xml\">cop-fayyumic</skos:prefLabel>\n    <skos:inScheme rdf:resource=\"http://thot.philo.ulg.ac.be/thesaurus/languages/\"/>\n    <skos:broader rdf:resource=\"http://thot.philo.ulg.ac.be/concept/thot-19\"/>\n  </skos:Concept>\n</rdf:RDF>",
  "url": "https://thot.philo.ulg.ac.be/api/rdf/concept/thot-23"
}

Get a thesaurus

Read a whole Thot thesaurus: every term in it, in the language you choose. The API serves a thesaurus as the nested source of a tree widget; this brings it back as rows, each carrying its identifier, the term above it, how deep it sits and the whole path down to it, so a workflow can filter and join it without walking a tree. A term Thot has not translated comes back in English and says so.

Inputs

ThesaurusthesaurustextRequired
Which of Thot's thesauri to read, by the short name its addresses use: dating (dates, periods and reigns), languages, material, museums-and-private-collections, scripts, mode-of-inscription (techniques of inscription) or text-content (text genres).
Languagelanguagetext
Which language to read the thesaurus in. The terms come back in this language where Thot has them; Thot's French and German files leave some terms out, and those come back in English and say so. The identifiers are the same whichever you choose.One of: en (English), fr (French), de (German). Default: en.
Most terms to returnlimitnumber
How many terms to bring back. The full count is always reported, so a thesaurus longer than this says so rather than looking complete.From 1 to 5000. Default: 500.

Outputs

attributionobject
Credit for the project whose data this is.
concept_countnumber
How many rows the thesaurus has, whether or not they all fitted in this step. A term filed under more than one broader term has a row under each, so this can be more than the number of distinct terms: scripts has 60 rows for 39 terms.
conceptslist
Every term, in the order the thesaurus lists them: a parent immediately before what sits under it. A term filed under more than one broader term has a row under each, with its own path.
languagetext
The language the thesaurus was read in.
max_depthnumber
How deep the tree goes; 0 is the top level.
returned_countnumber
How many terms this step brought back.
thesaurustext
The thesaurus that was read, by its short name.
top_levellist
The terms at the top of the tree, always complete.
top_level_countnumber
How many terms sit at the top of the tree.
truncatedtrue/false
True when the thesaurus holds more terms than this step asked for.
untranslated_countnumber
How many terms came back in English because Thot's file in the language asked for leaves them out. 0 for English.
urltext
The file the terms were read from, for checking a result against Thot.
Example output
{
  "attribution": {
    "text": "Data from Thot - Thesauri & Ontology for documenting Ancient Egyptian Resources (University of Liege)",
    "url": "https://thot.philo.ulg.ac.be"
  },
  "concept_count": 60,
  "concepts": [
    {
      "child_count": 2,
      "concept": "thot-66",
      "depth": 0,
      "has_children": true,
      "is_node_label": false,
      "label": "Scripts",
      "label_language": "en",
      "parent_concept": null,
      "parent_label": null,
      "path": "Scripts",
      "url": "https://thot.philo.ulg.ac.be/concept/thot-66"
    },
    {
      "child_count": 4,
      "concept": "thot-111",
      "depth": 1,
      "has_children": true,
      "is_node_label": true,
      "label": "< Ancient Egyptian scripts >",
      "label_language": "en",
      "parent_concept": "thot-66",
      "parent_label": "Scripts",
      "path": "Scripts > < Ancient Egyptian scripts >",
      "url": "https://thot.philo.ulg.ac.be/concept/thot-111"
    },
    {
      "child_count": 3,
      "concept": "thot-67",
      "depth": 2,
      "has_children": true,
      "is_node_label": false,
      "label": "Demotic",
      "label_language": "en",
      "parent_concept": "thot-111",
      "parent_label": "< Ancient Egyptian scripts >",
      "path": "Scripts > < Ancient Egyptian scripts > > Demotic",
      "url": "https://thot.philo.ulg.ac.be/concept/thot-67"
    }
  ],
  "language": "en",
  "max_depth": 4,
  "returned_count": 3,
  "thesaurus": "scripts",
  "top_level": [
    {
      "child_count": 2,
      "concept": "thot-66",
      "depth": 0,
      "has_children": true,
      "is_node_label": false,
      "label": "Scripts",
      "label_language": "en",
      "parent_concept": null,
      "parent_label": null,
      "path": "Scripts",
      "url": "https://thot.philo.ulg.ac.be/concept/thot-66"
    }
  ],
  "top_level_count": 1,
  "truncated": true,
  "untranslated_count": 0,
  "url": "https://thot.philo.ulg.ac.be/api/json/thesaurus/scripts"
}

Get several concepts

Read the same full record for a list of concepts at once. A catalog record names its script, its language, its genre and its date as four Thot identifiers; this turns all of them into readable terms in one step rather than four that each do the same thing. Comes back with a name-by-identifier map beside the records, so a workflow can read one straight off.

Inputs

ConceptsconceptslistRequired
The Thot concepts to read, as their identifiers. Add a row for each one, or point this at a list from an earlier step. Each concept is one or two small requests of its own, so keep the list to the identifiers a record actually holds. Up to 20 concepts.
Languagelanguagetext
Which language to show the concept's name in. Every language Thot has for it comes back as well, so this only picks the one shown as the name; a concept with no name in this language falls back to one it does have, and says which.One of: en (English), fr (French), de (German). Default: en.

Outputs

attributionobject
Credit for the project whose data this is.
concept_countnumber
How many concepts were asked about.
conceptslist
Every concept, in the order given.
found_countnumber
How many of them Thot publishes.
labelsobject
Each identifier against its name, for reading one off without walking the list.
missinglist
The identifiers Thot has nothing under.
missing_countnumber
How many of them Thot has nothing under.
requested_languagetext
The language this step asked for.
Example output
{
  "attribution": {
    "text": "Data from Thot - Thesauri & Ontology for documenting Ancient Egyptian Resources (University of Liege)",
    "url": "https://thot.philo.ulg.ac.be"
  },
  "concept_count": 2,
  "concepts": [
    {
      "alternative_labels": [],
      "bibliography": [],
      "broader": [
        "thot-19"
      ],
      "concept": "thot-23",
      "created_at": "2017-02-08T14:18:25",
      "date_end": null,
      "date_range": null,
      "date_span_years": null,
      "date_start": null,
      "definition": null,
      "exact_matches": [
        {
          "label": "Fajumisch",
          "notation": null,
          "scheme_url": "https://thesaurus-linguae-aegyptiae.de/thesaurus/",
          "uri": "https://thesaurus-linguae-aegyptiae.de/thesaurus/FT6T5GHUDJAQDNG2UQEGD3YZWE"
        }
      ],
      "found": true,
      "identifiers": [
        {
          "scheme": "bts",
          "value": "FT6T5GHUDJAQDNG2UQEGD3YZWE"
        }
      ],
      "is_dated": false,
      "label": "Fayumic",
      "label_language": "en",
      "labels": {
        "de": "Fajumisch",
        "en": "Fayumic",
        "fr": "Copte fayoumique"
      },
      "modified_at": "2023-05-05T12:00:00.000+02:00",
      "narrower": [],
      "notation": null,
      "note": null,
      "other_labels": [],
      "rdf_url": "https://thot.philo.ulg.ac.be/api/rdf/concept/thot-23",
      "related": [],
      "scheme": "languages",
      "scheme_url": "http://thot.philo.ulg.ac.be/thesaurus/languages/",
      "scope_note": null,
      "url": "https://thot.philo.ulg.ac.be/concept/thot-23",
      "xml_value": "cop-fayyumic"
    },
    {
      "alternative_labels": [],
      "bibliography": [
        {
          "citation": "Hornung et al. 2006",
          "cited_range": "492",
          "reference": "thotbiblio-33"
        }
      ],
      "broader": [
        "thot-366"
      ],
      "concept": "thot-374",
      "created_at": "2017-03-06T17:15:15",
      "date_end": -1400,
      "date_range": "1425-1400 BC",
      "date_span_years": 25,
      "date_start": -1425,
      "definition": null,
      "exact_matches": [
        {
          "label": "Amenhotep II. Aacheperure",
          "notation": null,
          "scheme_url": "https://thesaurus-linguae-aegyptiae.de/thesaurus/",
          "uri": "https://thesaurus-linguae-aegyptiae.de/thesaurus/KMQ26R2F3VEJDIOTNUTDWO4Z4Y"
        }
      ],
      "found": true,
      "identifiers": [
        {
          "scheme": "bts",
          "value": "KMQ26R2F3VEJDIOTNUTDWO4Z4Y"
        }
      ],
      "is_dated": true,
      "label": "Amenhotep II. Aacheperure",
      "label_language": "de",
      "labels": {
        "de": "Amenhotep II. Aacheperure",
        "en": "Amenhotep II Aakheperure",
        "fr": "Amenhotep II \u00c2akheperour\u00ea"
      },
      "modified_at": "2023-05-05T12:00:00.000+02:00",
      "narrower": [],
      "notation": null,
      "note": null,
      "other_labels": [
        {
          "label": "Amenhotep II/Amenophis II/A\u00e4cheperoere",
          "language": "nl"
        }
      ],
      "rdf_url": "https://thot.philo.ulg.ac.be/api/rdf/concept/thot-374",
      "related": [],
      "scheme": "dating",
      "scheme_url": "http://thot.philo.ulg.ac.be/thesaurus/dating/",
      "scope_note": null,
      "url": "https://thot.philo.ulg.ac.be/concept/thot-374",
      "xml_value": "Amenhotep-II-Aakheperure"
    }
  ],
  "found_count": 2,
  "labels": {
    "thot-23": "Fayumic",
    "thot-374": "Amenhotep II Aakheperure"
  },
  "missing": [],
  "missing_count": 0,
  "requested_language": "en"
}

Search a thesaurus

Find the concepts in a thesaurus whose term matches some text, closest match first. Every other step here needs a 'thot-' identifier and nothing in Thot turns a word into one, so this is where a workflow starts from a term someone typed. Case and accents are ignored, and each match comes back with the whole path down to it so a term that appears twice can be told apart.

Inputs

ThesaurusthesaurustextRequired
Which of Thot's thesauri to read, by the short name its addresses use: dating (dates, periods and reigns), languages, material, museums-and-private-collections, scripts, mode-of-inscription (techniques of inscription) or text-content (text genres).
TermquerytextRequired
The term to look for, or part of one. Case and accents are ignored, so 'ecritures' finds 'Écritures'. A Thot identifier works too, if you want to check where one sits in the tree.
Languagelanguagetext
Which language to read the thesaurus in. The terms come back in this language where Thot has them; Thot's French and German files leave some terms out, and those come back in English and say so. The identifiers are the same whichever you choose.One of: en (English), fr (French), de (German). Default: en.
Most matches to returnlimitnumber
How many matches to bring back, closest first. The full count of matches is always reported.From 1 to 200. Default: 25.

Outputs

attributionobject
Credit for the project whose data this is.
languagetext
The language the thesaurus was read in.
match_countnumber
How many terms matched in all.
matcheslist
The matching terms, closest first.
querytext
The text that was looked for.
returned_countnumber
How many matches this step brought back.
searched_countnumber
How many rows of the thesaurus were searched, a term filed in more than one place counted in each.
thesaurustext
The thesaurus that was read, by its short name.
truncatedtrue/false
True when more terms matched than this step brought back.
untranslated_countnumber
How many terms came back in English because Thot's file in the language asked for leaves them out. 0 for English.
Example output
{
  "attribution": {
    "text": "Data from Thot - Thesauri & Ontology for documenting Ancient Egyptian Resources (University of Liege)",
    "url": "https://thot.philo.ulg.ac.be"
  },
  "language": "en",
  "match_count": 8,
  "matches": [
    {
      "child_count": 3,
      "concept": "thot-67",
      "depth": 2,
      "has_children": true,
      "is_node_label": false,
      "label": "Demotic",
      "label_language": "en",
      "match": "exact",
      "parent_concept": "thot-111",
      "parent_label": "< Ancient Egyptian scripts >",
      "path": "Scripts > < Ancient Egyptian scripts > > Demotic",
      "url": "https://thot.philo.ulg.ac.be/concept/thot-67"
    }
  ],
  "query": "demotic",
  "returned_count": 1,
  "searched_count": 60,
  "thesaurus": "scripts",
  "truncated": true,
  "untranslated_count": 0
}

On this page