I want to have instances of classes in my RDFS file, but I don't know how to do it.
My class:
<rdfs:Class rdf:ID="Turns">
<rdfs:range rdf:resource="Literal"/>
</rdfs:Class>
My property:
<rdf:Property rdf:ID="has_Turns">
<rdfs:domain rdf:resource="#Device"/>
<rdfs:range rdf:resource="#Turns_Frequency"/>
</rdf:Property>
I want to get an instance of class "Turns" with a "has_Turns" property. I tried something like this:
<Turns_Instance rdf:ID="Turns">…</Turns_Instance>
… but it takes that the main class is "Turns_Instance", the other way round it doesn't work. What's more I don't know where to put the property. All instances should be in RDFS file.