aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lv2/patch/patch.ttl4
-rw-r--r--wscript3
2 files changed, 4 insertions, 3 deletions
diff --git a/lv2/patch/patch.ttl b/lv2/patch/patch.ttl
index 7804009..0fb2012 100644
--- a/lv2/patch/patch.ttl
+++ b/lv2/patch/patch.ttl
@@ -230,11 +230,9 @@ patch:subject
rdfs:comment "The subject this message applies to." .
patch:value
- a rdf:Property ,
- owl:DatatypeProperty ;
+ a rdf:Property ;
rdfs:label "value" ;
rdfs:domain patch:Set ;
- rdfs:range rdf:Property ;
rdfs:comment "The value of a property in a patch:Set message." .
patch:wildcard
diff --git a/wscript b/wscript
index 6ecb0d9..37a24e8 100644
--- a/wscript
+++ b/wscript
@@ -686,6 +686,9 @@ def test_vocabularies(check, specs, files):
# Check that all properties are either datatype or object properties
for r in sorted(model.triples([None, rdf.type, rdf.Property])):
subject = r[0]
+ if str(subject) == 'http://lv2plug.in/ns/ext/patch#value':
+ continue # patch:value is just a "promiscuous" rdf:Property
+
types = list(model.objects(subject, rdf.type))
check(lambda: ((owl.DatatypeProperty in types) or