Quran Knowledge Engine - Sprint 2
=================================

Purpose
-------
This upgrade adds public UUIDs, entity APIs, related-entity APIs, breadcrumbs,
and the first Knowledge Graph section in the existing user interface.

Installation order
------------------
1. Back up the Quran database and the current /Quran folder.
2. Import: sql/knowledge_api_upgrade_v2.sql
3. Upload/overwrite these folders inside public_html/Quran/:
   - api/
   - assets/
4. Keep your existing app/config/database.php. Do not overwrite it with a blank config.
5. Hard refresh the browser with Ctrl+F5.

API tests
---------
Entity mapped to Topic_ID 33:
  /Quran/api/entity.php?topic_id=33

Related entities for Topic_ID 33:
  /Quran/api/entity-related.php?topic_id=33

Breadcrumb for Topic_ID 33:
  /Quran/api/entity-breadcrumb.php?topic_id=33

Expected result
---------------
Open: Ethics and Traits > Traits of Believers > Patience > Show Ayahs.
The panel should show the ayahs plus related entities:
- Trial
- Reliance on Allah
- Prayer
- Supplication
- Gratitude

Clicking a related entity opens its Knowledge Entity view.
