Skip to content

feat(edint-censo-locales): add 5 candidate models for the commercial census - #19

Open
albertoabellagarcia wants to merge 2 commits into
masterfrom
edint-censo-locales-candidates
Open

feat(edint-censo-locales): add 5 candidate models for the commercial census#19
albertoabellagarcia wants to merge 2 commits into
masterfrom
edint-censo-locales-candidates

Conversation

@albertoabellagarcia

Copy link
Copy Markdown
Contributor

Summary

Translates the EDINT Commercial Premises Census Ontology (v0.1.0) from
https://github.com/EDINT-Ontologia/edint-ontologia-censo-locales
commercial spaces, the entities operating in them, their permits,
terraces, and commercial aggregations (shopping centers, markets).

Five entities: CommercialAggregation, CommercialSpace, CommercialEntity,
Permit, Terrace.

Documented, not silently resolved

  • The source redeclares Facility/InfrastructureElement/UrbanElement
    under its own namespace (byte-identical comments to
    edint-infraestructura's real classes) — treated as a copy-paste
    artifact, not materialized; subclass relationships target
    edint-infraestructura's real Facility instead, confirmed by the
    source's own example data using properties that only exist there.
  • A new kind of type collision: this ontology's Permit (commercial
    activity licenses) and edint-censo-vehiculos's Permit (vehicle
    permits) are genuinely unrelated concepts that happen to share a class
    name — unlike prior collisions (thin stub vs. fuller real definition of
    the same concept).
  • Two naming mismatches between the ontology's formal declarations and its
    own real example data (numberOfPermitedTables/Chairs vs. Spanish
    equivalents used in the example; TerracePeriod enum values).
  • hasAccessType is used in real example data despite having no formal
    property declaration in ontology.ttl — included per real usage.

Testing

All 5 models' schema/context/example files parse and validate;
example.json validates against schema.json; standard-metadata.yaml parses;
index regenerated. All 5 examples grounded in a real Madrid market scenario
from the source's own examples/ directory.

albertoabellagarcia and others added 2 commits September 6, 2026 18:41
…census

Translates the EDINT Commercial Premises Census Ontology (v0.1.0):
commercial spaces, the entities operating in them, their permits,
terraces, and commercial aggregations (shopping centers, markets).

Five entities: CommercialAggregation, CommercialSpace,
CommercialEntity, Permit, Terrace.

Documented in standard-metadata.yaml rather than silently resolved:
the source ontology redeclares Facility/InfrastructureElement/
UrbanElement under its own namespace instead of reusing
edint-infraestructura's real classes (treated as a copy-paste
artifact, not materialized); a new kind of type collision where this
ontology's "Permit" (commercial licenses) and edint-censo-vehiculos's
"Permit" (vehicle permits) are genuinely unrelated concepts sharing
the same class name; and two naming mismatches between the ontology's
formal property declarations and its own real example data
(numberOfPermitedTables/Chairs vs. Spanish equivalents, TerracePeriod
enum values).

Real example data used throughout, grounded in a real Madrid market
scenario in the source's own examples/ directory.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant