Skip to content

feat(edint-trafico): add 7 candidate models for the standalone traffic ontology - #15

Open
albertoabellagarcia wants to merge 1 commit into
masterfrom
edint-trafico-candidates
Open

feat(edint-trafico): add 7 candidate models for the standalone traffic ontology#15
albertoabellagarcia wants to merge 1 commit into
masterfrom
edint-trafico-candidates

Conversation

@albertoabellagarcia

Copy link
Copy Markdown
Contributor

Summary

Translates the standalone EDINT Traffic Ontology (v0.1.1) from
https://github.com/EDINT-Ontologia/edint-ontologia-trafico — a more
current, dedicated version of a pattern already partially bundled into
edint-infraestructura's own v0.2.1 update.

Seven entities: StreetSection, PlannedIncident, UnplannedIncident,
ControlEquipment, TrafficMeasurementDevice, TrafficObservation,
TrafficObservationPoint.

Real differences from the earlier bundled copy, documented not silently reconciled

  • Naming: Incident vs Incidence, TrafficMeasurementDevice vs
    TrafficMeasuringDevice.
  • ControlEquipment is a genuinely new subclass here — the bundled copy
    handled the same use case by directly materializing bare TrafficEquipment,
    since no dedicated subclass existed at the time.
  • numDirections/urban moved from TrafficEquipment (shared) to
    ControlEquipment specifically; TrafficMeasurementDevice no longer carries
    them.
  • TrafficObservationPoint is a genuinely new class, paralleling
    edint-infraestructura's ObservationPoint but specific to traffic.

edint-infraestructura's already-merged v0.2.1 PR is not touched by this
PR — the discrepancy is documented in standard-metadata.yaml for whoever
reconciles the EDINT candidate family later.

Testing

All 7 models' schema/context/example files parse and validate;
example.json validates against schema.json; standard-metadata.yaml parses;
index regenerated. No real example data exists in the source repo;
examples are synthetic.

…c ontology

Translates the standalone EDINT Traffic Ontology (v0.1.1), a more
current, dedicated version of a pattern already partially bundled
into edint-infraestructura's v0.2.1 update.

Seven entities: StreetSection, PlannedIncident, UnplannedIncident,
ControlEquipment (new -- properly splits what the bundled copy
handled by directly materializing bare TrafficEquipment),
TrafficMeasurementDevice, TrafficObservation, TrafficObservationPoint
(new, parallels edint-infraestructura's ObservationPoint but specific
to traffic).

Documented in standard-metadata.yaml rather than silently
reconciled: real naming differences from the bundled copy
(Incident vs Incidence, TrafficMeasurementDevice vs
TrafficMeasuringDevice) and a property redistribution
(numDirections/urban moved from TrafficEquipment to ControlEquipment
specifically). edint-infraestructura's already-merged v0.2.1 PR is
not touched.

No real example data exists in the source repo; examples are
synthetic.

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