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.

77 lines
2.3KB

  1. From fe222f853820810bc1203aa8507600c1d6e44a68 Mon Sep 17 00:00:00 2001
  2. From: David Robillard <d@drobilla.net>
  3. Date: Fri, 12 Mar 2021 22:42:58 -0500
  4. Subject: [PATCH] Simplify dcs.ttl
  5. I am not sure if anonymous classes like this are "officially" invalid for OWL,
  6. but they cause problems with some tools. So, just replace them with the class
  7. we actually use. With this, tools have no problem loading dcs.ttl as an OWL
  8. Full ontology.
  9. ---
  10. schemas.lv2/dcs.ttl | 20 ++++++--------------
  11. 1 file changed, 6 insertions(+), 14 deletions(-)
  12. diff --git a/schemas.lv2/dcs.ttl b/schemas.lv2/dcs.ttl
  13. index 44bf294e..b961190e 100644
  14. --- a/schemas.lv2/dcs.ttl
  15. +++ b/schemas.lv2/dcs.ttl
  16. @@ -50,14 +50,14 @@ dcs:ToDoList
  17. rdfs:isDefinedBy dcs: ;
  18. rdfs:label "To-Do List"@en ;
  19. rdfs:comment "A collection of planned changes."@en ;
  20. - rdfs:subClassOf _:FutureChangeSet .
  21. + rdfs:subClassOf dcs:ChangeSet .
  22. dcs:WishList
  23. a owl:Class ;
  24. rdfs:isDefinedBy dcs: ;
  25. rdfs:label "Wish List"@en ;
  26. rdfs:comment "A collection of desired changes."@en ;
  27. - rdfs:subClassOf _:FutureChangeSet .
  28. + rdfs:subClassOf dcs:ChangeSet .
  29. dcs:Change
  30. a owl:Class ;
  31. @@ -140,20 +140,12 @@ dcs:BackCompat
  32. rdfs:comment "A change that breaks backwards compatibility, changing documented or tested behaviour."@en ;
  33. rdfs:subClassOf dcs:Change.
  34. -_:FutureChangeSet
  35. - a owl:Class ;
  36. - rdfs:subClassOf rdf:Bag , dcs:ChangeSet .
  37. -
  38. -_:VersionOrEvent
  39. - a owl:Class ;
  40. - owl:unionOf (doap:Version event:Event) .
  41. -
  42. dcs:changeset
  43. a owl:ObjectProperty ;
  44. rdfs:isDefinedBy dcs: ;
  45. rdfs:label "change set"@en ;
  46. rdfs:comment "A change set may be associated with a particular software version in which those changes were released; or with an event which caused those changes."@en ;
  47. - rdfs:domain _:VersionOrEvent ;
  48. + rdfs:domain doap:Version ;
  49. rdfs:range dcs:ChangeSet .
  50. dcs:versus
  51. @@ -162,7 +154,7 @@ dcs:versus
  52. rdfs:label "versus"@en ;
  53. rdfs:comment "The previous version or event which a changeset has changed from."@en ;
  54. rdfs:domain dcs:ChangeSet ;
  55. - rdfs:range _:VersionOrEvent .
  56. + rdfs:range doap:Version .
  57. dcs:item
  58. a owl:ObjectProperty ;
  59. @@ -233,8 +225,8 @@ dcs:milestone
  60. a owl:ObjectProperty ;
  61. rdfs:isDefinedBy dcs: ;
  62. rdfs:label "milestone"@en ;
  63. - rdfs:domain _:FutureChangeSet ;
  64. - rdfs:range _:VersionOrEvent .
  65. + rdfs:domain dcs:ChangeSet ;
  66. + rdfs:range doap:Version .
  67. dcs:tasks
  68. a owl:ObjectProperty ;