How to describe a rdfs:range with multiple values

51 views Asked by At

I have a class stk:vzg. Now i want to specify a property stk:hasLa, that has stk:vzg as the domain. I know i can do that as follows:

@prefix ...

stk:vzg rdf:type rdfs:Class .
stk:hasLa rdf:type rdf:Property ;
          rdfs:domain stk:vzg .

I also want to specify the rdfs:range, but that range consists of a blank node with multiple values. Something like this:

stk:hasLa rdf:type rdf:Property ;
          rdfs:domain stk:vzg ;
          rdfs:range [
                stk:begin xsd:string ;
                stk:end xsd:string ;
                stk:laElement stk:la
          ] .

Is this correct or how would I specify this correctly?

Tried the shown example but not sure if it is correct.

0

There are 0 answers