External, Non-PPA KXStudio Repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.1KB

  1. From 6cefc7df1a6158c79d23029df183c09b10b88cad Mon Sep 17 00:00:00 2001
  2. From: David Robillard <d@drobilla.net>
  3. Date: Sat, 13 Mar 2021 14:12:48 -0500
  4. Subject: [PATCH] Simplify rdfs:label restrictions
  5. Using someValuesFrom here is redundant and overly complex, since the property
  6. range specifies that it is for literals anyway. So, simply replace it with a
  7. minCardinality of 1.
  8. ---
  9. lv2/presets/presets.ttl | 4 ++--
  10. 1 file changed, 2 insertions(+), 2 deletions(-)
  11. diff --git a/lv2/presets/presets.ttl b/lv2/presets/presets.ttl
  12. index 156f0813..60189ead 100644
  13. --- a/lv2/presets/presets.ttl
  14. +++ b/lv2/presets/presets.ttl
  15. @@ -18,7 +18,7 @@ pset:Bank
  16. rdfs:subClassOf [
  17. a owl:Restriction ;
  18. owl:onProperty rdfs:label ;
  19. - owl:someValuesFrom xsd:string ;
  20. + owl:minCardinality 1 ;
  21. rdfs:comment "A Bank MUST have at least one string rdfs:label."
  22. ] ;
  23. rdfs:comment "A bank of presets." .
  24. @@ -31,7 +31,7 @@ pset:Preset
  25. rdfs:subClassOf [
  26. a owl:Restriction ;
  27. owl:onProperty rdfs:label ;
  28. - owl:someValuesFrom xsd:string ;
  29. + owl:minCardinality 1 ;
  30. rdfs:comment "A Preset MUST have at least one string rdfs:label."
  31. ] .