aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-03-13 14:12:48 -0500
committerDavid Robillard <d@drobilla.net>2021-03-15 14:39:47 -0400
commit6cefc7df1a6158c79d23029df183c09b10b88cad (patch)
tree0d73c66aa6af24b82f96043d91487248477c2947
parent0fb0839d8d3607e7055d4f370880e1438bf9ca23 (diff)
downloadlv2-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.
-rw-r--r--lv2/presets/presets.ttl4
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."
] .