June M
June M

Reputation: 1

RDFS subClassOf: Can a class be a subclass of itself?

I want to create an ontology where a concept can be a subclass of another concept. For example: a concept called "Planting" with sub-concepts "Propagation" and "Germination". So I defined a class named "Concept" using WebVOWL, but when I tried to create a returning relationship with an rdfs:subClassOf property, it gives me an error that a loop is not possible (domain == range). Is this definition possible? and if it's not, how can I define a relationship to the same class? knowing that they're all of the class "Concept". I want to do this because some concepts don't have sub-concepts, and others do, so I want to differentiate the concepts with sub-concepts from the others.

This is how the Concept class is defined in the .ttl file:

:Concept rdf:type owl:Class; rdfs:label "Concept"@en .

Thank you for help.

Upvotes: 0

Views: 85

Answers (0)

Related Questions