RDF does not specify ordering, and you're reading RDF/OWL.

On Mon, Jan 4, 2016 at 8:46 AM, Marko Asplund <marko.aspl...@gmail.com> wrote:
> Hi,
>
> I'm using Jena RDF API (v2.13.0) for reading OWL documents and I read class
> axiom labels using OntClass.listLabels.
> The labels aren't returned in the same order as they appear in the document
> (for a particular language).
>
> Does OWL specify an ordering for labels?
> Does Jena provide a mechanism for reading labels in the order in which they
> appear in an OWL document?
>
> My class axioms are of the following form:
>
> <owl:Class rdf:about="123">
>   <rdfs:subClassOf rdf:resource="1"/>
>   <rdfs:label xml:lang="en">label1</rdfs:label>
>   <rdfs:label xml:lang="en">label2</rdfs:label>
>   <!-- ... -->
> </owl:Class>
>
> marko

Reply via email to