Add stub xhtml vocab ontology, to make model validation quieter.
authorDiane Trout <diane@caltech.edu>
Wed, 19 Sep 2012 23:03:07 +0000 (16:03 -0700)
committerDiane Trout <diane@caltech.edu>
Wed, 19 Sep 2012 23:03:07 +0000 (16:03 -0700)
(the stylesheets got attached as a property of the library or flowcell)

htsworkflow/util/schemas/xhtmlvocab.turtle [new file with mode: 0644]

diff --git a/htsworkflow/util/schemas/xhtmlvocab.turtle b/htsworkflow/util/schemas/xhtmlvocab.turtle
new file mode 100644 (file)
index 0000000..48442b3
--- /dev/null
@@ -0,0 +1,21 @@
+# Minimal xhtml vocab to make validating my rdfa pages cleaner
+
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix : <http://www.w3.org/1999/xhtml> .
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@prefix rdfa: <http://www.w3.org/ns/rdfa#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+
+<http://www.w3.org/1999/xhtml/vocab>
+    a owl:Ontology ;
+    <http://www.w3.org/1999/xhtml/vocab#stylesheet> <http://www.w3.org/StyleSheets/TR/base.css> .
+
+<http://www.w3.org/1999/xhtml/vocab#stylesheet>
+    a rdf:Property ;
+    rdfs:comment """stylesheet refers to a resource
+      serving as a stylesheet for a resource. """^^xsd:string ;
+    rdfs:member <http://www.w3.org/1999/xhtml/vocab#relrev-properties> ;
+#    rdfa:term "stylesheet" ;
+#    rdfa:uri "http://www.w3.org/1999/xhtml/vocab#stylesheet"
+    .