diff options
author | David Robillard <d@drobilla.net> | 2021-03-13 14:12:48 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-15 14:39:47 -0400 |
commit | 6cefc7df1a6158c79d23029df183c09b10b88cad (patch) | |
tree | 0d73c66aa6af24b82f96043d91487248477c2947 /lv2/presets | |
parent | 0fb0839d8d3607e7055d4f370880e1438bf9ca23 (diff) | |
download | lv2-6cefc7df1a6158c79d23029df183c09b10b88cad.tar.xz |
Simplify rdfs:label restrictions
Using someValuesFrom here is redundant and overly complex, since the property
range specifies that it is for literals anyway. So, simply replace it with a
minCardinality of 1.
Diffstat (limited to 'lv2/presets')
-rw-r--r-- | lv2/presets/presets.ttl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lv2/presets/presets.ttl b/lv2/presets/presets.ttl index 156f081..60189ea 100644 --- a/lv2/presets/presets.ttl +++ b/lv2/presets/presets.ttl @@ -18,7 +18,7 @@ pset:Bank rdfs:subClassOf [ a owl:Restriction ; owl:onProperty rdfs:label ; - owl:someValuesFrom xsd:string ; + owl:minCardinality 1 ; rdfs:comment "A Bank MUST have at least one string rdfs:label." ] ; rdfs:comment "A bank of presets." . @@ -31,7 +31,7 @@ pset:Preset rdfs:subClassOf [ a owl:Restriction ; owl:onProperty rdfs:label ; - owl:someValuesFrom xsd:string ; + owl:minCardinality 1 ; rdfs:comment "A Preset MUST have at least one string rdfs:label." ] . |