feat(edint-censo-locales): add 5 candidate models for the commercial census - #19
Open
albertoabellagarcia wants to merge 2 commits into
Open
feat(edint-censo-locales): add 5 candidate models for the commercial census#19albertoabellagarcia wants to merge 2 commits into
albertoabellagarcia wants to merge 2 commits into
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Facility/InfrastructureElement/UrbanElementunder 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
Facilityinstead, confirmed by thesource's own example data using properties that only exist there.
Permit(commercialactivity licenses) and edint-censo-vehiculos's
Permit(vehiclepermits) are genuinely unrelated concepts that happen to share a class
name — unlike prior collisions (thin stub vs. fuller real definition of
the same concept).
own real example data (
numberOfPermitedTables/Chairsvs. Spanishequivalents used in the example;
TerracePeriodenum values).hasAccessTypeis used in real example data despite having no formalproperty 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.