Create a relationship to self

:Category rdf:type rdf:Class .
:hasTitle rdf:type rdf:Property ;
  rdfs:range xsd:string .

For example, in addition to above, I want to express Category is a subClassOf itself 'Category', i.e. "SmartPhone" is a subClassOf Phone.

Is there a way to do that?

I’m a little confused about what you’re asking. Is SmartPhone equivalent to Phone? I’m not sure how that relates to making something a subclass of itself. I think making something a subclass of itself is valid but doesn’t get you anything and is the same as saying something is equivalent to itself. I’m not an expert on these things though so I could be wrong.

Please forget about this. I modified my model.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.