Skip to content
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

Turtle: improve ordering of ontology terms #40

Open
VladimirAlexiev opened this issue Sep 13, 2024 · 3 comments
Open

Turtle: improve ordering of ontology terms #40

VladimirAlexiev opened this issue Sep 13, 2024 · 3 comments
Labels
ontology Pertains to ontology representation, reasoning turtle Pertains to turtle serialization

Comments

@VladimirAlexiev
Copy link
Collaborator

atextor/turtle-formatter#22

Currently rdfs:Class comes before owl:Ontology

  • use a query to find all types of things in the ontologies
  • use --subjectOrder to sort them in the best possible way
@VladimirAlexiev
Copy link
Collaborator Author

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

@VladimirAlexiev VladimirAlexiev added ontology Pertains to ontology representation, reasoning turtle Pertains to turtle serialization labels Sep 13, 2024
@griddigit-ci
Copy link
Collaborator

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

@VladimirAlexiev
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ontology Pertains to ontology representation, reasoning turtle Pertains to turtle serialization
Projects
None yet
Development

No branches or pull requests

2 participants