| 1 | = Data model for PIPDI = |
| 2 | |
| 3 | The PIPDI data model is mostly identical with the [[IsmiDataModel ISMI data model]]. |
| 4 | |
| 5 | It has a more elaborate subject hierarchy. |
| 6 | |
| 7 | Conceptual objects in the database: |
| 8 | |
| 9 | * (abstract-) '''TEXT''' |
| 10 | * '''ALIAS''' (title for text or name for person or place) |
| 11 | * '''WITNESS''' (aka manuscript) |
| 12 | * '''CODEX''' (of one or more witnesses) |
| 13 | * '''COLLECTION''' |
| 14 | * '''REPOSITORY''' (aka library) |
| 15 | * '''PERSON''' |
| 16 | * '''PLACE''' |
| 17 | * '''SUBJECT''' |
| 18 | |
| 19 | We need: |
| 20 | * linking chapters from the table of contents of the TEXT to folio pages of the WITNESS |
| 21 | * chapters/sections at the TEXT level are tagged with subject keywords |
| 22 | * sections at the WITNESS level have folio and line number information |
| 23 | |
| 24 | |
| 25 | == Objects == |
| 26 | |
| 27 | === SECTION === |
| 28 | |
| 29 | Attributes: |
| 30 | * '''title''' name or title of section (arabic) |
| 31 | * '''title_translit''' |
| 32 | * '''ord_no''' ordinal number for ordering same-level sections (used internally) |
| 33 | |
| 34 | Relations: |
| 35 | * SECTION is_part_of SECTION |
| 36 | * SECTION is_found_in WITNESS |
| 37 | * begins_on_folio |
| 38 | * begins_on_line |
| 39 | * ends_on_folio |
| 40 | * ends_on_line |
| 41 | |
| 42 | |
| 43 | === SUBJECT === |
| 44 | |
| 45 | subjects are subject matters that are treated in a text. |
| 46 | |
| 47 | Attributes: |
| 48 | * '''name''' subject name or description (English?) |
| 49 | * '''name_arabic''' |
| 50 | * '''notes''' |
| 51 | |
| 52 | Relations: |
| 53 | * SUBJECT is_part_of SUBJECT |
| 54 | * TEXT has_subject SUBJECT |
| 55 | |
| 56 | Examples: |
| 57 | * ASTROLOGY |
| 58 | * ASTRONOMY |
| 59 | * hay’a (4-part division) |
| 60 | * hay’a (general astronomy) |
| 61 | * mīqāt |
| 62 | * qibla determination |
| 63 | * taqwīm |
| 64 | * ASTRONOMICAL INSTRUMENTS |
| 65 | * astrolabes |
| 66 | * celestial globes/armillary spheres |
| 67 | * equatoria |
| 68 | * observational |
| 69 | * quadrants |
| 70 | * sundials |
| 71 | * ASTRONOMICAL TABLES (ZĪJES) |
| 72 | * CHRONOLOGY |
| 73 | * COSMOLOGY-philosophical |
| 74 | * COSMOLOGY-religious |
| 75 | * GEOGRAPHY-mathematical |
| 76 | * GEOGRAPHY-terrestrial phenomena (hay’at al-arḍ) |
| 77 | * MATHEMATICS |
| 78 | * algebra |
| 79 | * arithmetic |
| 80 | * arithmetic tables |
| 81 | * basic arithmetic |
| 82 | * number theory |
| 83 | * geometry |
| 84 | * conic sections |
| 85 | * Euclidean constructions |
| 86 | * general geometry |
| 87 | * mensuration |
| 88 | * inheritance (farā’iḍ) |
| 89 | * magic squares |
| 90 | * spherics |
| 91 | * trigonometry |
| 92 | * OPTICS |
| 93 | * TECHNOLOGY |
| 94 | * mechanical devices |
| 95 | * military |
| 96 | * navigation |
| 97 | * PHILOSOPHY |
| 98 | * metaphysics/ilâhiyyât |
| 99 | * natural philosophy/tabî‘iyyât |
| 100 | * epistemology/tasawwur and tasdîq |
| 101 | * philosophy of mind/‘ilm al-nafs |
| 102 | * ethics/akhlâq |
| 103 | * politics/siyâsa |
| 104 | * logic/mantiq |
| 105 | * dialectic/âdâb al-bahth, ‘ilm al-munâzara |
| 106 | * philosophy of language/‘ilm al-wad‘, ‘ilm al-balâgha, usûl al-fiqh |
| 107 | * multiple subjects |
| 108 | * other |
| 109 | |