Prompt Details
Model
(claude-5-sonnet)
Token size
1,778
Example input
[DOMAIN_EVIDENCE]: customers table with customer_id primary key and email; orders table with order_id primary key, customer_id foreign key to customers, order_date, total.
[FOUNDATIONAL_VOCABULARY]: schema.org Person, schema.org Order.
[COMPETENCY_QUESTIONS]: which customer placed an order; what was the order total and date.
[MODE_AND_LIMITS]: lite; JSON; no invented cardinality.
Example output
**1. Scope and Evidence Boundary**
Included: two tables, one FK relation, two schema.org vocabulary terms, two competency questions. Excluded: no other tables, no attribute constraints (nullable/unique) stated beyond primary/foreign keys. Ambiguous: whether `total` is currency-typed or plain numeric — not stated in evidence.
**2. Generator Proposal**
Classes:
| ID | Label | Definition | Provenance | Mapping State | Source | Competency Contribution |
|---|---|---|---|---|---|---|
| C1 | Customer | Entity identified by customer_id, holding an email | REUSED (schema.org Person) | MAPPED | customers table | Q1 |
| C2 | Order | Entity identified by order_id, placed by a Customer | REUSED (schema.org Order) | MAPPED | orders table | Q1, Q2 |
Properties/Relations:
| ID | Type | Domain | Range | Constraint | Provenance | Mapping State | Source |
|---|---|---|---|---|---|---|---|
| P1 | datatype | Customer | email (string) | none stated | GROUNDED | MAPPED | customers.email |
| P2 | datatype | Order | order_date (date) | none stated | GROUNDED | MAPPED | orders.order_date |
| P3 | datatype | Order | total (numeric) | type unclear — currency vs plain number | GROUNDED | MAPPED | orders.total |
| P4 | object | Order | Customer | FK; cardinality not stated beyond FK existence | GROUNDED | MAPPED | orders.customer_id → customers.customer_id |
**3. Judge Findings**
| Element ID | Provenance | Judge Decision | Finding | Required Revision | Evidence |
|---|---|---|---|---|---|
| C1 | REUSED | ACCEPT | schema.org Person is a valid reuse target; no scope mismatch | — | customers table |
| C2 | REUSED | ACCEPT | schema.org Order aligns on entity type and role | — | orders table |
| P1–P2 | GROUNDED | ACCEPT | direct column support | — | schema |
| P3 | GROUNDED | REVISE | datatype range asserted as generic "numeric" without currency typing | Confirm with steward whether `total` needs xsd:decimal + currency unit, or plain xsd:decimal | orders.total has no type annotation in evidence |
| P4 | GROUNDED | ACCEPT | FK is direct structural evidence for an object property; no cardinality invented | — | FK constraint |
**4. Competency Question Coverage**
| Question | Status | Required Semantic Path | Missing Element |
|---|---|---|---|
| Which customer placed an order? | REPRESENTABLE | Order → P4 → Customer | None |
| What was the order total and date? | REPRESENTABLE | Order → P2, P3 | None (P3 flagged for revision, not blocking) |
**5. Proposed Version Record**
Namespace: UNKNOWN (not supplied). Draft version: draft-1. Source set: customers, orders.
**6. Steward Queue**
| Decision | Why Human Ownership Is Required | Required Owner | Evidence Needed |
|---|---|---|---|
| P3 typing (currency vs plain numeric) | Affects downstream query correctness (e.g. currency conversion logic) | Domain steward / DBA | Column type definition from source schema |
**7. Machine-Readable Proposal**
```json
{"classes":[{"id":"C1","label":"Customer","provenance":"REUSED","judge_decision":"ACCEPT","status":"active"},{"id":"C2","label":"Order","provenance":"REUSED","judge_decision":"ACCEPT","status":"active"}],"relations":[{"id":"P4","domain":"Order","range":"Customer","provenance":"GROUNDED","judge_decision":"ACCEPT","status":"active"}]}
```
**8. Input Integrity Notes:** NONE.
**9. Final Recommendation:** `READY_FOR_STEWARD_REVIEW`
Reason: both competency questions are fully representable from grounded, evidence-backed elements; the only open item (P3 currency typing) is a REVISE, not a blocker, and is routed to the Steward Queue rather than silently assumed.
By purchasing this prompt, you agree to our terms of service
CLAUDE-5-SONNET
Turn schemas, glossaries, taxonomies, and document samples into a reviewable ontology proposal without letting the proposal validate itself. A Generator pass extracts candidate classes, properties, mappings, and constraints. A structurally separate Judge pass tests every material element for source support, collisions, mapping gaps, invalid domain or range, unsupported cardinality, and competency-question coverage.
Every element retains both labels: its **generation provenance** and its **revie
...more
Added 1 week ago
