feat(edint-censo-vehiculos): add Vehicle and Permit candidate models - #7
Open
albertoabellagarcia wants to merge 1 commit into
Open
feat(edint-censo-vehiculos): add Vehicle and Permit candidate models#7albertoabellagarcia wants to merge 1 commit into
albertoabellagarcia wants to merge 1 commit into
Conversation
Translates the EDINT Vehicle Census/Registry Ontology (v0.1.0), used by local entities for vehicle tax collection and mobility management (parking permits, zone access permits). Two entities: Vehicle (license plate, owner, vehicle/propulsion type, environmental badge) and Permit (authorised vehicle, street section, owner, periodicity, status, type, date range) -- the only two classes in the source ontology with properties of their own. The source's "Owner" (Person|Organization union) is kept as an opaque Relationship rather than materialized as its own entity. This closely relates to edint-infraestructura: its Violation.vehicle relationship already referenced a "Vehicle" class documented as "not defined by the source ontology" -- this is that class's real, authoritative source. Full rationale and two more cross-ontology mismatches found (a stale external Tramo reference superseded by edint-infraestructura's own StreetSection, and a harmless duplicate KOS concept declaration) are documented in standard-metadata.yaml. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This was referenced Sep 6, 2026
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 Vehicle Census/Registry Ontology (v0.1.0) from
https://github.com/EDINT-Ontologia/edint-ontologia-censo-vehiculos — used by
local entities for vehicle tax collection (IVTM in Spain) and mobility
management (parking permits, zone access permits). Closely related to
edint-infraestructura: itsViolation.vehiclerelationship alreadyreferenced a
Vehicleclass documented as "referenced but not defined bythe source ontology" — this ontology is that class's real, authoritative
source.
Two entities
Vehicle: license plate, registered owner, vehicle type, propulsiontype, environmental badge (Spain's DGT distintivo ambiental).
Permit: authorised vehicle, authorised street section, permit owner,periodicity, status, type, and a date range (activation/beginning/ending).
These are the only two classes in the source ontology with properties of
their own. 6 small controlled vocabularies (2–11 concepts each) are kept as
JSON Schema enums rather than Relationships-to-KOS-URI, since none are
anywhere near the 234-concept scale that made
infrastructureTypeinedint-infraestructuraneed the Relationship treatment instead.The source's
Ownerclass (a union ofPerson/Organization) is kept asan opaque Relationship rather than materialized as its own entity — no
generic
Personentity is modeled (out of scope, and privacy-sensitive), anda Relationship value may point at this candidate family's existing
Organizationentity when the owner is one.Two more cross-ontology inconsistencies found, not silently resolved
Permit.authorisesInSegmentpoints atVehicle's real, authoritativeTramoclass in a different, fully external ontology(
ciudadesabiertas.es) — the same external referenceedint-infraestructuraalready superseded internally with its ownStreetSectionentity in its v0.2.1 update. This candidate points at thatreal, current
StreetSectionentity instead of the stale externalreference; this vehicle-census ontology just hasn't caught up yet.
VehiclePropulsionTypeSKOS file declares itsDieselconcept twice(byte-identical, harmless) — flagged for EDINT's awareness, not something
that needed working around.
Full detail on both, plus why real instance data wasn't usable this time
(the source's real example files are 20–55MB, and the one sampled turned out
to be bare owner-ID stubs keyed by what look like real, partially-visible
Spanish national ID numbers — deliberately not touched), is in
standard-metadata.yaml.License note
Unlike its siblings (all CC-BY-SA-4.0), this source ontology is CC-BY-4.0 —
same as Smart Data Models' own convention. No license discrepancy to flag
for this one.
Testing
schema.json/context.jsonld/example files parse as JSON.example.jsonfiles validate against their ownschema.json.standard-metadata.yamlparses as YAML.Note: this branch is based on current
master, which does not yet includethe still-open #6 (
edint-zona-regulatoria) — no dependency between the two.