Sveino / Inst4CIM-KG

Instance of CIM Knowledge Graph
Apache License 2.0
5 stars 1 forks source link

Turtle: improve ordering of ontology terms #40

Open VladimirAlexiev opened 2 months ago

VladimirAlexiev commented 2 months ago

https://github.com/atextor/turtle-formatter/issues/22

Currently rdfs:Class comes before owl:Ontology

VladimirAlexiev commented 2 months ago

added to Makefile

  --subjectOrder owl:Ontology       \
  --subjectOrder rdfs:Class     \
  --subjectOrder owl:Class      \
  --subjectOrder rdf:Property       \
  --subjectOrder owl:ObjectProperty \
  --subjectOrder owl:DatatypeProperty   \
  --subjectOrder owl:AnnotationProperty \
  --subjectOrder owl:NamedIndividual    \
  --subjectOrder owl:AllDifferent   \
  --subjectOrder owl:Axiom

Still need to find all types

griddigit-ci commented 2 months ago

Yes, we did this for RDFS, we should do for ttl too Eventually this should be an item in the RDFS spec

VladimirAlexiev commented 2 months ago

This is still blocked by