Skip to content

Meaning of nameOfClass #1033

Description

It seems that NeTEx uses nameOfClass to carry explicit class metadata in XML instances. This way of supporting model-driven design and enabling loosely coupled, schema-independent processing across distributed systems. It more or less mimics RDF's ability for having data describe itself.

So in XML, we can see something like this:

<StopPlace id="SP1" nameOfClass="StopPlace"/>

With our xsd2rdf convertet, the XSD would be converted into SHACL/OWL/SKOS where the implemented data would look like this:

:SP1 a netex:StopPlace;
	netex:nameOfClass netex-skos:StopPlace .

This is obviously redundant. And probably it's also already redundant in the XSD source. Or maybe it happens to have something like this:

<Entity id="SP1" nameOfClass="StopPlace"/>

In which case the RDF would be:

:SP1 a netex:Entity;
	netex:nameOfClass netex-skos:StopPlace .

Question: Why is it needed in the latest version of NeTEx v2.0?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions