-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERA principles not followed for naming of properties #2
Comments
Indeed, these were legacy terms that were inherited from the very early versions of the vocabulary, but their change had lots of implications in many different components related to routing and the Route Compatibility Check application, as well as during the knowledge graph generation process, hence we decided to keep them at least for the initial release of all applications. This will hence be dealt with later. |
This issue likely originates from the source KG that was generated from a UML model (visible on the RSM site). Tangent to this, the KG that UIC generated from the UML may need revamping to meet recently published guidelines that appear to underpin SEMIC guidance from the EC. Notably, there's the OSLO UML Transformer. At present, I'm looking at how the EULYNX Data Prep model, a treasure trove for railway signalling concepts, should map to a KG. One issue that probably merits closer analysis is the representation of enumerations aka codelists in terms of |
@MathiasVDA, @gatemezing @, @Interoperable-data, @ocorcho
Volumetrics:
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX era: <http://data.europa.eu/949/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
select * {
values ?type {rdf:Property owl:ObjectProperty owl:DatatypeProperty}
?x a ?type
filter(strstarts(str(?x),str(era:)))
filter(regex(str(?x),"/(is|has)"))
# optional {?x rdfs:range ?range}
filter not exists {?x rdfs:range xsd:boolean}
} |
I really support the ERA principles as they are now. I think you should be able to read triples pretty much as a sentence. |
Some object properties have a name and URI that are easily confused with class names. Some examples:
The ERA principles state that:
* For properties, a verbal form (or adjective) and the initial character is lowercase
This is clearly not the case. Could the vocabulary be refactored to have consistent URI's for the properties that conform with the principles?
In general, I would also recommend to compare the era-principles with the gist style guide.
The text was updated successfully, but these errors were encountered: