aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-06-12 18:41:19 +0000
committerDavid Robillard <d@drobilla.net>2012-06-12 18:41:19 +0000
commitf0ee373a9a522c4c0e7d44b138181ca3bbab8755 (patch)
treee289a294763451204cb72bab42297cc5fc50c11a
parent4ee8346ad462350ff1f21c77b0d37ec4519f6042 (diff)
downloadlv2-f0ee373a9a522c4c0e7d44b138181ca3bbab8755.tar.xz
Add explanation of namespace prefixes.
-rw-r--r--plugins/eg-amp.lv2/amp.ttl2
-rw-r--r--plugins/eg-amp.lv2/manifest.ttl.in5
2 files changed, 7 insertions, 0 deletions
diff --git a/plugins/eg-amp.lv2/amp.ttl b/plugins/eg-amp.lv2/amp.ttl
index 98b6269..aa2d50d 100644
--- a/plugins/eg-amp.lv2/amp.ttl
+++ b/plugins/eg-amp.lv2/amp.ttl
@@ -14,6 +14,8 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+# See manifest.ttl for a description of this syntax
+
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
diff --git a/plugins/eg-amp.lv2/manifest.ttl.in b/plugins/eg-amp.lv2/manifest.ttl.in
index 48f9cb9..9d02b02 100644
--- a/plugins/eg-amp.lv2/manifest.ttl.in
+++ b/plugins/eg-amp.lv2/manifest.ttl.in
@@ -15,6 +15,11 @@
# triples. Turtle is a simple, terse, abbreviated syntax for RDF.
# Namespace Prefixes
+#
+# Turtle files often contain many URIs. To make this more readable, prefixes
+# can be defined. For example, with the lv2 prefix below, instead of
+# <http://lv2plug.in/ns/lv2core#Plugin> the shorter form lv2:Plugin can be
+# used. This is just a shorthand for URIs, the prefixes are not significant.
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .