Backup #15

ID15
Dateipfad/var/www/dev.campus.systemische-tools.de/src/View/semantic-explorer/ontologie.php
Version1
Typ modified
Größe2.3 KB
Hashefa826bacb02b5e83772ddc3e76c4746453ea1bd7128db15378da7b9fa9efb31
Datum2025-12-20 16:43:33
Geändert vonclaude-code-hook
GrundClaude Code Pre-Hook Backup vor Write-Operation
Datei existiert Ja

Dateiinhalt

<?php ob_start(); ?>

<nav class="breadcrumb">
    <a href="/">Home</a> &raquo; <a href="/explorer">Explorer</a> &raquo; <a href="/semantic-explorer">Semantic Explorer</a> &raquo; Ontologie
</nav>

<h1>Ontologie</h1>
<p>Konzept-Klassen und deren Eigenschaften.</p>

<div class="stats-grid">
    <div class="stat-card stat-card--primary">
        <span class="stat-card__value"><?= $stats['total_classes'] ?? 0 ?></span>
        <span class="stat-card__label">Klassen</span>
    </div>
    <div class="stat-card">
        <span class="stat-card__value"><?= $stats['root_classes'] ?? 0 ?></span>
        <span class="stat-card__label">Hauptklassen</span>
    </div>
    <div class="stat-card stat-card--success">
        <span class="stat-card__value"><?= $stats['classified_entities'] ?? 0 ?></span>
        <span class="stat-card__label">Klassifizierte Entitaeten</span>
    </div>
</div>

<?php if (!empty($classes)): ?>
<h2>Klassen</h2>
<table data-sortable>
    <thead>
        <tr>
            <th data-sort="name">Klasse</th>
            <th data-sort="description">Beschreibung</th>
            <th data-sort="entity_count">Entitaeten</th>
            <th data-sort="subclass_count">Unterklassen</th>
            <th>Eigenschaften</th>
        </tr>
    </thead>
    <tbody>
        <?php foreach ($classes as $c): ?>
        <tr>
            <td><strong><?= htmlspecialchars($c['name']) ?></strong></td>
            <td><?= htmlspecialchars(substr($c['description'] ?? '', 0, 80)) ?></td>
            <td><?= $c['entity_count'] ?></td>
            <td><?= $c['subclass_count'] ?></td>
            <td>
                <?php if (!empty($c['properties_decoded'])): ?>
                <code><?= htmlspecialchars(implode(', ', array_keys($c['properties_decoded']))) ?></code>
                <?php else: ?>
                -
                <?php endif; ?>
            </td>
        </tr>
        <?php endforeach; ?>
    </tbody>
</table>
<?php else: ?>
<p>Keine Ontologie-Klassen gefunden. Fuehren Sie die semantische Analyse aus.</p>
<?php endif; ?>

<p class="links-bar">
    <a href="/semantic-explorer">Zurueck zum Explorer</a> |
    <a href="/semantic-explorer/taxonomie">Taxonomie</a> |
    <a href="/semantic-explorer/entitaeten">Entitaeten</a>
</p>

<?php $content = ob_get_clean(); ?>
<?php require VIEW_PATH . '/layout.php'; ?>

Vollständig herunterladen

Aktionen

Herunterladen

Andere Versionen dieser Datei

ID Version Typ Größe Datum
1930 10 modified 5.1 KB 2025-12-28 01:22
1639 9 modified 5.1 KB 2025-12-27 09:45
1638 8 modified 5.1 KB 2025-12-27 09:45
1634 7 modified 5.1 KB 2025-12-27 09:45
1633 6 modified 5.1 KB 2025-12-27 09:45
1623 5 modified 5.2 KB 2025-12-27 09:44
1531 4 modified 5.2 KB 2025-12-26 07:16
1530 3 modified 5.7 KB 2025-12-26 07:15
1529 2 modified 3.0 KB 2025-12-26 07:02
15 1 modified 2.3 KB 2025-12-20 16:43

← Zurück zur Übersicht