From b4ac2de745fec00bd7f45be9fca386c13775685e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 13 Nov 2015 10:23:36 -0500 Subject: Add example to patch:Put documentation --- lv2/lv2plug.in/ns/ext/patch/patch.ttl | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'lv2/lv2plug.in/ns/ext') diff --git a/lv2/lv2plug.in/ns/ext/patch/patch.ttl b/lv2/lv2plug.in/ns/ext/patch/patch.ttl index 0e4c47d..1d22aef 100644 --- a/lv2/lv2plug.in/ns/ext/patch/patch.ttl +++ b/lv2/lv2plug.in/ns/ext/patch/patch.ttl @@ -205,7 +205,18 @@ patch:Put owl:cardinality 1 ; owl:onProperty patch:subject ] ; - rdfs:comment """Put the patch:body as the patch:subject. If the subject does not already exist, it is created. If the subject does already exist, the patch:body is considered an updated version of it, and the previous version is replaced.""" . + lv2:documentation """

Put the patch:body as the patch:subject. If the subject does not already exist, it is created. If the subject does already exist, the patch:body is considered an updated version of it, and the previous version is replaced.

+ +
+[]
+    a patch:Put ;
+    patch:subject <something> ;
+    patch:body [
+        eg:name "New name" ;
+        eg:age 42 ;
+    ] .
+
+""" . patch:Request a rdfs:Class ; -- cgit v1.2.1