summaryrefslogtreecommitdiffstats
path: root/tests/rdfxml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:40:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:40:05 +0000
commit4038ab95a094b363f1748f3dcb51511a1217475d (patch)
tree7f393d66a783f91ddd263c78d681e485cf4f45ca /tests/rdfxml
parentInitial commit. (diff)
downloadraptor2-4038ab95a094b363f1748f3dcb51511a1217475d.tar.xz
raptor2-4038ab95a094b363f1748f3dcb51511a1217475d.zip
Adding upstream version 2.0.16.upstream/2.0.16upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/rdfxml')
-rw-r--r--tests/rdfxml/22-rdf-syntax-ns.out23
-rw-r--r--tests/rdfxml/22-rdf-syntax-ns.rdf48
-rw-r--r--tests/rdfxml/CMakeLists.txt523
-rw-r--r--tests/rdfxml/Makefile.am469
-rw-r--r--tests/rdfxml/Makefile.in914
-rw-r--r--tests/rdfxml/bad-00.rdf14
-rw-r--r--tests/rdfxml/bad-01.rdf21
-rw-r--r--tests/rdfxml/bad-02.rdf15
-rw-r--r--tests/rdfxml/bad-03.rdf15
-rw-r--r--tests/rdfxml/bad-04.rdf11
-rw-r--r--tests/rdfxml/bad-05.rdf13
-rw-r--r--tests/rdfxml/bad-06.rdf12
-rw-r--r--tests/rdfxml/bad-07.rdf13
-rw-r--r--tests/rdfxml/bad-08.rdf15
-rw-r--r--tests/rdfxml/bad-09.rdf15
-rw-r--r--tests/rdfxml/bad-10.rdf0
-rw-r--r--tests/rdfxml/bad-11.rdf13
-rw-r--r--tests/rdfxml/bad-12.rdf7
-rw-r--r--tests/rdfxml/bad-13.rdf11
-rw-r--r--tests/rdfxml/bad-14.rdf11
-rw-r--r--tests/rdfxml/bad-15.rdf16
-rw-r--r--tests/rdfxml/bad-16.rdf16
-rw-r--r--tests/rdfxml/bad-17.rdf16
-rw-r--r--tests/rdfxml/bad-18.rdf7
-rw-r--r--tests/rdfxml/bad-19.rdf10
-rw-r--r--tests/rdfxml/bad-20.rdf6
-rw-r--r--tests/rdfxml/bad-21.rdf10
-rw-r--r--tests/rdfxml/bad-22.rdf11
-rw-r--r--tests/rdfxml/bad-23.rdf10
-rw-r--r--tests/rdfxml/bug-650.out1
-rw-r--r--tests/rdfxml/bug-650.rdf9
-rw-r--r--tests/rdfxml/daml-oil.out214
-rw-r--r--tests/rdfxml/daml-oil.rdf492
-rw-r--r--tests/rdfxml/ex-00.out1
-rw-r--r--tests/rdfxml/ex-00.rdf6
-rw-r--r--tests/rdfxml/ex-01.out2
-rw-r--r--tests/rdfxml/ex-01.rdf6
-rw-r--r--tests/rdfxml/ex-02.out0
-rw-r--r--tests/rdfxml/ex-02.rdf9
-rw-r--r--tests/rdfxml/ex-03.out1
-rw-r--r--tests/rdfxml/ex-03.rdf11
-rw-r--r--tests/rdfxml/ex-04.out3
-rw-r--r--tests/rdfxml/ex-04.rdf5
-rw-r--r--tests/rdfxml/ex-05.out4
-rw-r--r--tests/rdfxml/ex-05.rdf6
-rw-r--r--tests/rdfxml/ex-06.out5
-rw-r--r--tests/rdfxml/ex-06.rdf13
-rw-r--r--tests/rdfxml/ex-07.out3
-rw-r--r--tests/rdfxml/ex-07.rdf11
-rw-r--r--tests/rdfxml/ex-08.out6
-rw-r--r--tests/rdfxml/ex-08.rdf7
-rw-r--r--tests/rdfxml/ex-09.out3
-rw-r--r--tests/rdfxml/ex-09.rdf8
-rw-r--r--tests/rdfxml/ex-10.out6
-rw-r--r--tests/rdfxml/ex-10.rdf14
-rw-r--r--tests/rdfxml/ex-11.out1
-rw-r--r--tests/rdfxml/ex-11.rdf13
-rw-r--r--tests/rdfxml/ex-12.out10
-rw-r--r--tests/rdfxml/ex-12.rdf13
-rw-r--r--tests/rdfxml/ex-13.out3
-rw-r--r--tests/rdfxml/ex-13.rdf16
-rw-r--r--tests/rdfxml/ex-14.out4
-rw-r--r--tests/rdfxml/ex-14.rdf18
-rw-r--r--tests/rdfxml/ex-15.out1
-rw-r--r--tests/rdfxml/ex-15.rdf6
-rw-r--r--tests/rdfxml/ex-16.out1
-rw-r--r--tests/rdfxml/ex-16.rdf6
-rw-r--r--tests/rdfxml/ex-17.out1
-rw-r--r--tests/rdfxml/ex-17.rdf8
-rw-r--r--tests/rdfxml/ex-18.out1
-rw-r--r--tests/rdfxml/ex-18.rdf7
-rw-r--r--tests/rdfxml/ex-19.out1
-rw-r--r--tests/rdfxml/ex-19.rdf4
-rw-r--r--tests/rdfxml/ex-20.out1
-rw-r--r--tests/rdfxml/ex-20.rdf8
-rw-r--r--tests/rdfxml/ex-21.out7
-rw-r--r--tests/rdfxml/ex-21.rdf9
-rw-r--r--tests/rdfxml/ex-22.out4
-rw-r--r--tests/rdfxml/ex-22.rdf10
-rw-r--r--tests/rdfxml/ex-23.out8
-rw-r--r--tests/rdfxml/ex-23.rdf27
-rw-r--r--tests/rdfxml/ex-24.out6
-rw-r--r--tests/rdfxml/ex-24.rdf15
-rw-r--r--tests/rdfxml/ex-25.out4
-rw-r--r--tests/rdfxml/ex-25.rdf14
-rw-r--r--tests/rdfxml/ex-26.out2
-rw-r--r--tests/rdfxml/ex-26.rdf12
-rw-r--r--tests/rdfxml/ex-27.out6
-rw-r--r--tests/rdfxml/ex-27.rdf20
-rw-r--r--tests/rdfxml/ex-28.out3
-rw-r--r--tests/rdfxml/ex-28.rdf14
-rw-r--r--tests/rdfxml/ex-29.out3
-rw-r--r--tests/rdfxml/ex-29.rdf14
-rw-r--r--tests/rdfxml/ex-30.out1
-rw-r--r--tests/rdfxml/ex-30.rdf11
-rw-r--r--tests/rdfxml/ex-31.out5
-rw-r--r--tests/rdfxml/ex-31.rdf16
-rw-r--r--tests/rdfxml/ex-32.out2
-rw-r--r--tests/rdfxml/ex-32.rdf10
-rw-r--r--tests/rdfxml/ex-33.out3
-rw-r--r--tests/rdfxml/ex-33.rdf13
-rw-r--r--tests/rdfxml/ex-34.out9
-rw-r--r--tests/rdfxml/ex-34.rdf19
-rw-r--r--tests/rdfxml/ex-35.out1
-rw-r--r--tests/rdfxml/ex-35.rdf10
-rw-r--r--tests/rdfxml/ex-36.out4
-rw-r--r--tests/rdfxml/ex-36.rdf11
-rw-r--r--tests/rdfxml/ex-37.out2
-rw-r--r--tests/rdfxml/ex-37.rdf12
-rw-r--r--tests/rdfxml/ex-38-rdfxmla.out17
-rw-r--r--tests/rdfxml/ex-38.out8
-rw-r--r--tests/rdfxml/ex-38.rdf12
-rw-r--r--tests/rdfxml/ex-39.out7
-rw-r--r--tests/rdfxml/ex-39.rdf16
-rw-r--r--tests/rdfxml/ex-40.out1
-rw-r--r--tests/rdfxml/ex-40.rdf9
-rw-r--r--tests/rdfxml/ex-41.out3
-rw-r--r--tests/rdfxml/ex-41.rdf13
-rw-r--r--tests/rdfxml/ex-42.out19
-rw-r--r--tests/rdfxml/ex-42.rdf14
-rw-r--r--tests/rdfxml/ex-43.out7
-rw-r--r--tests/rdfxml/ex-43.rdf12
-rw-r--r--tests/rdfxml/ex-44.out8
-rw-r--r--tests/rdfxml/ex-44.rdf12
-rw-r--r--tests/rdfxml/ex-45.out2
-rw-r--r--tests/rdfxml/ex-45.rdf12
-rw-r--r--tests/rdfxml/ex-46.out53
-rw-r--r--tests/rdfxml/ex-46.rdf91
-rw-r--r--tests/rdfxml/ex-47.out24
-rw-r--r--tests/rdfxml/ex-47.rdf51
-rw-r--r--tests/rdfxml/ex-48.out5
-rw-r--r--tests/rdfxml/ex-48.rdf16
-rw-r--r--tests/rdfxml/ex-49.out4
-rw-r--r--tests/rdfxml/ex-49.rdf14
-rw-r--r--tests/rdfxml/ex-51.out1
-rw-r--r--tests/rdfxml/ex-51.rdf9
-rw-r--r--tests/rdfxml/ex-52.out2
-rw-r--r--tests/rdfxml/ex-52.svg26
-rw-r--r--tests/rdfxml/ex-53.out1
-rw-r--r--tests/rdfxml/ex-53.rdf1
-rw-r--r--tests/rdfxml/ex-54.out1
-rw-r--r--tests/rdfxml/ex-54.rdf7
-rw-r--r--tests/rdfxml/ex-55.out2
-rw-r--r--tests/rdfxml/ex-55.rdf11
-rw-r--r--tests/rdfxml/ex-56.out1
-rw-r--r--tests/rdfxml/ex-56.rdf8
-rw-r--r--tests/rdfxml/ex-57.out1
-rw-r--r--tests/rdfxml/ex-57.rdf17
-rw-r--r--tests/rdfxml/ex-58.out3
-rw-r--r--tests/rdfxml/ex-58.rdf15
-rw-r--r--tests/rdfxml/ex-59.nt1
-rw-r--r--tests/rdfxml/ex-59.rdf6
-rw-r--r--tests/rdfxml/ex-60.nt1
-rw-r--r--tests/rdfxml/ex-60.rdf6
-rw-r--r--tests/rdfxml/ex-61.out1
-rw-r--r--tests/rdfxml/ex-61.rdf4
-rw-r--r--tests/rdfxml/ex-62.out3
-rw-r--r--tests/rdfxml/ex-62.rdf24
-rw-r--r--tests/rdfxml/ex-63.out1
-rw-r--r--tests/rdfxml/ex-63.rdf11
-rw-r--r--tests/rdfxml/owl-schema.out160
-rw-r--r--tests/rdfxml/owl-schema.rdf279
-rw-r--r--tests/rdfxml/rdf-schema.out129
-rw-r--r--tests/rdfxml/rdf-schema.rdf187
-rw-r--r--tests/rdfxml/rdfs-namespace.out132
-rw-r--r--tests/rdfxml/rdfs-namespace.rdf188
-rw-r--r--tests/rdfxml/warn-00.out7
-rw-r--r--tests/rdfxml/warn-00.rdf12
-rw-r--r--tests/rdfxml/warn-02.out0
-rw-r--r--tests/rdfxml/warn-02.rdf7
-rw-r--r--tests/rdfxml/warn-04.out2
-rw-r--r--tests/rdfxml/warn-04.rdf10
-rw-r--r--tests/rdfxml/warn-05.out1
-rw-r--r--tests/rdfxml/warn-05.rdf9
-rw-r--r--tests/rdfxml/warn-06.out1
-rw-r--r--tests/rdfxml/warn-06.rdf9
-rw-r--r--tests/rdfxml/warn-07.out2
-rw-r--r--tests/rdfxml/warn-07.rdf20
-rw-r--r--tests/rdfxml/wine.out2012
-rw-r--r--tests/rdfxml/wine.rdf2402
180 files changed, 9704 insertions, 0 deletions
diff --git a/tests/rdfxml/22-rdf-syntax-ns.out b/tests/rdfxml/22-rdf-syntax-ns.out
new file mode 100644
index 0000000..740be0c
--- /dev/null
+++ b/tests/rdfxml/22-rdf-syntax-ns.out
@@ -0,0 +1,23 @@
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> <http://www.w3.org/2000/01/rdf-schema#comment> "A triple consisting of a predicate, a subject, and an object." .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> <http://www.w3.org/2000/01/rdf-schema#comment> "A name of a property, defining specific meaning for the property" .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> <http://www.w3.org/2000/01/rdf-schema#comment> "An unordered collection" .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> <http://www.w3.org/2000/01/rdf-schema#comment> "An ordered collection" .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt> <http://www.w3.org/2000/01/rdf-schema#comment> "A collection of alternatives" .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.w3.org/2000/01/rdf-schema#comment> "Identifies the property used in a statement when representing the statement in reified form" .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://www.w3.org/2000/01/rdf-schema#comment> "Identifies the resource that a statement is describing when representing the statement in reified form" .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://www.w3.org/2000/01/rdf-schema#comment> "Identifies the object of a statement when representing the statement in reified form" .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#comment> "Identifies the Class of a resource" .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#value> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#value> <http://www.w3.org/2000/01/rdf-schema#comment> "Identifies the principal value (usually a string) of a property when the property value is a structured resource" .
diff --git a/tests/rdfxml/22-rdf-syntax-ns.rdf b/tests/rdfxml/22-rdf-syntax-ns.rdf
new file mode 100644
index 0000000..41d2dfe
--- /dev/null
+++ b/tests/rdfxml/22-rdf-syntax-ns.rdf
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+
+<RDF
+ xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:s="http://www.w3.org/2000/01/rdf-schema#">
+
+<!--
+ This is the RDF Schema for the RDF data model as described in the
+ Resource Description Framework (RDF) Model and Syntax Specification
+ http://www.w3.org/TR/REC-rdf-syntax -->
+
+<s:Class rdf:ID="Statement"
+ s:comment="A triple consisting of a predicate, a subject, and an object." />
+
+<s:Class rdf:ID="Property"
+ s:comment="A name of a property, defining specific meaning for the property" />
+
+<s:Class rdf:ID="Bag"
+ s:comment="An unordered collection" />
+
+<s:Class rdf:ID="Seq"
+ s:comment="An ordered collection" />
+
+<s:Class rdf:ID="Alt"
+ s:comment="A collection of alternatives" />
+
+<Property ID="predicate"
+ s:comment="Identifies the property used in a statement when representing the statement in reified form">
+ <s:domain rdf:resource="#Statement" />
+ <s:range rdf:resource="#Property" />
+</Property>
+
+<Property ID="subject"
+ s:comment="Identifies the resource that a statement is describing when representing the statement in reified form">
+ <s:domain rdf:resource="#Statement" />
+</Property>
+
+<Property ID="object"
+ s:comment="Identifies the object of a statement when representing the statement in reified form" />
+
+<Property ID="type"
+ s:comment="Identifies the Class of a resource" />
+
+<Property ID="value"
+ s:comment="Identifies the principal value (usually a string) of a property when the property value is a structured resource" />
+
+</RDF>
diff --git a/tests/rdfxml/CMakeLists.txt b/tests/rdfxml/CMakeLists.txt
new file mode 100644
index 0000000..30417ce
--- /dev/null
+++ b/tests/rdfxml/CMakeLists.txt
@@ -0,0 +1,523 @@
+# raptor/tests/rdfxml/CMakeLists.txt
+#
+# Original listfile by Daniel Richard G. <skunk@iSKUNK.ORG>
+# This file is in the public domain.
+#
+
+RAPPER_TEST(rdfxml.ex-00
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-00.rdf http://librdf.org/raptor/tests/ex-00.rdf"
+ ex-00.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-00.out
+)
+
+RAPPER_TEST(rdfxml.ex-01
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-01.rdf http://librdf.org/raptor/tests/ex-01.rdf"
+ ex-01.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-01.out
+)
+
+RAPPER_TEST(rdfxml.ex-02
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-02.rdf http://librdf.org/raptor/tests/ex-02.rdf"
+ ex-02.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-02.out
+)
+
+RAPPER_TEST(rdfxml.ex-04
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-04.rdf http://librdf.org/raptor/tests/ex-04.rdf"
+ ex-04.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-04.out
+)
+
+RAPPER_TEST(rdfxml.ex-05
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-05.rdf http://librdf.org/raptor/tests/ex-05.rdf"
+ ex-05.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-05.out
+)
+
+RAPPER_TEST(rdfxml.ex-06
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-06.rdf http://librdf.org/raptor/tests/ex-06.rdf"
+ ex-06.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-06.out
+)
+
+RAPPER_TEST(rdfxml.ex-07
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-07.rdf http://librdf.org/raptor/tests/ex-07.rdf"
+ ex-07.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-07.out
+)
+
+RAPPER_TEST(rdfxml.ex-08
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-08.rdf http://librdf.org/raptor/tests/ex-08.rdf"
+ ex-08.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-08.out
+)
+
+RAPPER_TEST(rdfxml.ex-09
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-09.rdf http://librdf.org/raptor/tests/ex-09.rdf"
+ ex-09.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-09.out
+)
+
+RAPPER_TEST(rdfxml.ex-10
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-10.rdf http://librdf.org/raptor/tests/ex-10.rdf"
+ ex-10.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-10.out
+)
+
+RAPPER_TEST(rdfxml.ex-11
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-11.rdf http://librdf.org/raptor/tests/ex-11.rdf"
+ ex-11.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-11.out
+)
+
+RAPPER_TEST(rdfxml.ex-12
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-12.rdf http://librdf.org/raptor/tests/ex-12.rdf"
+ ex-12.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-12.out
+)
+
+RAPPER_TEST(rdfxml.ex-13
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-13.rdf http://librdf.org/raptor/tests/ex-13.rdf"
+ ex-13.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-13.out
+)
+
+RAPPER_TEST(rdfxml.ex-14
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-14.rdf http://librdf.org/raptor/tests/ex-14.rdf"
+ ex-14.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-14.out
+)
+
+RAPPER_TEST(rdfxml.ex-15
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-15.rdf http://librdf.org/raptor/tests/ex-15.rdf"
+ ex-15.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-15.out
+)
+
+RAPPER_TEST(rdfxml.ex-16
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-16.rdf http://librdf.org/raptor/tests/ex-16.rdf"
+ ex-16.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-16.out
+)
+
+RAPPER_TEST(rdfxml.ex-17
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-17.rdf http://librdf.org/raptor/tests/ex-17.rdf"
+ ex-17.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-17.out
+)
+
+RAPPER_TEST(rdfxml.ex-18
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-18.rdf http://librdf.org/raptor/tests/ex-18.rdf"
+ ex-18.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-18.out
+)
+
+RAPPER_TEST(rdfxml.ex-20
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-20.rdf http://librdf.org/raptor/tests/ex-20.rdf"
+ ex-20.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-20.out
+)
+
+RAPPER_TEST(rdfxml.ex-21
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-21.rdf http://librdf.org/raptor/tests/ex-21.rdf"
+ ex-21.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-21.out
+)
+
+RAPPER_TEST(rdfxml.ex-22
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-22.rdf http://librdf.org/raptor/tests/ex-22.rdf"
+ ex-22.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-22.out
+)
+
+RAPPER_TEST(rdfxml.ex-23
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-23.rdf http://librdf.org/raptor/tests/ex-23.rdf"
+ ex-23.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-23.out
+)
+
+RAPPER_TEST(rdfxml.ex-24
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-24.rdf http://librdf.org/raptor/tests/ex-24.rdf"
+ ex-24.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-24.out
+)
+
+RAPPER_TEST(rdfxml.ex-25
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-25.rdf http://librdf.org/raptor/tests/ex-25.rdf"
+ ex-25.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-25.out
+)
+
+RAPPER_TEST(rdfxml.ex-26
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-26.rdf http://librdf.org/raptor/tests/ex-26.rdf"
+ ex-26.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-26.out
+)
+
+RAPPER_TEST(rdfxml.ex-27
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-27.rdf http://librdf.org/raptor/tests/ex-27.rdf"
+ ex-27.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-27.out
+)
+
+RAPPER_TEST(rdfxml.ex-28
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-28.rdf http://librdf.org/raptor/tests/ex-28.rdf"
+ ex-28.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-28.out
+)
+
+RAPPER_TEST(rdfxml.ex-29
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-29.rdf http://librdf.org/raptor/tests/ex-29.rdf"
+ ex-29.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-29.out
+)
+
+RAPPER_TEST(rdfxml.ex-30
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-30.rdf http://librdf.org/raptor/tests/ex-30.rdf"
+ ex-30.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-30.out
+)
+
+RAPPER_TEST(rdfxml.ex-31
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-31.rdf http://librdf.org/raptor/tests/ex-31.rdf"
+ ex-31.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-31.out
+)
+
+RAPPER_TEST(rdfxml.ex-32
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-32.rdf http://librdf.org/raptor/tests/ex-32.rdf"
+ ex-32.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-32.out
+)
+
+RAPPER_TEST(rdfxml.ex-33
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-33.rdf http://librdf.org/raptor/tests/ex-33.rdf"
+ ex-33.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-33.out
+)
+
+RAPPER_TEST(rdfxml.ex-34
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-34.rdf http://librdf.org/raptor/tests/ex-34.rdf"
+ ex-34.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-34.out
+)
+
+RAPPER_TEST(rdfxml.ex-35
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-35.rdf http://librdf.org/raptor/tests/ex-35.rdf"
+ ex-35.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-35.out
+)
+
+RAPPER_TEST(rdfxml.ex-36
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-36.rdf http://librdf.org/raptor/tests/ex-36.rdf"
+ ex-36.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-36.out
+)
+
+RAPPER_TEST(rdfxml.ex-37
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-37.rdf http://librdf.org/raptor/tests/ex-37.rdf"
+ ex-37.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-37.out
+)
+
+RAPPER_TEST(rdfxml.ex-38
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-38.rdf http://librdf.org/raptor/tests/ex-38.rdf"
+ ex-38.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-38.out
+)
+
+RAPPER_TEST(rdfxml.ex-39
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-39.rdf http://librdf.org/raptor/tests/ex-39.rdf"
+ ex-39.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-39.out
+)
+
+RAPPER_TEST(rdfxml.ex-40
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-40.rdf http://librdf.org/raptor/tests/ex-40.rdf"
+ ex-40.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-40.out
+)
+
+RAPPER_TEST(rdfxml.ex-41
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-41.rdf http://librdf.org/raptor/tests/ex-41.rdf"
+ ex-41.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-41.out
+)
+
+RAPPER_TEST(rdfxml.ex-46
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-46.rdf http://librdf.org/raptor/tests/ex-46.rdf"
+ ex-46.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-46.out
+)
+
+RAPPER_TEST(rdfxml.ex-47
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-47.rdf http://librdf.org/raptor/tests/ex-47.rdf"
+ ex-47.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-47.out
+)
+
+RAPPER_TEST(rdfxml.ex-48
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-48.rdf http://librdf.org/raptor/tests/ex-48.rdf"
+ ex-48.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-48.out
+)
+
+RAPPER_TEST(rdfxml.ex-49
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-49.rdf http://librdf.org/raptor/tests/ex-49.rdf"
+ ex-49.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-49.out
+)
+
+RAPPER_TEST(rdfxml.ex-51
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-51.rdf http://librdf.org/raptor/tests/ex-51.rdf"
+ ex-51.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-51.out
+)
+
+RAPPER_TEST(rdfxml.ex-53
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-53.rdf http://librdf.org/raptor/tests/ex-53.rdf"
+ ex-53.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-53.out
+)
+
+RAPPER_TEST(rdfxml.ex-54
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-54.rdf http://librdf.org/raptor/tests/ex-54.rdf"
+ ex-54.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-54.out
+)
+
+RAPPER_TEST(rdfxml.ex-56
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-56.rdf http://librdf.org/raptor/tests/ex-56.rdf"
+ ex-56.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-56.out
+)
+
+RAPPER_TEST(rdfxml.ex-57
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-57.rdf http://librdf.org/raptor/tests/ex-57.rdf"
+ ex-57.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-57.out
+)
+
+RAPPER_TEST(rdfxml.ex-58
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-58.rdf http://librdf.org/raptor/tests/ex-58.rdf"
+ ex-58.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-58.out
+)
+
+RAPPER_TEST(rdfxml.ex-61
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-61.rdf http://librdf.org/raptor/tests/ex-61.rdf"
+ ex-61.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-61.out
+)
+
+RAPPER_TEST(rdfxml.ex-62
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-62.rdf http://librdf.org/raptor/tests/ex-62.rdf"
+ ex-61.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-62.out
+)
+
+RAPPER_TEST(rdfxml.ex-63
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-63.rdf http://librdf.org/raptor/tests/ex-63.rdf"
+ ex-61.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-63.out
+)
+
+RAPPER_TEST(rdfxml.bug-650
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/bug-650.rdf http://librdf.org/raptor/tests/bug-650.rdf"
+ ex-61.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/bug-650.out
+)
+
+RAPPER_TEST(rdfxml.22-rdf-syntax-ns
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/22-rdf-syntax-ns.rdf http://www.w3.org/1999/02/22-rdf-syntax-ns"
+ 22-rdf-syntax-ns.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/22-rdf-syntax-ns.out
+)
+
+RAPPER_TEST(rdfxml.rdfs-namespace
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/rdfs-namespace.rdf http://www.w3.org/2000/01/rdf-schema"
+ rdfs-namespace.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/rdfs-namespace.out
+)
+
+RAPPER_TEST(rdfxml.rdf-schema
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/rdf-schema.rdf http://www.w3.org/2000/01/rdf-schema"
+ rdf-schema.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/rdf-schema.out
+)
+
+RAPPER_TEST(rdfxml.owl-schema
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/owl-schema.rdf http://www.w3.org/2002/07/owl"
+ owl-schema.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/owl-schema.out
+)
+
+RAPPER_TEST(rdfxml.daml-oil
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/daml-oil.rdf http://www.daml.org/2001/03/daml+oil"
+ daml-oil.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/daml-oil.out
+)
+
+RAPPER_TEST(rdfxml.wine
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/wine.rdf http://www.w3.org/TR/owl-guide/wine.rdf"
+ wine.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/wine.out
+)
+
+RAPPER_TEST(rdfxml.ex-55
+ "${RAPPER} -q -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/ex-55.rdf http://librdf.org/raptor/tests/ex-55.rdf"
+ ex-55.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-55.out
+)
+
+RAPPER_TEST(rdfxml.ex-19
+ "${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/ex-19.rdf http://librdf.org/raptor/tests/ex-19.rdf"
+ ex-19.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-19.out
+)
+
+RAPPER_TEST(rdfxml.ex-52
+ "${RAPPER} -q -f scanForRDF -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/ex-52.svg http://librdf.org/raptor/tests/ex-52.rdf"
+ ex-52.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-52.out
+)
+
+ADD_TEST(rdfxml.bad-00 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-00.rdf http://librdf.org/raptor/tests/bad-00.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-01 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-01.rdf http://librdf.org/raptor/tests/bad-01.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-02 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-02.rdf http://librdf.org/raptor/tests/bad-02.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-03 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-03.rdf http://librdf.org/raptor/tests/bad-03.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-04 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-04.rdf http://librdf.org/raptor/tests/bad-04.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-05 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-05.rdf http://librdf.org/raptor/tests/bad-05.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-06 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-06.rdf http://librdf.org/raptor/tests/bad-06.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-07 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-07.rdf http://librdf.org/raptor/tests/bad-07.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-08 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-08.rdf http://librdf.org/raptor/tests/bad-08.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-09 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-09.rdf http://librdf.org/raptor/tests/bad-09.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-10 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-10.rdf http://librdf.org/raptor/tests/bad-10.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-11 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-11.rdf http://librdf.org/raptor/tests/bad-11.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-12 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-12.rdf http://librdf.org/raptor/tests/bad-12.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-13 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-13.rdf http://librdf.org/raptor/tests/bad-13.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-14 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-14.rdf http://librdf.org/raptor/tests/bad-14.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-18 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-18.rdf http://librdf.org/raptor/tests/bad-18.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-19 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-19.rdf http://librdf.org/raptor/tests/bad-19.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-20 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-20.rdf http://librdf.org/raptor/tests/bad-20.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-21 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-21.rdf http://librdf.org/raptor/tests/bad-21.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-22 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-22.rdf http://librdf.org/raptor/tests/bad-22.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-23 ${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-23.rdf http://librdf.org/raptor/tests/bad-23.rdf) # WILL_FAIL
+
+SET_TESTS_PROPERTIES(
+ rdfxml.bad-00
+ rdfxml.bad-01
+ rdfxml.bad-02
+ rdfxml.bad-03
+ rdfxml.bad-04
+ rdfxml.bad-05
+ rdfxml.bad-06
+ rdfxml.bad-07
+ rdfxml.bad-08
+ rdfxml.bad-09
+ rdfxml.bad-10
+ rdfxml.bad-11
+ rdfxml.bad-12
+ rdfxml.bad-13
+ rdfxml.bad-14
+ rdfxml.bad-18
+ rdfxml.bad-19
+ rdfxml.bad-20
+ rdfxml.bad-21
+ rdfxml.bad-22
+ rdfxml.bad-23
+ PROPERTIES
+ WILL_FAIL TRUE
+)
+
+ADD_TEST(rdfxml.bad-15 ${RAPPER} -q -m strict -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-15.rdf http://librdf.org/raptor/tests/bad-15.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-16 ${RAPPER} -q -m strict -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-16.rdf http://librdf.org/raptor/tests/bad-16.rdf) # WILL_FAIL
+ADD_TEST(rdfxml.bad-17 ${RAPPER} -q -m strict -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-17.rdf http://librdf.org/raptor/tests/bad-17.rdf) # WILL_FAIL
+
+SET_TESTS_PROPERTIES(
+ rdfxml.bad-15
+ rdfxml.bad-16
+ rdfxml.bad-17
+ PROPERTIES
+ WILL_FAIL TRUE
+)
+
+RAPPER_TEST(rdfxml.warn-00
+ "${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/warn-00.rdf http://librdf.org/raptor/tests/warn-00.rdf"
+ warn-00.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/warn-00.out
+)
+
+RAPPER_TEST(rdfxml.warn-02
+ "${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/warn-02.rdf http://librdf.org/raptor/tests/warn-02.rdf"
+ warn-02.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/warn-02.out
+)
+
+RAPPER_TEST(rdfxml.warn-04
+ "${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/warn-04.rdf http://librdf.org/raptor/tests/warn-04.rdf"
+ warn-04.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/warn-04.out
+)
+
+RAPPER_TEST(rdfxml.warn-05
+ "${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/warn-05.rdf http://librdf.org/raptor/tests/warn-05.rdf"
+ warn-05.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/warn-05.out
+)
+
+RAPPER_TEST(rdfxml.warn-06
+ "${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/warn-06.rdf http://librdf.org/raptor/tests/warn-06.rdf"
+ warn-06.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/warn-06.out
+)
+
+RAPPER_TEST(rdfxml.warn-07
+ "${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/warn-07.rdf http://librdf.org/raptor/tests/warn-07.rdf"
+ warn-07.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/warn-07.out
+)
+
+RAPPER_TEST(rdfxml.ex-03
+ "${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/ex-03.rdf http://librdf.org/raptor/tests/ex-03.rdf"
+ ex-03.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-03.out
+)
+
+RAPPER_TEST(rdfxml.ex-42
+ "${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/ex-42.rdf http://librdf.org/raptor/tests/ex-42.rdf"
+ ex-42.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-42.out
+)
+
+RAPPER_TEST(rdfxml.ex-43
+ "${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/ex-43.rdf http://librdf.org/raptor/tests/ex-43.rdf"
+ ex-43.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-43.out
+)
+
+RAPPER_TEST(rdfxml.ex-44
+ "${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/ex-44.rdf http://librdf.org/raptor/tests/ex-44.rdf"
+ ex-44.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-44.out
+)
+
+RAPPER_TEST(rdfxml.ex-45
+ "${RAPPER} -q -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/ex-45.rdf http://librdf.org/raptor/tests/ex-45.rdf"
+ ex-45.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-45.out
+)
+
+RAPPER_TEST(rdfxml.ex-59
+ "${RAPPER} -q -i ntriples -o rdfxml ${CMAKE_CURRENT_SOURCE_DIR}/ex-59.nt -"
+ ex-59-rdfxml.rdf
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-59.rdf
+)
+
+RAPPER_TEST(rdfxml.ex-60
+ "${RAPPER} -q -i ntriples -o rdfxml ${CMAKE_CURRENT_SOURCE_DIR}/ex-60.nt -"
+ ex-60-rdfxml.rdf
+ ${CMAKE_CURRENT_SOURCE_DIR}/ex-60.rdf
+)
+
+# end raptor/tests/rdfxml/CMakeLists.txt
diff --git a/tests/rdfxml/Makefile.am b/tests/rdfxml/Makefile.am
new file mode 100644
index 0000000..a9fe3e7
--- /dev/null
+++ b/tests/rdfxml/Makefile.am
@@ -0,0 +1,469 @@
+# -*- Mode: Makefile -*-
+#
+# Makefile.am - automake file for Raptor RDF/XML tests
+#
+# Copyright (C) 2000-2008, David Beckett http://purl.org/net/dajobe/
+# Copyright (C) 2000-2004, University of Bristol, UK http://www.bristol.ac.uk/
+#
+# This package is Free Software and part of Redland http://librdf.org/
+#
+# It is licensed under the following three licenses as alternatives:
+# 1. GNU Lesser General Public License (LGPL) V2.1 or any newer version
+# 2. GNU General Public License (GPL) V2 or any newer version
+# 3. Apache License, V2.0 or any newer version
+#
+# You may not use this file except in compliance with at least one of
+# the above three licenses.
+#
+# See LICENSE.html or LICENSE.txt at the top of this package for the
+# complete terms and further detail along with the license texts for
+# the licenses in COPYING.LIB, COPYING and LICENSE-2.0.txt respectively.
+#
+#
+
+# These are errors in strict mode, warnings in lax - for now
+RDF_BAGID_TEST_FILES=ex-03.rdf ex-42.rdf ex-43.rdf ex-44.rdf ex-45.rdf
+
+RDF_TEST_FILES=ex-00.rdf ex-01.rdf ex-02.rdf ex-04.rdf ex-05.rdf \
+ex-06.rdf ex-07.rdf ex-08.rdf ex-09.rdf ex-10.rdf ex-11.rdf ex-12.rdf \
+ex-13.rdf ex-14.rdf ex-15.rdf ex-16.rdf ex-17.rdf ex-18.rdf \
+ex-20.rdf ex-21.rdf ex-22.rdf ex-23.rdf ex-24.rdf ex-25.rdf ex-26.rdf \
+ex-27.rdf ex-28.rdf ex-29.rdf ex-30.rdf ex-31.rdf ex-32.rdf ex-33.rdf \
+ex-34.rdf ex-35.rdf ex-36.rdf ex-37.rdf ex-38.rdf ex-39.rdf ex-40.rdf \
+ex-41.rdf ex-46.rdf ex-47.rdf ex-48.rdf ex-49.rdf ex-51.rdf \
+ex-53.rdf ex-54.rdf ex-56.rdf ex-57.rdf ex-58.rdf ex-61.rdf \
+ex-62.rdf ex-63.rdf \
+bug-650.rdf \
+22-rdf-syntax-ns.rdf rdfs-namespace.rdf rdf-schema.rdf \
+owl-schema.rdf daml-oil.rdf wine.rdf
+
+# ex-55 fails with libxml2
+# libxml2 bug report: http://bugs.gnome.org/show_bug.cgi?id=159219
+RDF_MAYFAIL_XML_TEST_FILES=ex-55.rdf
+
+RDF_BAD_TEST_FILES=bad-00.rdf bad-01.rdf bad-02.rdf bad-03.rdf \
+bad-04.rdf bad-05.rdf bad-06.rdf bad-07.rdf bad-08.rdf bad-09.rdf \
+bad-10.rdf bad-11.rdf bad-12.rdf bad-13.rdf bad-14.rdf bad-18.rdf \
+bad-19.rdf bad-20.rdf bad-21.rdf bad-22.rdf bad-23.rdf
+
+RDF_BAD_NFC_TEST_FILES=bad-15.rdf bad-16.rdf bad-17.rdf
+
+RDF_WARN_TEST_FILES=warn-00.rdf warn-02.rdf warn-04.rdf \
+warn-05.rdf warn-06.rdf warn-07.rdf \
+$(RDF_BAGID_TEST_FILES)
+
+RDF_ASSUME_TEST_FILES=ex-19.rdf
+
+RDF_SCAN_TEST_FILES=ex-52.svg
+
+RDF_OUT_FILES=ex-00.out ex-01.out ex-02.out ex-03.out ex-04.out ex-05.out \
+ex-06.out ex-07.out ex-08.out ex-09.out ex-10.out ex-11.out ex-12.out \
+ex-13.out ex-14.out ex-15.out ex-16.out ex-17.out ex-18.out \
+ex-20.out ex-21.out ex-22.out ex-23.out ex-24.out ex-25.out ex-26.out \
+ex-27.out ex-28.out ex-29.out ex-30.out ex-31.out ex-32.out ex-33.out \
+ex-34.out ex-35.out ex-36.out ex-37.out ex-38.out ex-39.out ex-40.out \
+ex-41.out ex-42.out ex-43.out ex-44.out ex-45.out ex-46.out ex-47.out \
+ex-48.out ex-49.out ex-51.out ex-53.out ex-54.out ex-55.out ex-56.out \
+ex-57.out ex-58.out ex-61.out ex-61.out ex-62.out ex-63.out \
+bug-650.out \
+22-rdf-syntax-ns.out rdfs-namespace.out rdf-schema.out \
+owl-schema.out daml-oil.out wine.out
+
+RDF_HACK_OUT_FILES=ex-38-rdfxmla.out
+
+RDF_MAYFAIL_XML_OUT_FILES=ex-55.rdf
+
+RDF_WARN_OUT_FILES=warn-00.out warn-02.out warn-04.out \
+warn-05.out warn-06.out warn-07.out
+
+RDF_ASSUME_OUT_FILES=ex-19.out
+
+RDF_SCAN_OUT_FILES=ex-52.out
+
+RDF_SERIALIZE_TEST_FILES=ex-59.nt ex-60.nt
+RDF_SERIALIZE_OUT_FILES=ex-59.rdf ex-60.rdf
+
+
+# Used to make N-triples output consistent
+BASE_URI=http://librdf.org/raptor/tests/
+# for 22-rdf-syntax-ns.rdf
+RDF_NS_URI=http://www.w3.org/1999/02/22-rdf-syntax-ns
+# for rdfs-namespace.rdf (2002-04-30) and rdf-schema.rdf (2000-03-27)
+RDFS_NS_URI=http://www.w3.org/2000/01/rdf-schema
+
+OWL_DOC_URI="http://www.w3.org/2002/07/owl"
+
+DAML_OIL_DOC_URI="http://www.daml.org/2001/03/daml+oil"
+
+OWL_WINE_URI="http://www.w3.org/TR/owl-guide/wine.rdf"
+
+EXTRA_DIST = \
+ CMakeLists.txt \
+ $(RDF_TEST_FILES) \
+ $(RDF_MAYFAIL_XML_TEST_FILES) \
+ $(RDF_ASSUME_TEST_FILES) \
+ $(RDF_SCAN_TEST_FILES) \
+ $(RDF_BAD_TEST_FILES) \
+ $(RDF_BAD_NFC_TEST_FILES) \
+ $(RDF_WARN_TEST_FILES) \
+ $(RDF_OUT_FILES) \
+ $(RDF_MAYFAIL_XML_OUT_FILES) \
+ $(RDF_ASSUME_OUT_FILES) \
+ $(RDF_SCAN_OUT_FILES) \
+ $(RDF_WARN_OUT_FILES) \
+ $(RDF_SERIALIZE_TEST_FILES) \
+ $(RDF_SERIALIZE_OUT_FILES) \
+ $(RDF_HACK_OUT_FILES)
+
+RAPPER = $(top_builddir)/utils/rapper
+RDFDIFF = $(top_builddir)/utils/rdfdiff
+
+CLEANFILES = CMakeTests.txt CMakeTmp.txt
+
+build-rapper:
+ @(cd $(top_builddir)/utils ; $(MAKE) rapper$(EXEEXT))
+
+build-rdfdiff:
+ @(cd $(top_builddir)/utils ; $(MAKE) rdfdiff$(EXEEXT))
+
+check-local: build-rapper \
+check-rdf check-mayfail-xml-rdf check-assume-rdf check-scan-rdf \
+check-bad-rdf check-bad-nfc-rdf check-warn-rdf \
+check-rdfdiff check-rdfxml check-rdfxmla
+
+## Some non-GNU Make programs modify variables that appear in a target's
+## dependencies by prepending VPATH to filenames. We don't want this, so
+## we only specify the dependencies in maintainer mode, when GNU Make is
+## likely being used.
+##
+if MAINTAINER_MODE
+check_rdf_deps = $(RDF_TEST_FILES)
+endif
+
+check-rdf: build-rapper $(check_rdf_deps)
+ @set +e; result=0; \
+ $(RECHO) "Testing legal rdf/xml"; \
+ for test in $(RDF_TEST_FILES); do \
+ name=`basename $$test .rdf` ; \
+ if test $$name = 22-rdf-syntax-ns; then \
+ baseuri=$(RDF_NS_URI); \
+ elif test $$name = rdfs-namespace -o $$name = rdf-schema; then \
+ baseuri=$(RDFS_NS_URI); \
+ elif test $$name = owl-schema; then \
+ baseuri=$(OWL_DOC_URI); \
+ elif test $$name = daml-oil; then \
+ baseuri=$(DAML_OIL_DOC_URI); \
+ elif test $$name = wine; then \
+ baseuri=$(OWL_WINE_URI); \
+ else \
+ baseuri=$(BASE_URI)$$name.rdf; \
+ fi; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -o ntriples $(srcdir)/$$test $$baseuri > $$name.res 2> $$name.err; \
+ status=$$?; \
+ if test $$status != 0 -a $$status != 2 ; then \
+ $(RECHO) FAILED returned status $$status; result=1; \
+ elif cmp $(srcdir)/$$name.out $$name.res >/dev/null 2>&1; then \
+ if test $$status = 2 ; then \
+ $(RECHO) "ok with warnings"; grep Warning $$name.err; \
+ else \
+ $(RECHO) "ok"; \
+ fi; \
+ else \
+ $(RECHO) "FAILED"; \
+ diff $(srcdir)/$$name.out $$name.res; result=1; \
+ fi; \
+ rm -f $$name.res $$name.err; \
+ printf 'RAPPER_TEST(%s\n\t"%s"\n\t%s\n\t%s\n)\n\n' \
+ rdfxml.$$name \
+ "\$${RAPPER} -q -o ntriples \$${CMAKE_CURRENT_SOURCE_DIR}/$$test $$baseuri" \
+ $$name.res \
+ "\$${CMAKE_CURRENT_SOURCE_DIR}/$$name.out" >>CMakeTests.txt; \
+ done; \
+ set -e; exit $$result
+
+if MAINTAINER_MODE
+check_assume_rdf_deps = $(RDF_ASSUME_TEST_FILES)
+endif
+
+check-assume-rdf: build-rapper $(check_assume_rdf_deps)
+ @set +e; result=0; \
+ $(RECHO) "Testing rdf/xml known by context"; \
+ for test in $(RDF_ASSUME_TEST_FILES); do \
+ name=`basename $$test .rdf` ; \
+ baseuri=$(BASE_URI)$$name.rdf; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -o ntriples file:$(srcdir)/$$test $$baseuri > $$name.res 2>/dev/null; \
+ if cmp $(srcdir)/$$name.out $$name.res >/dev/null 2>&1; then \
+ $(RECHO) "ok"; \
+ else \
+ $(RECHO) "FAILED"; \
+ diff $(srcdir)/$$name.out $$name.res; result=1; \
+ fi; \
+ rm -f $$name.res ; \
+ printf 'RAPPER_TEST(%s\n\t"%s"\n\t%s\n\t%s\n)\n\n' \
+ rdfxml.$$name \
+ "\$${RAPPER} -q -o ntriples file:\$${CMAKE_CURRENT_SOURCE_DIR}/$$test $$baseuri" \
+ $$name.res \
+ "\$${CMAKE_CURRENT_SOURCE_DIR}/$$name.out" >>CMakeTests.txt; \
+ done; \
+ set -e; exit $$result
+
+if MAINTAINER_MODE
+check_scan_rdf_deps = $(RDF_SCAN_TEST_FILES)
+endif
+
+check-scan-rdf: build-rapper $(check_scan_rdf_deps)
+ @set +e; result=0; \
+ $(RECHO) "Testing rdf/xml inside other XML"; \
+ for test in $(RDF_SCAN_TEST_FILES); do \
+ name=`echo $$test | sed -e 's/\..*//'` ; \
+ baseuri=$(BASE_URI)$$name.rdf; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -f scanForRDF -o ntriples file:$(srcdir)/$$test $$baseuri > $$name.res 2>/dev/null; \
+ if cmp $(srcdir)/$$name.out $$name.res >/dev/null 2>&1; then \
+ $(RECHO) "ok"; \
+ else \
+ $(RECHO) "FAILED"; \
+ diff $(srcdir)/$$name.out $$name.res; result=1; \
+ fi; \
+ rm -f $$name.res ; \
+ printf 'RAPPER_TEST(%s\n\t"%s"\n\t%s\n\t%s\n)\n\n' \
+ rdfxml.$$name \
+ "\$${RAPPER} -q -f scanForRDF -o ntriples file:\$${CMAKE_CURRENT_SOURCE_DIR}/$$test $$baseuri" \
+ $$name.res \
+ "\$${CMAKE_CURRENT_SOURCE_DIR}/$$name.out" >>CMakeTests.txt; \
+ done; \
+ set -e; exit $$result
+
+if MAINTAINER_MODE
+check_mayfail_xml_rdf_deps = $(RDF_MAYFAIL_XML_TEST_FILES)
+endif
+
+check-mayfail-xml-rdf: build-rapper $(check_mayfail_xml_rdf_deps)
+ @set +e; \
+ $(RECHO) "Testing rdf/xml (may fail due to XML parser bugs)"; \
+ for test in $(RDF_MAYFAIL_XML_TEST_FILES); do \
+ name=`basename $$test .rdf` ; \
+ baseuri=$(BASE_URI)$$name.rdf; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -o ntriples $(srcdir)/$$test $$baseuri > $$name.res 2> $$name.err; \
+ status=$$?; \
+ if test $$status != 0 -a $$status != 2 ; then \
+ $(RECHO) FAILED returned status $$status; \
+ elif cmp $(srcdir)/$$name.out $$name.res >/dev/null 2>&1; then \
+ if test $$status = 2 ; then \
+ $(RECHO) "ok with warnings"; grep Warning $$name.err; \
+ else \
+ $(RECHO) "ok"; \
+ fi; \
+ else \
+ $(RECHO) "FAILED"; \
+ diff $(srcdir)/$$name.out $$name.res; \
+ fi; \
+ rm -f $$name.res $$name.err; \
+ printf 'RAPPER_TEST(%s\n\t"%s"\n\t%s\n\t%s\n)\n\n' \
+ rdfxml.$$name \
+ "\$${RAPPER} -q -o ntriples \$${CMAKE_CURRENT_SOURCE_DIR}/$$test $$baseuri" \
+ $$name.res \
+ "\$${CMAKE_CURRENT_SOURCE_DIR}/$$name.out" >>CMakeTests.txt; \
+ done; \
+ set -e; exit 0
+
+if MAINTAINER_MODE
+check_bad_rdf_deps = $(RDF_BAD_TEST_FILES)
+endif
+
+check-bad-rdf: build-rapper $(check_bad_rdf_deps)
+ @set +e; result=0; \
+ $(RECHO) "Testing that bad rdf/xml fails"; \
+ for test in $(RDF_BAD_TEST_FILES); do \
+ name=`basename $$test .rdf` ; \
+ baseuri=$(BASE_URI)$$name.rdf; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -o ntriples file:$(srcdir)/$$test $$baseuri > $$name.res 2> $$name.err; \
+ status=$$?; \
+ if test $$status -eq 1 ; then \
+ $(RECHO) "ok"; \
+ elif test $$status -eq 2 ; then \
+ $(RECHO) "FAILED - parsing succeeded with a warning"; \
+ cat $$name.res; grep Warning $$name.err; result=1; \
+ elif test $$status -eq 0 ; then \
+ $(RECHO) "FAILED - parsing succeeded but should have failed"; \
+ cat $$name.res; result=1; \
+ else \
+ $(RECHO) "FAILED - parsing failed with unknown status $$status"; \
+ cat $$name.res; result=1; \
+ fi; \
+ rm -f $$name.res $$name.err ; \
+ printf 'ADD_TEST(%s %s) # WILL_FAIL\n' \
+ rdfxml.$$name \
+ "\$${RAPPER} -q -o ntriples file:\$${CMAKE_CURRENT_SOURCE_DIR}/$$test $$baseuri" >>CMakeTests.txt; \
+ printf '\t%s\n' rdfxml.$$name >>CMakeTmp.txt; \
+ done; \
+ (printf '\nSET_TESTS_PROPERTIES(\n'; \
+ cat CMakeTmp.txt; \
+ printf '\tPROPERTIES\n\tWILL_FAIL TRUE\n)\n\n') >>CMakeTests.txt; \
+ rm -f CMakeTmp.txt; \
+ set -e; exit $$result
+
+if MAINTAINER_MODE
+check_bad_nfc_rdf_deps = $(RDF_BAD_NFC_TEST_FILES)
+endif
+
+check-bad-nfc-rdf: build-rapper $(check_bad_nfc_rdf_deps)
+ @set +e; result=0; \
+ $(RECHO) "Testing that rdf/xml with bad Unicode NFC fails"; \
+ for test in $(RDF_BAD_NFC_TEST_FILES); do \
+ name=`basename $$test .rdf` ; \
+ baseuri=$(BASE_URI)$$name.rdf; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -m strict -o ntriples file:$(srcdir)/$$test $$baseuri > $$name.res 2> $$name.err; \
+ status=$$?; \
+ if test $$status -eq 1 ; then \
+ $(RECHO) "ok"; \
+ elif test $$status -eq 2 ; then \
+ $(RECHO) "FAILED - parsing succeeded with a warning"; \
+ cat $$name.res; grep Warning $$name.err; result=1; \
+ elif test $$status -eq 0 ; then \
+ $(RECHO) "FAILED - parsing succeeded but should have failed (NFC test)"; \
+ cat $$name.res; result=0; \
+ else \
+ $(RECHO) "FAILED - parsing failed with unknown status $$status"; \
+ cat $$name.res; result=1; \
+ fi; \
+ rm -f $$name.res $$name.err ; \
+ printf 'ADD_TEST(%s %s) # WILL_FAIL\n' \
+ rdfxml.$$name \
+ "\$${RAPPER} -q -m strict -o ntriples file:\$${CMAKE_CURRENT_SOURCE_DIR}/$$test $$baseuri" >>CMakeTests.txt; \
+ printf '\t%s\n' rdfxml.$$name >>CMakeTmp.txt; \
+ done; \
+ (printf '\nSET_TESTS_PROPERTIES(\n'; \
+ cat CMakeTmp.txt; \
+ printf '\tPROPERTIES\n\tWILL_FAIL TRUE\n)\n\n') >>CMakeTests.txt; \
+ rm -f CMakeTmp.txt; \
+ set -e; exit $$result
+
+if MAINTAINER_MODE
+check_warn_rdf_deps = $(RDF_WARN_TEST_FILES)
+endif
+
+check-warn-rdf: build-rapper $(check_warn_rdf_deps)
+ @set +e; result=0; \
+ $(RECHO) "Testing rdf/xml with warnings"; \
+ for test in $(RDF_WARN_TEST_FILES); do \
+ name=`basename $$test .rdf` ; \
+ baseuri=$(BASE_URI)$$name.rdf; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -o ntriples file:$(srcdir)/$$test $$baseuri > $$name.res 2> $$name.err; \
+ status=$$?; \
+ if test $$status -eq 1 ; then \
+ $(RECHO) "FAILED - parsing failed when should have warned"; \
+ cat $$name.res; grep Error $$name.err; result=1; \
+ elif test $$status -eq 2 ; then \
+ if cmp $(srcdir)/$$name.out $$name.res >/dev/null 2>&1; then \
+ $(RECHO) "ok"; \
+ else \
+ $(RECHO) "FAILED"; \
+ diff $(srcdir)/$$name.out $$name.res; result=1; \
+ fi; \
+ else \
+ $(RECHO) "FAILED - parsing failed with unknown status $$status"; \
+ cat $$name.res; result=1; \
+ fi; \
+ rm -f $$name.res $$name.err ; \
+ printf 'RAPPER_TEST(%s\n\t"%s"\n\t%s\n\t%s\n)\n\n' \
+ rdfxml.$$name \
+ "\$${RAPPER} -q -o ntriples file:\$${CMAKE_CURRENT_SOURCE_DIR}/$$test $$baseuri" \
+ $$name.res \
+ "\$${CMAKE_CURRENT_SOURCE_DIR}/$$name.out" >>CMakeTests.txt; \
+ done; \
+ set -e; exit $$result
+
+if MAINTAINER_MODE
+check_rdfdiff_deps = $(RDF_TEST_FILES)
+endif
+
+check-rdfdiff: build-rdfdiff $(check_rdfdiff_deps)
+ @set +e; result=0; \
+ $(RECHO) "Testing rdfdiff with legal rdf/xml"; \
+ for test in $(RDF_TEST_FILES); do \
+ name=`basename $$test .rdf` ; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RDFDIFF) $(srcdir)/$$test $(srcdir)/$$test > $$name.res 2> $$name.err; \
+ status=$$?; \
+ if test $$status = 0; then \
+ $(RECHO) "ok"; \
+ else \
+ $(RECHO) "FAILED"; \
+ cat $$name.err; result=1; \
+ fi; \
+ rm -f $$name.res $$name.err; \
+ done; \
+ set -e; exit $$result
+
+if MAINTAINER_MODE
+check_rdfxml_deps = $(RDF_SERIALIZE_TEST_FILES)
+endif
+
+check-rdfxml: build-rapper $(check_rdfxml_deps)
+ @set +e; result=0; \
+ $(RECHO) "Testing rdfxml serialization with legal rdf/xml"; \
+ for test in $(RDF_SERIALIZE_TEST_FILES); do \
+ name=`basename $$test .nt` ; \
+ baseuri=-; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -i ntriples -o rdfxml $(srcdir)/$$test $$baseuri > $$name-rdfxml.rdf 2> $$name.err; \
+ if cmp $(srcdir)/$$name.rdf $$name-rdfxml.rdf >/dev/null 2>&1; then \
+ $(RECHO) "ok"; \
+ else \
+ $(RECHO) "FAILED"; \
+ diff $(srcdir)/$$name.rdf $$name-rdfxml.rdf; result=1; \
+ fi; \
+ rm -f $$name-rdfxml.rdf $$name.res $$name.err; \
+ printf 'RAPPER_TEST(%s\n\t"%s"\n\t%s\n\t%s\n)\n\n' \
+ rdfxml.$$name \
+ "\$${RAPPER} -q -i ntriples -o rdfxml \$${CMAKE_CURRENT_SOURCE_DIR}/$$test $$baseuri" \
+ $$name-rdfxml.rdf \
+ "\$${CMAKE_CURRENT_SOURCE_DIR}/$$name.rdf" >>CMakeTests.txt; \
+ done; \
+ set -e; exit $$result
+
+if MAINTAINER_MODE
+check_rdfxmla_deps = $(RDF_TEST_FILES)
+endif
+
+check-rdfxmla: build-rdfdiff build-rapper $(check_rdfxmla_deps)
+ @set +e; result=0; \
+ $(RECHO) "Testing rdfxml-abbrev serialization with legal rdf/xml"; \
+ for test in $(RDF_TEST_FILES); do \
+ name=`basename $$test .rdf` ; \
+ baseuri=-; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -o rdfxml-abbrev $(srcdir)/$$test $$baseuri > $$name-rdfxmla.rdf 2> $$name.err; \
+ status1=$$?; \
+ if test $$test = ex-38.rdf; then \
+ diff $(srcdir)/ex-38-rdfxmla.out $$name-rdfxmla.rdf > $$name.res 2> $$name.err; \
+ status2=$$?; \
+ else \
+ $(RDFDIFF) $(srcdir)/$$test $$name-rdfxmla.rdf > $$name.res 2> $$name.err; \
+ status2=$$?; \
+ fi; \
+ if test $$status1 = 0 -a $$status2 = 0; then \
+ $(RECHO) "ok"; \
+ elif test $$status1 = 2 -a $$status2 = 0; then \
+ $(RECHO) "ok with warnings"; grep Warning $$name.err; \
+ else \
+ $(RECHO) "FAILED"; \
+ echo $(RAPPER) -q -o rdfxml-abbrev $(srcdir)/$$test $$baseuri '>' $$name-rdfxmla.rdf; \
+ status1=$$?; \
+ echo $(RDFDIFF) $(srcdir)/$$test $$name-rdfxmla.rdf '>' $$name.res; \
+ echo "rapper + rdfdiff output:"; cat $$name.err; result=1; \
+ fi; \
+ rm -f $$name-rdfxmla.rdf $$name.res $$name.err; \
+ done; \
+ set -e; exit $$result
+
+print-rdf-test-files:
+ @echo $(RDF_TEST_FILES) | tr ' ' '\012'
+
diff --git a/tests/rdfxml/Makefile.in b/tests/rdfxml/Makefile.in
new file mode 100644
index 0000000..e402ab2
--- /dev/null
+++ b/tests/rdfxml/Makefile.in
@@ -0,0 +1,914 @@
+# Makefile.in generated by automake 1.16.5 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2021 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# -*- Mode: Makefile -*-
+#
+# Makefile.am - automake file for Raptor RDF/XML tests
+#
+# Copyright (C) 2000-2008, David Beckett http://purl.org/net/dajobe/
+# Copyright (C) 2000-2004, University of Bristol, UK http://www.bristol.ac.uk/
+#
+# This package is Free Software and part of Redland http://librdf.org/
+#
+# It is licensed under the following three licenses as alternatives:
+# 1. GNU Lesser General Public License (LGPL) V2.1 or any newer version
+# 2. GNU General Public License (GPL) V2 or any newer version
+# 3. Apache License, V2.0 or any newer version
+#
+# You may not use this file except in compliance with at least one of
+# the above three licenses.
+#
+# See LICENSE.html or LICENSE.txt at the top of this package for the
+# complete terms and further detail along with the license texts for
+# the licenses in COPYING.LIB, COPYING and LICENSE-2.0.txt respectively.
+#
+#
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = tests/rdfxml
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/build/gtk-doc.m4 \
+ $(top_srcdir)/build/libtool.m4 \
+ $(top_srcdir)/build/ltoptions.m4 \
+ $(top_srcdir)/build/ltsugar.m4 \
+ $(top_srcdir)/build/ltversion.m4 \
+ $(top_srcdir)/build/lt~obsolete.m4 $(top_srcdir)/build/pkg.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/src/raptor_config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+am__DIST_COMMON = $(srcdir)/Makefile.in
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BISON = @BISON@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPPFLAGS = @CPPFLAGS@
+CSCOPE = @CSCOPE@
+CTAGS = @CTAGS@
+CURL_CONFIG = @CURL_CONFIG@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ETAGS = @ETAGS@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+FILECMD = @FILECMD@
+GREP = @GREP@
+GTKDOC_CHECK = @GTKDOC_CHECK@
+GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
+GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
+GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
+GTKDOC_MKPDF = @GTKDOC_MKPDF@
+GTKDOC_REBASE = @GTKDOC_REBASE@
+HTML_DIR = @HTML_DIR@
+ICU_CFLAGS = @ICU_CFLAGS@
+ICU_LIBS = @ICU_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+JING = @JING@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LEX = @LEX@
+LEXLIB = @LEXLIB@
+LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBCURL_CFLAGS = @LIBCURL_CFLAGS@
+LIBCURL_LIBS = @LIBCURL_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML_CFLAGS = @LIBXML_CFLAGS@
+LIBXML_LIBS = @LIBXML_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
+MAINT = @MAINT@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MEM = @MEM@
+MEM_LIBS = @MEM_LIBS@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+PKG_CONFIG_REQUIRES = @PKG_CONFIG_REQUIRES@
+RANLIB = @RANLIB@
+RAPTOR_LDFLAGS = @RAPTOR_LDFLAGS@
+RAPTOR_LIBTOOLLIBS = @RAPTOR_LIBTOOLLIBS@
+RAPTOR_LIBTOOL_VERSION = @RAPTOR_LIBTOOL_VERSION@
+RAPTOR_PARSERS = @RAPTOR_PARSERS@
+RAPTOR_SERIALIZERS = @RAPTOR_SERIALIZERS@
+RAPTOR_VERSION = @RAPTOR_VERSION@
+RAPTOR_VERSION_DECIMAL = @RAPTOR_VERSION_DECIMAL@
+RAPTOR_VERSION_MAJOR = @RAPTOR_VERSION_MAJOR@
+RAPTOR_VERSION_MINOR = @RAPTOR_VERSION_MINOR@
+RAPTOR_VERSION_RELEASE = @RAPTOR_VERSION_RELEASE@
+RAPTOR_WWW_LIBRARY = @RAPTOR_WWW_LIBRARY@
+RAPTOR_XML_PARSER = @RAPTOR_XML_PARSER@
+RECHO = @RECHO@
+RECHO_C = @RECHO_C@
+RECHO_N = @RECHO_N@
+RPM_RELEASE = @RPM_RELEASE@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+TAR = @TAR@
+VERSION = @VERSION@
+XML_CONFIG = @XML_CONFIG@
+XSLT_CFLAGS = @XSLT_CFLAGS@
+XSLT_CONFIG = @XSLT_CONFIG@
+XSLT_LIBS = @XSLT_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+runstatedir = @runstatedir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+
+# These are errors in strict mode, warnings in lax - for now
+RDF_BAGID_TEST_FILES = ex-03.rdf ex-42.rdf ex-43.rdf ex-44.rdf ex-45.rdf
+RDF_TEST_FILES = ex-00.rdf ex-01.rdf ex-02.rdf ex-04.rdf ex-05.rdf \
+ex-06.rdf ex-07.rdf ex-08.rdf ex-09.rdf ex-10.rdf ex-11.rdf ex-12.rdf \
+ex-13.rdf ex-14.rdf ex-15.rdf ex-16.rdf ex-17.rdf ex-18.rdf \
+ex-20.rdf ex-21.rdf ex-22.rdf ex-23.rdf ex-24.rdf ex-25.rdf ex-26.rdf \
+ex-27.rdf ex-28.rdf ex-29.rdf ex-30.rdf ex-31.rdf ex-32.rdf ex-33.rdf \
+ex-34.rdf ex-35.rdf ex-36.rdf ex-37.rdf ex-38.rdf ex-39.rdf ex-40.rdf \
+ex-41.rdf ex-46.rdf ex-47.rdf ex-48.rdf ex-49.rdf ex-51.rdf \
+ex-53.rdf ex-54.rdf ex-56.rdf ex-57.rdf ex-58.rdf ex-61.rdf \
+ex-62.rdf ex-63.rdf \
+bug-650.rdf \
+22-rdf-syntax-ns.rdf rdfs-namespace.rdf rdf-schema.rdf \
+owl-schema.rdf daml-oil.rdf wine.rdf
+
+
+# ex-55 fails with libxml2
+# libxml2 bug report: http://bugs.gnome.org/show_bug.cgi?id=159219
+RDF_MAYFAIL_XML_TEST_FILES = ex-55.rdf
+RDF_BAD_TEST_FILES = bad-00.rdf bad-01.rdf bad-02.rdf bad-03.rdf \
+bad-04.rdf bad-05.rdf bad-06.rdf bad-07.rdf bad-08.rdf bad-09.rdf \
+bad-10.rdf bad-11.rdf bad-12.rdf bad-13.rdf bad-14.rdf bad-18.rdf \
+bad-19.rdf bad-20.rdf bad-21.rdf bad-22.rdf bad-23.rdf
+
+RDF_BAD_NFC_TEST_FILES = bad-15.rdf bad-16.rdf bad-17.rdf
+RDF_WARN_TEST_FILES = warn-00.rdf warn-02.rdf warn-04.rdf \
+warn-05.rdf warn-06.rdf warn-07.rdf \
+$(RDF_BAGID_TEST_FILES)
+
+RDF_ASSUME_TEST_FILES = ex-19.rdf
+RDF_SCAN_TEST_FILES = ex-52.svg
+RDF_OUT_FILES = ex-00.out ex-01.out ex-02.out ex-03.out ex-04.out ex-05.out \
+ex-06.out ex-07.out ex-08.out ex-09.out ex-10.out ex-11.out ex-12.out \
+ex-13.out ex-14.out ex-15.out ex-16.out ex-17.out ex-18.out \
+ex-20.out ex-21.out ex-22.out ex-23.out ex-24.out ex-25.out ex-26.out \
+ex-27.out ex-28.out ex-29.out ex-30.out ex-31.out ex-32.out ex-33.out \
+ex-34.out ex-35.out ex-36.out ex-37.out ex-38.out ex-39.out ex-40.out \
+ex-41.out ex-42.out ex-43.out ex-44.out ex-45.out ex-46.out ex-47.out \
+ex-48.out ex-49.out ex-51.out ex-53.out ex-54.out ex-55.out ex-56.out \
+ex-57.out ex-58.out ex-61.out ex-61.out ex-62.out ex-63.out \
+bug-650.out \
+22-rdf-syntax-ns.out rdfs-namespace.out rdf-schema.out \
+owl-schema.out daml-oil.out wine.out
+
+RDF_HACK_OUT_FILES = ex-38-rdfxmla.out
+RDF_MAYFAIL_XML_OUT_FILES = ex-55.rdf
+RDF_WARN_OUT_FILES = warn-00.out warn-02.out warn-04.out \
+warn-05.out warn-06.out warn-07.out
+
+RDF_ASSUME_OUT_FILES = ex-19.out
+RDF_SCAN_OUT_FILES = ex-52.out
+RDF_SERIALIZE_TEST_FILES = ex-59.nt ex-60.nt
+RDF_SERIALIZE_OUT_FILES = ex-59.rdf ex-60.rdf
+
+# Used to make N-triples output consistent
+BASE_URI = http://librdf.org/raptor/tests/
+# for 22-rdf-syntax-ns.rdf
+RDF_NS_URI = http://www.w3.org/1999/02/22-rdf-syntax-ns
+# for rdfs-namespace.rdf (2002-04-30) and rdf-schema.rdf (2000-03-27)
+RDFS_NS_URI = http://www.w3.org/2000/01/rdf-schema
+OWL_DOC_URI = "http://www.w3.org/2002/07/owl"
+DAML_OIL_DOC_URI = "http://www.daml.org/2001/03/daml+oil"
+OWL_WINE_URI = "http://www.w3.org/TR/owl-guide/wine.rdf"
+EXTRA_DIST = \
+ CMakeLists.txt \
+ $(RDF_TEST_FILES) \
+ $(RDF_MAYFAIL_XML_TEST_FILES) \
+ $(RDF_ASSUME_TEST_FILES) \
+ $(RDF_SCAN_TEST_FILES) \
+ $(RDF_BAD_TEST_FILES) \
+ $(RDF_BAD_NFC_TEST_FILES) \
+ $(RDF_WARN_TEST_FILES) \
+ $(RDF_OUT_FILES) \
+ $(RDF_MAYFAIL_XML_OUT_FILES) \
+ $(RDF_ASSUME_OUT_FILES) \
+ $(RDF_SCAN_OUT_FILES) \
+ $(RDF_WARN_OUT_FILES) \
+ $(RDF_SERIALIZE_TEST_FILES) \
+ $(RDF_SERIALIZE_OUT_FILES) \
+ $(RDF_HACK_OUT_FILES)
+
+RAPPER = $(top_builddir)/utils/rapper
+RDFDIFF = $(top_builddir)/utils/rdfdiff
+CLEANFILES = CMakeTests.txt CMakeTmp.txt
+@MAINTAINER_MODE_TRUE@check_rdf_deps = $(RDF_TEST_FILES)
+@MAINTAINER_MODE_TRUE@check_assume_rdf_deps = $(RDF_ASSUME_TEST_FILES)
+@MAINTAINER_MODE_TRUE@check_scan_rdf_deps = $(RDF_SCAN_TEST_FILES)
+@MAINTAINER_MODE_TRUE@check_mayfail_xml_rdf_deps = $(RDF_MAYFAIL_XML_TEST_FILES)
+@MAINTAINER_MODE_TRUE@check_bad_rdf_deps = $(RDF_BAD_TEST_FILES)
+@MAINTAINER_MODE_TRUE@check_bad_nfc_rdf_deps = $(RDF_BAD_NFC_TEST_FILES)
+@MAINTAINER_MODE_TRUE@check_warn_rdf_deps = $(RDF_WARN_TEST_FILES)
+@MAINTAINER_MODE_TRUE@check_rdfdiff_deps = $(RDF_TEST_FILES)
+@MAINTAINER_MODE_TRUE@check_rdfxml_deps = $(RDF_SERIALIZE_TEST_FILES)
+@MAINTAINER_MODE_TRUE@check_rdfxmla_deps = $(RDF_TEST_FILES)
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/rdfxml/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu tests/rdfxml/Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+distdir: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) distdir-am
+
+distdir-am: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) check-local
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: check-am install-am install-strip
+
+.PHONY: all all-am check check-am check-local clean clean-generic \
+ clean-libtool cscopelist-am ctags-am distclean \
+ distclean-generic distclean-libtool distdir dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am
+
+.PRECIOUS: Makefile
+
+
+build-rapper:
+ @(cd $(top_builddir)/utils ; $(MAKE) rapper$(EXEEXT))
+
+build-rdfdiff:
+ @(cd $(top_builddir)/utils ; $(MAKE) rdfdiff$(EXEEXT))
+
+check-local: build-rapper \
+check-rdf check-mayfail-xml-rdf check-assume-rdf check-scan-rdf \
+check-bad-rdf check-bad-nfc-rdf check-warn-rdf \
+check-rdfdiff check-rdfxml check-rdfxmla
+
+check-rdf: build-rapper $(check_rdf_deps)
+ @set +e; result=0; \
+ $(RECHO) "Testing legal rdf/xml"; \
+ for test in $(RDF_TEST_FILES); do \
+ name=`basename $$test .rdf` ; \
+ if test $$name = 22-rdf-syntax-ns; then \
+ baseuri=$(RDF_NS_URI); \
+ elif test $$name = rdfs-namespace -o $$name = rdf-schema; then \
+ baseuri=$(RDFS_NS_URI); \
+ elif test $$name = owl-schema; then \
+ baseuri=$(OWL_DOC_URI); \
+ elif test $$name = daml-oil; then \
+ baseuri=$(DAML_OIL_DOC_URI); \
+ elif test $$name = wine; then \
+ baseuri=$(OWL_WINE_URI); \
+ else \
+ baseuri=$(BASE_URI)$$name.rdf; \
+ fi; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -o ntriples $(srcdir)/$$test $$baseuri > $$name.res 2> $$name.err; \
+ status=$$?; \
+ if test $$status != 0 -a $$status != 2 ; then \
+ $(RECHO) FAILED returned status $$status; result=1; \
+ elif cmp $(srcdir)/$$name.out $$name.res >/dev/null 2>&1; then \
+ if test $$status = 2 ; then \
+ $(RECHO) "ok with warnings"; grep Warning $$name.err; \
+ else \
+ $(RECHO) "ok"; \
+ fi; \
+ else \
+ $(RECHO) "FAILED"; \
+ diff $(srcdir)/$$name.out $$name.res; result=1; \
+ fi; \
+ rm -f $$name.res $$name.err; \
+ printf 'RAPPER_TEST(%s\n\t"%s"\n\t%s\n\t%s\n)\n\n' \
+ rdfxml.$$name \
+ "\$${RAPPER} -q -o ntriples \$${CMAKE_CURRENT_SOURCE_DIR}/$$test $$baseuri" \
+ $$name.res \
+ "\$${CMAKE_CURRENT_SOURCE_DIR}/$$name.out" >>CMakeTests.txt; \
+ done; \
+ set -e; exit $$result
+
+check-assume-rdf: build-rapper $(check_assume_rdf_deps)
+ @set +e; result=0; \
+ $(RECHO) "Testing rdf/xml known by context"; \
+ for test in $(RDF_ASSUME_TEST_FILES); do \
+ name=`basename $$test .rdf` ; \
+ baseuri=$(BASE_URI)$$name.rdf; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -o ntriples file:$(srcdir)/$$test $$baseuri > $$name.res 2>/dev/null; \
+ if cmp $(srcdir)/$$name.out $$name.res >/dev/null 2>&1; then \
+ $(RECHO) "ok"; \
+ else \
+ $(RECHO) "FAILED"; \
+ diff $(srcdir)/$$name.out $$name.res; result=1; \
+ fi; \
+ rm -f $$name.res ; \
+ printf 'RAPPER_TEST(%s\n\t"%s"\n\t%s\n\t%s\n)\n\n' \
+ rdfxml.$$name \
+ "\$${RAPPER} -q -o ntriples file:\$${CMAKE_CURRENT_SOURCE_DIR}/$$test $$baseuri" \
+ $$name.res \
+ "\$${CMAKE_CURRENT_SOURCE_DIR}/$$name.out" >>CMakeTests.txt; \
+ done; \
+ set -e; exit $$result
+
+check-scan-rdf: build-rapper $(check_scan_rdf_deps)
+ @set +e; result=0; \
+ $(RECHO) "Testing rdf/xml inside other XML"; \
+ for test in $(RDF_SCAN_TEST_FILES); do \
+ name=`echo $$test | sed -e 's/\..*//'` ; \
+ baseuri=$(BASE_URI)$$name.rdf; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -f scanForRDF -o ntriples file:$(srcdir)/$$test $$baseuri > $$name.res 2>/dev/null; \
+ if cmp $(srcdir)/$$name.out $$name.res >/dev/null 2>&1; then \
+ $(RECHO) "ok"; \
+ else \
+ $(RECHO) "FAILED"; \
+ diff $(srcdir)/$$name.out $$name.res; result=1; \
+ fi; \
+ rm -f $$name.res ; \
+ printf 'RAPPER_TEST(%s\n\t"%s"\n\t%s\n\t%s\n)\n\n' \
+ rdfxml.$$name \
+ "\$${RAPPER} -q -f scanForRDF -o ntriples file:\$${CMAKE_CURRENT_SOURCE_DIR}/$$test $$baseuri" \
+ $$name.res \
+ "\$${CMAKE_CURRENT_SOURCE_DIR}/$$name.out" >>CMakeTests.txt; \
+ done; \
+ set -e; exit $$result
+
+check-mayfail-xml-rdf: build-rapper $(check_mayfail_xml_rdf_deps)
+ @set +e; \
+ $(RECHO) "Testing rdf/xml (may fail due to XML parser bugs)"; \
+ for test in $(RDF_MAYFAIL_XML_TEST_FILES); do \
+ name=`basename $$test .rdf` ; \
+ baseuri=$(BASE_URI)$$name.rdf; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -o ntriples $(srcdir)/$$test $$baseuri > $$name.res 2> $$name.err; \
+ status=$$?; \
+ if test $$status != 0 -a $$status != 2 ; then \
+ $(RECHO) FAILED returned status $$status; \
+ elif cmp $(srcdir)/$$name.out $$name.res >/dev/null 2>&1; then \
+ if test $$status = 2 ; then \
+ $(RECHO) "ok with warnings"; grep Warning $$name.err; \
+ else \
+ $(RECHO) "ok"; \
+ fi; \
+ else \
+ $(RECHO) "FAILED"; \
+ diff $(srcdir)/$$name.out $$name.res; \
+ fi; \
+ rm -f $$name.res $$name.err; \
+ printf 'RAPPER_TEST(%s\n\t"%s"\n\t%s\n\t%s\n)\n\n' \
+ rdfxml.$$name \
+ "\$${RAPPER} -q -o ntriples \$${CMAKE_CURRENT_SOURCE_DIR}/$$test $$baseuri" \
+ $$name.res \
+ "\$${CMAKE_CURRENT_SOURCE_DIR}/$$name.out" >>CMakeTests.txt; \
+ done; \
+ set -e; exit 0
+
+check-bad-rdf: build-rapper $(check_bad_rdf_deps)
+ @set +e; result=0; \
+ $(RECHO) "Testing that bad rdf/xml fails"; \
+ for test in $(RDF_BAD_TEST_FILES); do \
+ name=`basename $$test .rdf` ; \
+ baseuri=$(BASE_URI)$$name.rdf; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -o ntriples file:$(srcdir)/$$test $$baseuri > $$name.res 2> $$name.err; \
+ status=$$?; \
+ if test $$status -eq 1 ; then \
+ $(RECHO) "ok"; \
+ elif test $$status -eq 2 ; then \
+ $(RECHO) "FAILED - parsing succeeded with a warning"; \
+ cat $$name.res; grep Warning $$name.err; result=1; \
+ elif test $$status -eq 0 ; then \
+ $(RECHO) "FAILED - parsing succeeded but should have failed"; \
+ cat $$name.res; result=1; \
+ else \
+ $(RECHO) "FAILED - parsing failed with unknown status $$status"; \
+ cat $$name.res; result=1; \
+ fi; \
+ rm -f $$name.res $$name.err ; \
+ printf 'ADD_TEST(%s %s) # WILL_FAIL\n' \
+ rdfxml.$$name \
+ "\$${RAPPER} -q -o ntriples file:\$${CMAKE_CURRENT_SOURCE_DIR}/$$test $$baseuri" >>CMakeTests.txt; \
+ printf '\t%s\n' rdfxml.$$name >>CMakeTmp.txt; \
+ done; \
+ (printf '\nSET_TESTS_PROPERTIES(\n'; \
+ cat CMakeTmp.txt; \
+ printf '\tPROPERTIES\n\tWILL_FAIL TRUE\n)\n\n') >>CMakeTests.txt; \
+ rm -f CMakeTmp.txt; \
+ set -e; exit $$result
+
+check-bad-nfc-rdf: build-rapper $(check_bad_nfc_rdf_deps)
+ @set +e; result=0; \
+ $(RECHO) "Testing that rdf/xml with bad Unicode NFC fails"; \
+ for test in $(RDF_BAD_NFC_TEST_FILES); do \
+ name=`basename $$test .rdf` ; \
+ baseuri=$(BASE_URI)$$name.rdf; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -m strict -o ntriples file:$(srcdir)/$$test $$baseuri > $$name.res 2> $$name.err; \
+ status=$$?; \
+ if test $$status -eq 1 ; then \
+ $(RECHO) "ok"; \
+ elif test $$status -eq 2 ; then \
+ $(RECHO) "FAILED - parsing succeeded with a warning"; \
+ cat $$name.res; grep Warning $$name.err; result=1; \
+ elif test $$status -eq 0 ; then \
+ $(RECHO) "FAILED - parsing succeeded but should have failed (NFC test)"; \
+ cat $$name.res; result=0; \
+ else \
+ $(RECHO) "FAILED - parsing failed with unknown status $$status"; \
+ cat $$name.res; result=1; \
+ fi; \
+ rm -f $$name.res $$name.err ; \
+ printf 'ADD_TEST(%s %s) # WILL_FAIL\n' \
+ rdfxml.$$name \
+ "\$${RAPPER} -q -m strict -o ntriples file:\$${CMAKE_CURRENT_SOURCE_DIR}/$$test $$baseuri" >>CMakeTests.txt; \
+ printf '\t%s\n' rdfxml.$$name >>CMakeTmp.txt; \
+ done; \
+ (printf '\nSET_TESTS_PROPERTIES(\n'; \
+ cat CMakeTmp.txt; \
+ printf '\tPROPERTIES\n\tWILL_FAIL TRUE\n)\n\n') >>CMakeTests.txt; \
+ rm -f CMakeTmp.txt; \
+ set -e; exit $$result
+
+check-warn-rdf: build-rapper $(check_warn_rdf_deps)
+ @set +e; result=0; \
+ $(RECHO) "Testing rdf/xml with warnings"; \
+ for test in $(RDF_WARN_TEST_FILES); do \
+ name=`basename $$test .rdf` ; \
+ baseuri=$(BASE_URI)$$name.rdf; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -o ntriples file:$(srcdir)/$$test $$baseuri > $$name.res 2> $$name.err; \
+ status=$$?; \
+ if test $$status -eq 1 ; then \
+ $(RECHO) "FAILED - parsing failed when should have warned"; \
+ cat $$name.res; grep Error $$name.err; result=1; \
+ elif test $$status -eq 2 ; then \
+ if cmp $(srcdir)/$$name.out $$name.res >/dev/null 2>&1; then \
+ $(RECHO) "ok"; \
+ else \
+ $(RECHO) "FAILED"; \
+ diff $(srcdir)/$$name.out $$name.res; result=1; \
+ fi; \
+ else \
+ $(RECHO) "FAILED - parsing failed with unknown status $$status"; \
+ cat $$name.res; result=1; \
+ fi; \
+ rm -f $$name.res $$name.err ; \
+ printf 'RAPPER_TEST(%s\n\t"%s"\n\t%s\n\t%s\n)\n\n' \
+ rdfxml.$$name \
+ "\$${RAPPER} -q -o ntriples file:\$${CMAKE_CURRENT_SOURCE_DIR}/$$test $$baseuri" \
+ $$name.res \
+ "\$${CMAKE_CURRENT_SOURCE_DIR}/$$name.out" >>CMakeTests.txt; \
+ done; \
+ set -e; exit $$result
+
+check-rdfdiff: build-rdfdiff $(check_rdfdiff_deps)
+ @set +e; result=0; \
+ $(RECHO) "Testing rdfdiff with legal rdf/xml"; \
+ for test in $(RDF_TEST_FILES); do \
+ name=`basename $$test .rdf` ; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RDFDIFF) $(srcdir)/$$test $(srcdir)/$$test > $$name.res 2> $$name.err; \
+ status=$$?; \
+ if test $$status = 0; then \
+ $(RECHO) "ok"; \
+ else \
+ $(RECHO) "FAILED"; \
+ cat $$name.err; result=1; \
+ fi; \
+ rm -f $$name.res $$name.err; \
+ done; \
+ set -e; exit $$result
+
+check-rdfxml: build-rapper $(check_rdfxml_deps)
+ @set +e; result=0; \
+ $(RECHO) "Testing rdfxml serialization with legal rdf/xml"; \
+ for test in $(RDF_SERIALIZE_TEST_FILES); do \
+ name=`basename $$test .nt` ; \
+ baseuri=-; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -i ntriples -o rdfxml $(srcdir)/$$test $$baseuri > $$name-rdfxml.rdf 2> $$name.err; \
+ if cmp $(srcdir)/$$name.rdf $$name-rdfxml.rdf >/dev/null 2>&1; then \
+ $(RECHO) "ok"; \
+ else \
+ $(RECHO) "FAILED"; \
+ diff $(srcdir)/$$name.rdf $$name-rdfxml.rdf; result=1; \
+ fi; \
+ rm -f $$name-rdfxml.rdf $$name.res $$name.err; \
+ printf 'RAPPER_TEST(%s\n\t"%s"\n\t%s\n\t%s\n)\n\n' \
+ rdfxml.$$name \
+ "\$${RAPPER} -q -i ntriples -o rdfxml \$${CMAKE_CURRENT_SOURCE_DIR}/$$test $$baseuri" \
+ $$name-rdfxml.rdf \
+ "\$${CMAKE_CURRENT_SOURCE_DIR}/$$name.rdf" >>CMakeTests.txt; \
+ done; \
+ set -e; exit $$result
+
+check-rdfxmla: build-rdfdiff build-rapper $(check_rdfxmla_deps)
+ @set +e; result=0; \
+ $(RECHO) "Testing rdfxml-abbrev serialization with legal rdf/xml"; \
+ for test in $(RDF_TEST_FILES); do \
+ name=`basename $$test .rdf` ; \
+ baseuri=-; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -o rdfxml-abbrev $(srcdir)/$$test $$baseuri > $$name-rdfxmla.rdf 2> $$name.err; \
+ status1=$$?; \
+ if test $$test = ex-38.rdf; then \
+ diff $(srcdir)/ex-38-rdfxmla.out $$name-rdfxmla.rdf > $$name.res 2> $$name.err; \
+ status2=$$?; \
+ else \
+ $(RDFDIFF) $(srcdir)/$$test $$name-rdfxmla.rdf > $$name.res 2> $$name.err; \
+ status2=$$?; \
+ fi; \
+ if test $$status1 = 0 -a $$status2 = 0; then \
+ $(RECHO) "ok"; \
+ elif test $$status1 = 2 -a $$status2 = 0; then \
+ $(RECHO) "ok with warnings"; grep Warning $$name.err; \
+ else \
+ $(RECHO) "FAILED"; \
+ echo $(RAPPER) -q -o rdfxml-abbrev $(srcdir)/$$test $$baseuri '>' $$name-rdfxmla.rdf; \
+ status1=$$?; \
+ echo $(RDFDIFF) $(srcdir)/$$test $$name-rdfxmla.rdf '>' $$name.res; \
+ echo "rapper + rdfdiff output:"; cat $$name.err; result=1; \
+ fi; \
+ rm -f $$name-rdfxmla.rdf $$name.res $$name.err; \
+ done; \
+ set -e; exit $$result
+
+print-rdf-test-files:
+ @echo $(RDF_TEST_FILES) | tr ' ' '\012'
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/tests/rdfxml/bad-00.rdf b/tests/rdfxml/bad-00.rdf
new file mode 100644
index 0000000..bc09cd1
--- /dev/null
+++ b/tests/rdfxml/bad-00.rdf
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:ex="http://example.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+
+ <!-- A property must have only one resource value -->
+
+ <rdf:Description rdf:about="http://example.org/node1">
+ <ex:prop1>
+ <rdf:Description rdf:about="http://example.org/node2"/>
+ <rdf:Description rdf:about="http://example.org/node3"/>
+ </ex:prop1>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-01.rdf b/tests/rdfxml/bad-01.rdf
new file mode 100644
index 0000000..4366c8f
--- /dev/null
+++ b/tests/rdfxml/bad-01.rdf
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/ns/">
+
+ <!-- A property must have only one node value -->
+
+ <rdf:Description rdf:about="http://example.org/node0">
+ <ex:mainprop>
+
+ <rdf:Description>
+ <ex:prop1>val1</ex:prop1>
+ </rdf:Description>
+
+ <rdf:Description>
+ <ex:prop2>val2</ex:prop2>
+ </rdf:Description>
+
+ </ex:mainprop>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-02.rdf b/tests/rdfxml/bad-02.rdf
new file mode 100644
index 0000000..8da30c3
--- /dev/null
+++ b/tests/rdfxml/bad-02.rdf
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/ns/">
+
+ <!-- Multiple rdf:ID values -->
+
+ <rdf:Description rdf:ID="foo">
+ <ex:prop>bar1</ex:prop>
+ </rdf:Description>
+
+ <rdf:Description rdf:ID="foo">
+ <ex:prop>bar2</ex:prop>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-03.rdf b/tests/rdfxml/bad-03.rdf
new file mode 100644
index 0000000..b4a6897
--- /dev/null
+++ b/tests/rdfxml/bad-03.rdf
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/ns/">
+
+ <!-- Multiple rdf:bagID values -->
+
+ <rdf:Description rdf:bagID="foo">
+ <ex:prop>bar1</ex:prop>
+ </rdf:Description>
+
+ <rdf:Description rdf:bagID="foo">
+ <ex:prop>bar2</ex:prop>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-04.rdf b/tests/rdfxml/bad-04.rdf
new file mode 100644
index 0000000..871c065
--- /dev/null
+++ b/tests/rdfxml/bad-04.rdf
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/ns/">
+
+ <!-- Check rdf:ID rdf:bagID shared names fail -->
+
+ <rdf:Description rdf:ID="foo" rdf:bagID="foo">
+ <ex:prop>bar2</ex:prop>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-05.rdf b/tests/rdfxml/bad-05.rdf
new file mode 100644
index 0000000..d132302
--- /dev/null
+++ b/tests/rdfxml/bad-05.rdf
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:ex="http://example.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xml:base="http://example.org/triples">
+
+ <!-- rdf:bagID is forbidden but generally ignored on
+ resource property element -->
+
+ <rdf:Description rdf:about="http://example.org/node">
+ <ex:prop1 rdf:bagID="bag1" rdf:resource="http://example.org/node2" />
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-06.rdf b/tests/rdfxml/bad-06.rdf
new file mode 100644
index 0000000..b5ec6c6
--- /dev/null
+++ b/tests/rdfxml/bad-06.rdf
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:ex="http://example.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xml:base="http://example.org/triples">
+
+ <!-- rdf:bagID forbidden but generally ignored on literal property element -->
+
+ <rdf:Description rdf:about="http://example.org/node">
+ <ex:prop1 rdf:bagID="bag1">val</ex:prop1>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-07.rdf b/tests/rdfxml/bad-07.rdf
new file mode 100644
index 0000000..469f832
--- /dev/null
+++ b/tests/rdfxml/bad-07.rdf
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:ex="http://example.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xml:base="http://example.org/triples">
+
+ <!-- rdf:bagID is forbidden but generally ignored on
+ parseTypeLiteral property element -->
+
+ <rdf:Description rdf:about="http://example.org/node">
+ <ex:prop1 rdf:parseType="Literal" rdf:bagID="bag1">val</ex:prop1>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-08.rdf b/tests/rdfxml/bad-08.rdf
new file mode 100644
index 0000000..6a06742
--- /dev/null
+++ b/tests/rdfxml/bad-08.rdf
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:ex="http://example.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xml:base="http://example.org/triples">
+
+ <!-- rdf:bagID is forbidden but generally ignored on
+ parseTypeLiteral property element -->
+
+ <rdf:Description rdf:about="http://example.org/node">
+ <ex:prop1 rdf:parseType="Resource" rdf:bagID="bag1">
+ <ex:prop2>val2</ex:prop2>
+ </ex:prop1>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-09.rdf b/tests/rdfxml/bad-09.rdf
new file mode 100644
index 0000000..7c615ba
--- /dev/null
+++ b/tests/rdfxml/bad-09.rdf
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:ex="http://example.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xml:base="http://example.org/triples">
+
+ <!-- rdf:bagID is forbidden but generally ignored on
+ parseTypeCollection property element -->
+
+ <rdf:Description rdf:about="http://example.org/node">
+ <ex:prop1 rdf:parseType="Collection" rdf:bagID="bag1">
+ <rdf:Description rdf:about="http://example.org/node2/" />
+ </ex:prop1>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-10.rdf b/tests/rdfxml/bad-10.rdf
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/rdfxml/bad-10.rdf
diff --git a/tests/rdfxml/bad-11.rdf b/tests/rdfxml/bad-11.rdf
new file mode 100644
index 0000000..83fa042
--- /dev/null
+++ b/tests/rdfxml/bad-11.rdf
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:ex=""
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+
+ <!-- Illegal xmlns:ex above - no namespace name (URI) given -->
+
+ <!-- No triples should be generated here -->
+
+ <rdf:Description rdf:about="http://example.org/node">
+ <ex:prop1 rdf:resource="http://example.org/node2" />
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-12.rdf b/tests/rdfxml/bad-12.rdf
new file mode 100644
index 0000000..94931a2
--- /dev/null
+++ b/tests/rdfxml/bad-12.rdf
@@ -0,0 +1,7 @@
+<?xml version="1.0" standalone="no"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:bad="http://www.w3.org/1999/02/22-rdf-syntax-ns#x">
+
+ <!-- Should give an error about above 'bad' namespace declaration -->
+
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-13.rdf b/tests/rdfxml/bad-13.rdf
new file mode 100644
index 0000000..1ddbd8b
--- /dev/null
+++ b/tests/rdfxml/bad-13.rdf
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/ns/">
+
+ <!-- A property element cannot take rdf:about -->
+
+ <rdf:Description rdf:about="http://example.org/node0">
+ <ex:prop rdf:about="http://example.org/blah" />
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-14.rdf b/tests/rdfxml/bad-14.rdf
new file mode 100644
index 0000000..c77c7e5
--- /dev/null
+++ b/tests/rdfxml/bad-14.rdf
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/ns/">
+
+ <!-- rdf:Description is not a legal property attribute -->
+
+ <rdf:Description rdf:about="http://example.org/node0"
+ rdf:Description="blah">
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-15.rdf b/tests/rdfxml/bad-15.rdf
new file mode 100644
index 0000000..73f9830
--- /dev/null
+++ b/tests/rdfxml/bad-15.rdf
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/ns/">
+
+ <!-- property attribute with illegal NFC -->
+
+ <!-- The ü below is two characters a u followed by
+ #x308 (encoded as two UTF-8 octets #xCC #x88).
+ It should be displayed identically to ü (character #xFC encoded
+ as two UTF-8 octets #xC3 #xBC). -->
+
+ <rdf:Description rdf:about="http://example.org/node0"
+ ex:blah="ü">
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-16.rdf b/tests/rdfxml/bad-16.rdf
new file mode 100644
index 0000000..222d159
--- /dev/null
+++ b/tests/rdfxml/bad-16.rdf
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/ns/">
+
+ <!-- property element with illegal NFC -->
+
+ <!-- The ü below is two characters a u followed by
+ #x308 (encoded as two UTF-8 octets #xCC #x88).
+ It should be displayed identically to ü (character #xFC encoded
+ as two UTF-8 octets #xC3 #xBC). -->
+
+ <rdf:Description rdf:about="http://example.org/node0">
+ <ex:blah>ü</ex:blah>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-17.rdf b/tests/rdfxml/bad-17.rdf
new file mode 100644
index 0000000..8f43742
--- /dev/null
+++ b/tests/rdfxml/bad-17.rdf
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/ns/">
+
+ <!-- property element parseType="Literal" with illegal NFC -->
+
+ <!-- The ü below is two characters a u followed by
+ #x308 (encoded as two UTF-8 octets #xCC #x88).
+ It should be displayed identically to ü (character #xFC encoded
+ as two UTF-8 octets #xC3 #xBC). -->
+
+ <rdf:Description rdf:about="http://example.org/node0">
+ <ex:blah rdf:parseType="Literal">ü</ex:blah>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-18.rdf b/tests/rdfxml/bad-18.rdf
new file mode 100644
index 0000000..0b56d3d
--- /dev/null
+++ b/tests/rdfxml/bad-18.rdf
@@ -0,0 +1,7 @@
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+
+ <!-- check a node element without a namespace fails -->
+
+ <foo rdf:about="http://example.org/node0" rdf:value="text" />
+
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-19.rdf b/tests/rdfxml/bad-19.rdf
new file mode 100644
index 0000000..5e35247
--- /dev/null
+++ b/tests/rdfxml/bad-19.rdf
@@ -0,0 +1,10 @@
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://www.example.org/ns#">
+
+ <!-- check a property element without a namespace fails -->
+
+ <rdf:Description rdf:about="http://example.org/node0">
+ <prop>content</prop>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-20.rdf b/tests/rdfxml/bad-20.rdf
new file mode 100644
index 0000000..cbd4630
--- /dev/null
+++ b/tests/rdfxml/bad-20.rdf
@@ -0,0 +1,6 @@
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+
+ <!-- check non-namespaced element does not crash parser -->
+
+ <t xmlns="" rdf:about="http://example.org/" />
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-21.rdf b/tests/rdfxml/bad-21.rdf
new file mode 100644
index 0000000..dba0c57
--- /dev/null
+++ b/tests/rdfxml/bad-21.rdf
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/">
+
+ <!-- Check non-namespaced attributes on a property are reported -->
+
+ <rdf:Description rdf:about="http://example.org/res">
+ <rdf:value cie="2" foo="3" bar="4">foo</rdf:value>
+ </rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-22.rdf b/tests/rdfxml/bad-22.rdf
new file mode 100644
index 0000000..d57649b
--- /dev/null
+++ b/tests/rdfxml/bad-22.rdf
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/ns/">
+
+ <!-- rdf:li is not a legal property attribute -->
+
+ <rdf:Description rdf:about="http://example.org/node0"
+ rdf:li="blah">
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/bad-23.rdf b/tests/rdfxml/bad-23.rdf
new file mode 100644
index 0000000..d4beb8f
--- /dev/null
+++ b/tests/rdfxml/bad-23.rdf
@@ -0,0 +1,10 @@
+<rdf:RDF
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/ns/">
+
+ <!-- cannot have both a nodeElement content and property attributes -->
+
+ <rdf:Description>
+ <ex:pred rdf:value="bar"><rdf:Description/></ex:pred>
+ </rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/bug-650.out b/tests/rdfxml/bug-650.out
new file mode 100644
index 0000000..c68161f
--- /dev/null
+++ b/tests/rdfxml/bug-650.out
@@ -0,0 +1 @@
+<http://www.example.org/foo> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "\n <ns: xmlns:dc=\"p\" xmlns:ns=\"http://example.org/ns1\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" dc:=\"\" rdf:=\"\"></ns:>\n "^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
diff --git a/tests/rdfxml/bug-650.rdf b/tests/rdfxml/bug-650.rdf
new file mode 100644
index 0000000..2995e8b
--- /dev/null
+++ b/tests/rdfxml/bug-650.rdf
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ns="http://example.org/ns1">
+ <rdf:Description rdf:about="http://www.example.org/foo">
+ <rdf:value parseType="Literal">
+ <ns: rdf:="" xmlns:dc="p" dc:="" />
+ </rdf:value>
+ </rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/daml-oil.out b/tests/rdfxml/daml-oil.out
new file mode 100644
index 0000000..81a91b3
--- /dev/null
+++ b/tests/rdfxml/daml-oil.out
@@ -0,0 +1,214 @@
+<http://www.daml.org/2001/03/daml+oil> <http://www.daml.org/2001/03/daml+oil#versionInfo> "$Id: daml+oil.daml,v 1.7 2001/06/06 01:38:21 mdean Exp $" .
+<http://www.daml.org/2001/03/daml+oil> <http://www.daml.org/2001/03/daml+oil#imports> <http://www.w3.org/2000/01/rdf-schema> .
+<http://www.daml.org/2001/03/daml+oil#Class> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.daml.org/2001/03/daml+oil#Class> <http://www.w3.org/2000/01/rdf-schema#label> "Class" .
+<http://www.daml.org/2001/03/daml+oil#Class> <http://www.w3.org/2000/01/rdf-schema#comment> "\n The class of all \"object\" classes\n " .
+<http://www.daml.org/2001/03/daml+oil#Class> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.daml.org/2001/03/daml+oil#Datatype> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.daml.org/2001/03/daml+oil#Datatype> <http://www.w3.org/2000/01/rdf-schema#label> "Datatype" .
+<http://www.daml.org/2001/03/daml+oil#Datatype> <http://www.w3.org/2000/01/rdf-schema#comment> "\n The class of all datatype classes\n " .
+<http://www.daml.org/2001/03/daml+oil#Datatype> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.daml.org/2001/03/daml+oil#Thing> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.daml.org/2001/03/daml+oil#Class> .
+<http://www.daml.org/2001/03/daml+oil#Thing> <http://www.w3.org/2000/01/rdf-schema#label> "Thing" .
+<http://www.daml.org/2001/03/daml+oil#Thing> <http://www.w3.org/2000/01/rdf-schema#comment> "\n The most general (object) class in DAML.\n This is equal to the union of any class and its complement.\n " .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.daml.org/2001/03/daml+oil#List> .
+_:genid1 <http://www.daml.org/2001/03/daml+oil#first> <http://www.daml.org/2001/03/daml+oil#Nothing> .
+<http://www.daml.org/2001/03/daml+oil#Nothing> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+_:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.daml.org/2001/03/daml+oil#List> .
+_:genid3 <http://www.daml.org/2001/03/daml+oil#first> _:genid2 .
+_:genid1 <http://www.daml.org/2001/03/daml+oil#rest> _:genid3 .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+_:genid2 <http://www.daml.org/2001/03/daml+oil#complementOf> <http://www.daml.org/2001/03/daml+oil#Nothing> .
+_:genid3 <http://www.daml.org/2001/03/daml+oil#rest> <http://www.daml.org/2001/03/daml+oil#nil> .
+<http://www.daml.org/2001/03/daml+oil#Thing> <http://www.daml.org/2001/03/daml+oil#unionOf> _:genid1 .
+<http://www.daml.org/2001/03/daml+oil#Nothing> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.daml.org/2001/03/daml+oil#Class> .
+<http://www.daml.org/2001/03/daml+oil#Nothing> <http://www.w3.org/2000/01/rdf-schema#label> "Nothing" .
+<http://www.daml.org/2001/03/daml+oil#Nothing> <http://www.w3.org/2000/01/rdf-schema#comment> "the class with no things in it." .
+<http://www.daml.org/2001/03/daml+oil#Nothing> <http://www.daml.org/2001/03/daml+oil#complementOf> <http://www.daml.org/2001/03/daml+oil#Thing> .
+<http://www.daml.org/2001/03/daml+oil#equivalentTo> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.daml.org/2001/03/daml+oil#Property> .
+<http://www.daml.org/2001/03/daml+oil#equivalentTo> <http://www.w3.org/2000/01/rdf-schema#label> "equivalentTo" .
+<http://www.daml.org/2001/03/daml+oil#equivalentTo> <http://www.daml.org/2001/03/daml+oil#comment> "\n for equivalentTo(X, Y), read X is an equivalent term to Y.\n " .
+<http://www.daml.org/2001/03/daml+oil#sameClassAs> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.daml.org/2001/03/daml+oil#Property> .
+<http://www.daml.org/2001/03/daml+oil#sameClassAs> <http://www.w3.org/2000/01/rdf-schema#label> "sameClassAs" .
+<http://www.daml.org/2001/03/daml+oil#sameClassAs> <http://www.daml.org/2001/03/daml+oil#comment> "\n for sameClassAs(X, Y), read X is an equivalent class to Y.\n cf OIL Equivalent\n " .
+<http://www.daml.org/2001/03/daml+oil#sameClassAs> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.daml.org/2001/03/daml+oil#equivalentTo> .
+<http://www.daml.org/2001/03/daml+oil#sameClassAs> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#subClassOf> .
+<http://www.daml.org/2001/03/daml+oil#sameClassAs> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#Class> .
+<http://www.daml.org/2001/03/daml+oil#sameClassAs> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.daml.org/2001/03/daml+oil#Class> .
+<http://www.daml.org/2001/03/daml+oil#samePropertyAs> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.daml.org/2001/03/daml+oil#Property> .
+<http://www.daml.org/2001/03/daml+oil#samePropertyAs> <http://www.w3.org/2000/01/rdf-schema#label> "samePropertyAs" .
+<http://www.daml.org/2001/03/daml+oil#samePropertyAs> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for samePropertyAs(P, R), read P is an equivalent property to R.\n " .
+<http://www.daml.org/2001/03/daml+oil#samePropertyAs> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.daml.org/2001/03/daml+oil#equivalentTo> .
+<http://www.daml.org/2001/03/daml+oil#samePropertyAs> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> .
+<http://www.daml.org/2001/03/daml+oil#sameIndividualAs> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.daml.org/2001/03/daml+oil#Property> .
+<http://www.daml.org/2001/03/daml+oil#sameIndividualAs> <http://www.w3.org/2000/01/rdf-schema#label> "sameIndividualAs" .
+<http://www.daml.org/2001/03/daml+oil#sameIndividualAs> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for sameIndividualAs(a, b), read a is the same individual as b.\n " .
+<http://www.daml.org/2001/03/daml+oil#sameIndividualAs> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.daml.org/2001/03/daml+oil#equivalentTo> .
+<http://www.daml.org/2001/03/daml+oil#sameIndividualAs> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#Thing> .
+<http://www.daml.org/2001/03/daml+oil#sameIndividualAs> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.daml.org/2001/03/daml+oil#Thing> .
+<http://www.daml.org/2001/03/daml+oil#disjointWith> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#disjointWith> <http://www.w3.org/2000/01/rdf-schema#label> "disjointWith" .
+<http://www.daml.org/2001/03/daml+oil#disjointWith> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for disjointWith(X, Y) read: X and Y have no members in common.\n cf OIL Disjoint\n " .
+<http://www.daml.org/2001/03/daml+oil#disjointWith> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#Class> .
+<http://www.daml.org/2001/03/daml+oil#disjointWith> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.daml.org/2001/03/daml+oil#Class> .
+<http://www.daml.org/2001/03/daml+oil#differentIndividualFrom> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.daml.org/2001/03/daml+oil#Property> .
+<http://www.daml.org/2001/03/daml+oil#differentIndividualFrom> <http://www.w3.org/2000/01/rdf-schema#label> "differentIndividualFrom" .
+<http://www.daml.org/2001/03/daml+oil#differentIndividualFrom> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for differentIndividualFrom(a, b), read a is not the same individual as b.\n " .
+<http://www.daml.org/2001/03/daml+oil#differentIndividualFrom> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#Thing> .
+<http://www.daml.org/2001/03/daml+oil#differentIndividualFrom> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.daml.org/2001/03/daml+oil#Thing> .
+<http://www.daml.org/2001/03/daml+oil#unionOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#unionOf> <http://www.w3.org/2000/01/rdf-schema#label> "unionOf" .
+<http://www.daml.org/2001/03/daml+oil#unionOf> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for unionOf(X, Y) read: X is the union of the classes in the list Y;\n i.e. if something is in any of the classes in Y, it's in X, and vice versa.\n cf OIL OR\n " .
+<http://www.daml.org/2001/03/daml+oil#unionOf> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#Class> .
+<http://www.daml.org/2001/03/daml+oil#unionOf> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.daml.org/2001/03/daml+oil#List> .
+<http://www.daml.org/2001/03/daml+oil#disjointUnionOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#disjointUnionOf> <http://www.w3.org/2000/01/rdf-schema#label> "disjointUnionOf" .
+<http://www.daml.org/2001/03/daml+oil#disjointUnionOf> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for disjointUnionOf(X, Y) read: X is the disjoint union of the classes in\n the list Y: (a) for any c1 and c2 in Y, disjointWith(c1, c2),\n and (b) unionOf(X, Y). i.e. if something is in any of the classes in Y, it's\n in X, and vice versa.\n cf OIL disjoint-covered\n " .
+<http://www.daml.org/2001/03/daml+oil#disjointUnionOf> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#Class> .
+<http://www.daml.org/2001/03/daml+oil#disjointUnionOf> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.daml.org/2001/03/daml+oil#List> .
+<http://www.daml.org/2001/03/daml+oil#intersectionOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#intersectionOf> <http://www.w3.org/2000/01/rdf-schema#label> "intersectionOf" .
+<http://www.daml.org/2001/03/daml+oil#intersectionOf> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for intersectionOf(X, Y) read: X is the intersection of the classes in the list Y;\n i.e. if something is in all the classes in Y, then it's in X, and vice versa.\n cf OIL AND\n " .
+<http://www.daml.org/2001/03/daml+oil#intersectionOf> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#Class> .
+<http://www.daml.org/2001/03/daml+oil#intersectionOf> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.daml.org/2001/03/daml+oil#List> .
+<http://www.daml.org/2001/03/daml+oil#complementOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#complementOf> <http://www.w3.org/2000/01/rdf-schema#label> "complementOf" .
+<http://www.daml.org/2001/03/daml+oil#complementOf> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for complementOf(X, Y) read: X is the complement of Y; if something is in Y,\n then it's not in X, and vice versa.\n cf OIL NOT\n " .
+<http://www.daml.org/2001/03/daml+oil#complementOf> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#Class> .
+<http://www.daml.org/2001/03/daml+oil#complementOf> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.daml.org/2001/03/daml+oil#Class> .
+<http://www.daml.org/2001/03/daml+oil#oneOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#oneOf> <http://www.w3.org/2000/01/rdf-schema#label> "oneOf" .
+<http://www.daml.org/2001/03/daml+oil#oneOf> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for oneOf(C, L) read everything in C is one of the\n things in L;\n This lets us define classes by enumerating the members.\n cf OIL OneOf\n " .
+<http://www.daml.org/2001/03/daml+oil#oneOf> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#Class> .
+<http://www.daml.org/2001/03/daml+oil#oneOf> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.daml.org/2001/03/daml+oil#List> .
+<http://www.daml.org/2001/03/daml+oil#Restriction> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.daml.org/2001/03/daml+oil#Restriction> <http://www.w3.org/2000/01/rdf-schema#label> "Restriction" .
+<http://www.daml.org/2001/03/daml+oil#Restriction> <http://www.w3.org/2000/01/rdf-schema#comment> "\n something is in the class R if it satisfies the attached restrictions, \n and vice versa.\n " .
+<http://www.daml.org/2001/03/daml+oil#Restriction> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.daml.org/2001/03/daml+oil#Class> .
+<http://www.daml.org/2001/03/daml+oil#onProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#onProperty> <http://www.w3.org/2000/01/rdf-schema#label> "onProperty" .
+<http://www.daml.org/2001/03/daml+oil#onProperty> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for onProperty(R, P), read:\n R is a restricted with respect to property P.\n " .
+<http://www.daml.org/2001/03/daml+oil#onProperty> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#Restriction> .
+<http://www.daml.org/2001/03/daml+oil#onProperty> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#toClass> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#toClass> <http://www.w3.org/2000/01/rdf-schema#label> "toClass" .
+<http://www.daml.org/2001/03/daml+oil#toClass> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for onProperty(R, P) and toClass(R, X), read:\n i is in class R if and only if for all j, P(i, j) implies type(j, X).\n cf OIL ValueType\n " .
+<http://www.daml.org/2001/03/daml+oil#toClass> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#Restriction> .
+<http://www.daml.org/2001/03/daml+oil#toClass> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.daml.org/2001/03/daml+oil#hasValue> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#hasValue> <http://www.w3.org/2000/01/rdf-schema#label> "hasValue" .
+<http://www.daml.org/2001/03/daml+oil#hasValue> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for onProperty(R, P) and hasValue(R, V), read:\n i is in class R if and only if P(i, V).\n cf OIL HasFiller\n " .
+<http://www.daml.org/2001/03/daml+oil#hasValue> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#Restriction> .
+<http://www.daml.org/2001/03/daml+oil#hasClass> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#hasClass> <http://www.w3.org/2000/01/rdf-schema#label> "hasClass" .
+<http://www.daml.org/2001/03/daml+oil#hasClass> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for onProperty(R, P) and hasClass(R, X), read:\n i is in class R if and only if for some j, P(i, j) and type(j, X).\n cf OIL HasValue\n " .
+<http://www.daml.org/2001/03/daml+oil#hasClass> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#Restriction> .
+<http://www.daml.org/2001/03/daml+oil#hasClass> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.daml.org/2001/03/daml+oil#minCardinality> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#minCardinality> <http://www.w3.org/2000/01/rdf-schema#label> "minCardinality" .
+<http://www.daml.org/2001/03/daml+oil#minCardinality> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for onProperty(R, P) and minCardinality(R, n), read:\n i is in class R if and only if there are at least n distinct j with P(i, j).\n cf OIL MinCardinality\n " .
+<http://www.daml.org/2001/03/daml+oil#minCardinality> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#Restriction> .
+<http://www.daml.org/2001/03/daml+oil#minCardinality> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/10/XMLSchema#nonNegativeInteger> .
+<http://www.daml.org/2001/03/daml+oil#maxCardinality> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#maxCardinality> <http://www.w3.org/2000/01/rdf-schema#label> "maxCardinality" .
+<http://www.daml.org/2001/03/daml+oil#maxCardinality> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for onProperty(R, P) and maxCardinality(R, n), read:\n i is in class R if and only if there are at most n distinct j with P(i, j).\n cf OIL MaxCardinality\n " .
+<http://www.daml.org/2001/03/daml+oil#maxCardinality> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#Restriction> .
+<http://www.daml.org/2001/03/daml+oil#maxCardinality> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/10/XMLSchema#nonNegativeInteger> .
+<http://www.daml.org/2001/03/daml+oil#cardinality> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#cardinality> <http://www.w3.org/2000/01/rdf-schema#label> "cardinality" .
+<http://www.daml.org/2001/03/daml+oil#cardinality> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for onProperty(R, P) and cardinality(R, n), read:\n i is in class R if and only if there are exactly n distinct j with P(i, j).\n cf OIL Cardinality\n " .
+<http://www.daml.org/2001/03/daml+oil#cardinality> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#Restriction> .
+<http://www.daml.org/2001/03/daml+oil#cardinality> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/10/XMLSchema#nonNegativeInteger> .
+<http://www.daml.org/2001/03/daml+oil#hasClassQ> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#hasClassQ> <http://www.w3.org/2000/01/rdf-schema#label> "hasClassQ" .
+<http://www.daml.org/2001/03/daml+oil#hasClassQ> <http://www.w3.org/2000/01/rdf-schema#comment> "\n property for specifying class restriction with cardinalityQ constraints\n " .
+<http://www.daml.org/2001/03/daml+oil#hasClassQ> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#Restriction> .
+<http://www.daml.org/2001/03/daml+oil#hasClassQ> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.daml.org/2001/03/daml+oil#minCardinalityQ> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#minCardinalityQ> <http://www.w3.org/2000/01/rdf-schema#label> "minCardinality" .
+<http://www.daml.org/2001/03/daml+oil#minCardinalityQ> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for onProperty(R, P), minCardinalityQ(R, n) and hasClassQ(R, X), read:\n i is in class R if and only if there are at least n distinct j with P(i, j) \n and type(j, X).\n cf OIL MinCardinality\n " .
+<http://www.daml.org/2001/03/daml+oil#minCardinalityQ> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#Restriction> .
+<http://www.daml.org/2001/03/daml+oil#minCardinalityQ> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/10/XMLSchema#nonNegativeInteger> .
+<http://www.daml.org/2001/03/daml+oil#maxCardinalityQ> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#maxCardinalityQ> <http://www.w3.org/2000/01/rdf-schema#label> "maxCardinality" .
+<http://www.daml.org/2001/03/daml+oil#maxCardinalityQ> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for onProperty(R, P), maxCardinalityQ(R, n) and hasClassQ(R, X), read:\n i is in class R if and only if there are at most n distinct j with P(i, j)\n and type(j, X).\n cf OIL MaxCardinality\n " .
+<http://www.daml.org/2001/03/daml+oil#maxCardinalityQ> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#Restriction> .
+<http://www.daml.org/2001/03/daml+oil#maxCardinalityQ> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/10/XMLSchema#nonNegativeInteger> .
+<http://www.daml.org/2001/03/daml+oil#cardinalityQ> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#cardinalityQ> <http://www.w3.org/2000/01/rdf-schema#label> "cardinality" .
+<http://www.daml.org/2001/03/daml+oil#cardinalityQ> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for onProperty(R, P), cardinalityQ(R, n) and hasClassQ(R, X), read:\n i is in class R if and only if there are exactly n distinct j with P(i, j)\n and type(j, X).\n cf OIL Cardinality\n " .
+<http://www.daml.org/2001/03/daml+oil#cardinalityQ> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#Restriction> .
+<http://www.daml.org/2001/03/daml+oil#cardinalityQ> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/10/XMLSchema#nonNegativeInteger> .
+<http://www.daml.org/2001/03/daml+oil#ObjectProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.daml.org/2001/03/daml+oil#ObjectProperty> <http://www.w3.org/2000/01/rdf-schema#label> "ObjectProperty" .
+<http://www.daml.org/2001/03/daml+oil#ObjectProperty> <http://www.w3.org/2000/01/rdf-schema#comment> "\n if P is an ObjectProperty, and P(x, y), then y is an object.\n " .
+<http://www.daml.org/2001/03/daml+oil#ObjectProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#DatatypeProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.daml.org/2001/03/daml+oil#DatatypeProperty> <http://www.w3.org/2000/01/rdf-schema#label> "DatatypeProperty" .
+<http://www.daml.org/2001/03/daml+oil#DatatypeProperty> <http://www.w3.org/2000/01/rdf-schema#comment> "\n if P is a DatatypeProperty, and P(x, y), then y is a data value.\n " .
+<http://www.daml.org/2001/03/daml+oil#DatatypeProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#inverseOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#inverseOf> <http://www.w3.org/2000/01/rdf-schema#label> "inverseOf" .
+<http://www.daml.org/2001/03/daml+oil#inverseOf> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for inverseOf(R, S) read: R is the inverse of S; i.e.\n if R(x, y) then S(y, x) and vice versa.\n cf OIL inverseRelationOf\n " .
+<http://www.daml.org/2001/03/daml+oil#inverseOf> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#ObjectProperty> .
+<http://www.daml.org/2001/03/daml+oil#inverseOf> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.daml.org/2001/03/daml+oil#ObjectProperty> .
+<http://www.daml.org/2001/03/daml+oil#TransitiveProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.daml.org/2001/03/daml+oil#TransitiveProperty> <http://www.w3.org/2000/01/rdf-schema#label> "TransitiveProperty" .
+<http://www.daml.org/2001/03/daml+oil#TransitiveProperty> <http://www.w3.org/2000/01/rdf-schema#comment> "\n if P is a TransitiveProperty, then if P(x, y) and P(y, z) then P(x, z).\n cf OIL TransitiveProperty.\n " .
+<http://www.daml.org/2001/03/daml+oil#TransitiveProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.daml.org/2001/03/daml+oil#ObjectProperty> .
+<http://www.daml.org/2001/03/daml+oil#UniqueProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.daml.org/2001/03/daml+oil#UniqueProperty> <http://www.w3.org/2000/01/rdf-schema#label> "UniqueProperty" .
+<http://www.daml.org/2001/03/daml+oil#UniqueProperty> <http://www.w3.org/2000/01/rdf-schema#comment> "\n compare with maxCardinality=1; e.g. integer successor:\n if P is a UniqueProperty, then if P(x, y) and P(x, z) then y=z.\n cf OIL FunctionalProperty.\n " .
+<http://www.daml.org/2001/03/daml+oil#UniqueProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#UnambiguousProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.daml.org/2001/03/daml+oil#UnambiguousProperty> <http://www.w3.org/2000/01/rdf-schema#label> "UnambiguousProperty" .
+<http://www.daml.org/2001/03/daml+oil#UnambiguousProperty> <http://www.w3.org/2000/01/rdf-schema#comment> "\n if P is an UnambiguousProperty, then if P(x, y) and P(z, y) then x=z.\n aka injective. e.g. if firstBorne(m, Susan)\n and firstBorne(n, Susan) then m and n are the same.\n " .
+<http://www.daml.org/2001/03/daml+oil#UnambiguousProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.daml.org/2001/03/daml+oil#ObjectProperty> .
+<http://www.daml.org/2001/03/daml+oil#List> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.daml.org/2001/03/daml+oil#List> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> .
+<http://www.daml.org/2001/03/daml+oil#nil> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.daml.org/2001/03/daml+oil#List> .
+<http://www.daml.org/2001/03/daml+oil#nil> <http://www.w3.org/2000/01/rdf-schema#comment> "\n the empty list; this used to be called Empty.\n " .
+<http://www.daml.org/2001/03/daml+oil#first> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#first> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#List> .
+<http://www.daml.org/2001/03/daml+oil#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#rest> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#List> .
+<http://www.daml.org/2001/03/daml+oil#rest> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.daml.org/2001/03/daml+oil#List> .
+<http://www.daml.org/2001/03/daml+oil#item> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#item> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for item(L, I) read: I is an item in L; either first(L, I)\n or item(R, I) where rest(L, R).\n " .
+<http://www.daml.org/2001/03/daml+oil#item> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.daml.org/2001/03/daml+oil#List> .
+<http://www.daml.org/2001/03/daml+oil#Ontology> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.daml.org/2001/03/daml+oil#Ontology> <http://www.w3.org/2000/01/rdf-schema#label> "Ontology" .
+<http://www.daml.org/2001/03/daml+oil#Ontology> <http://www.w3.org/2000/01/rdf-schema#comment> "\n An Ontology is a document that describes\n a vocabulary of terms for communication between\n (human and) automated agents.\n " .
+<http://www.daml.org/2001/03/daml+oil#versionInfo> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#versionInfo> <http://www.w3.org/2000/01/rdf-schema#label> "versionInfo" .
+<http://www.daml.org/2001/03/daml+oil#versionInfo> <http://www.w3.org/2000/01/rdf-schema#comment> "\n generally, a string giving information about this\n version; e.g. RCS/CVS keywords\n " .
+<http://www.daml.org/2001/03/daml+oil#imports> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#imports> <http://www.w3.org/2000/01/rdf-schema#label> "imports" .
+<http://www.daml.org/2001/03/daml+oil#imports> <http://www.w3.org/2000/01/rdf-schema#comment> "\n for imports(X, Y) read: X imports Y;\n i.e. X asserts the* contents of Y by reference;\n i.e. if imports(X, Y) and you believe X and Y says something,\n then you should believe it.\n Note: \"the contents\" is, in the general case,\n an il-formed definite description. Different\n interactions with a resource may expose contents\n that vary with time, data format, preferred language,\n requestor credentials, etc. So for \"the contents\",\n read \"any contents\".\n " .
+<http://www.daml.org/2001/03/daml+oil> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.daml.org/2001/03/daml+oil#Ontology> .
+<http://www.daml.org/2001/03/daml+oil> <http://www.daml.org/2001/03/daml+oil#imports> <http://www.w3.org/2000/01/rdf-schema> .
+<http://www.daml.org/2001/03/daml+oil#subPropertyOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#subPropertyOf> <http://www.daml.org/2001/03/daml+oil#samePropertyAs> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> .
+<http://www.daml.org/2001/03/daml+oil#Literal> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.daml.org/2001/03/daml+oil#Literal> <http://www.daml.org/2001/03/daml+oil#sameClassAs> <http://www.w3.org/2000/01/rdf-schema#Literal> .
+<http://www.daml.org/2001/03/daml+oil#Property> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.daml.org/2001/03/daml+oil#Property> <http://www.daml.org/2001/03/daml+oil#sameClassAs> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#type> <http://www.daml.org/2001/03/daml+oil#samePropertyAs> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> .
+<http://www.daml.org/2001/03/daml+oil#value> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#value> <http://www.daml.org/2001/03/daml+oil#samePropertyAs> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> .
+<http://www.daml.org/2001/03/daml+oil#subClassOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#subClassOf> <http://www.daml.org/2001/03/daml+oil#samePropertyAs> <http://www.w3.org/2000/01/rdf-schema#subClassOf> .
+<http://www.daml.org/2001/03/daml+oil#domain> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#domain> <http://www.daml.org/2001/03/daml+oil#samePropertyAs> <http://www.w3.org/2000/01/rdf-schema#domain> .
+<http://www.daml.org/2001/03/daml+oil#range> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#range> <http://www.daml.org/2001/03/daml+oil#samePropertyAs> <http://www.w3.org/2000/01/rdf-schema#range> .
+<http://www.daml.org/2001/03/daml+oil#label> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#label> <http://www.daml.org/2001/03/daml+oil#samePropertyAs> <http://www.w3.org/2000/01/rdf-schema#label> .
+<http://www.daml.org/2001/03/daml+oil#comment> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#comment> <http://www.daml.org/2001/03/daml+oil#samePropertyAs> <http://www.w3.org/2000/01/rdf-schema#comment> .
+<http://www.daml.org/2001/03/daml+oil#seeAlso> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#seeAlso> <http://www.daml.org/2001/03/daml+oil#samePropertyAs> <http://www.w3.org/2000/01/rdf-schema#seeAlso> .
+<http://www.daml.org/2001/03/daml+oil#isDefinedBy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.daml.org/2001/03/daml+oil#isDefinedBy> <http://www.daml.org/2001/03/daml+oil#samePropertyAs> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> .
+<http://www.daml.org/2001/03/daml+oil#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.daml.org/2001/03/daml+oil#seeAlso> .
diff --git a/tests/rdfxml/daml-oil.rdf b/tests/rdfxml/daml-oil.rdf
new file mode 100644
index 0000000..ea2975e
--- /dev/null
+++ b/tests/rdfxml/daml-oil.rdf
@@ -0,0 +1,492 @@
+<!-- $Revision: 1.7 $ of $Date: 2001/06/06 01:38:21 $. -->
+
+<rdf:RDF
+ xmlns:rdf ="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+ xmlns:daml="http://www.daml.org/2001/03/daml+oil#"
+ xmlns ="http://www.daml.org/2001/03/daml+oil#"
+>
+
+<rdf:Description rdf:about="">
+ <versionInfo>$Id: daml+oil.daml,v 1.7 2001/06/06 01:38:21 mdean Exp $</versionInfo>
+ <imports rdf:resource="http://www.w3.org/2000/01/rdf-schema"/>
+</rdf:Description>
+
+<!-- (meta) classes of "object" and datatype classes -->
+
+<rdfs:Class rdf:ID="Class">
+ <rdfs:label>Class</rdfs:label>
+ <rdfs:comment>
+ The class of all "object" classes
+ </rdfs:comment>
+ <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="Datatype">
+ <rdfs:label>Datatype</rdfs:label>
+ <rdfs:comment>
+ The class of all datatype classes
+ </rdfs:comment>
+ <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
+</rdfs:Class>
+
+<!-- Pre-defined top/bottom thing/nothing most/least-general (object) classes. -->
+
+<Class rdf:ID="Thing">
+ <rdfs:label>Thing</rdfs:label>
+ <rdfs:comment>
+ The most general (object) class in DAML.
+ This is equal to the union of any class and its complement.
+ </rdfs:comment>
+ <unionOf rdf:parseType="daml:collection">
+ <rdfs:Class rdf:about="#Nothing"/>
+ <rdfs:Class>
+ <complementOf rdf:resource="#Nothing"/>
+ </rdfs:Class>
+ </unionOf>
+</Class>
+
+<Class rdf:ID="Nothing">
+ <rdfs:label>Nothing</rdfs:label>
+ <rdfs:comment>the class with no things in it.</rdfs:comment>
+ <complementOf rdf:resource="#Thing"/>
+</Class>
+
+<!-- Terms for building classes from other classes. -->
+
+<Property rdf:ID="equivalentTo"> <!-- equals? equiv? renames? -->
+ <rdfs:label>equivalentTo</rdfs:label>
+ <comment>
+ for equivalentTo(X, Y), read X is an equivalent term to Y.
+ </comment>
+</Property>
+
+<Property rdf:ID="sameClassAs">
+ <rdfs:label>sameClassAs</rdfs:label>
+ <comment>
+ for sameClassAs(X, Y), read X is an equivalent class to Y.
+ cf OIL Equivalent
+ </comment>
+ <rdfs:subPropertyOf rdf:resource="#equivalentTo"/>
+ <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#subClassOf"/>
+ <rdfs:domain rdf:resource="#Class"/>
+ <rdfs:range rdf:resource="#Class"/>
+</Property>
+
+<Property rdf:ID="samePropertyAs">
+ <rdfs:label>samePropertyAs</rdfs:label>
+ <rdfs:comment>
+ for samePropertyAs(P, R), read P is an equivalent property to R.
+ </rdfs:comment>
+ <rdfs:subPropertyOf rdf:resource="#equivalentTo"/>
+ <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
+</Property>
+
+<Property rdf:ID="sameIndividualAs">
+ <rdfs:label>sameIndividualAs</rdfs:label>
+ <rdfs:comment>
+ for sameIndividualAs(a, b), read a is the same individual as b.
+ </rdfs:comment>
+ <rdfs:subPropertyOf rdf:resource="#equivalentTo"/>
+ <rdfs:domain rdf:resource="#Thing"/>
+ <rdfs:range rdf:resource="#Thing"/>
+</Property>
+
+<rdf:Property rdf:ID="disjointWith">
+ <rdfs:label>disjointWith</rdfs:label>
+ <rdfs:comment>
+ for disjointWith(X, Y) read: X and Y have no members in common.
+ cf OIL Disjoint
+ </rdfs:comment>
+ <rdfs:domain rdf:resource="#Class"/>
+ <rdfs:range rdf:resource="#Class"/>
+</rdf:Property>
+
+<Property rdf:ID="differentIndividualFrom">
+ <rdfs:label>differentIndividualFrom</rdfs:label>
+ <rdfs:comment>
+ for differentIndividualFrom(a, b), read a is not the same individual as b.
+ </rdfs:comment>
+ <rdfs:domain rdf:resource="#Thing"/>
+ <rdfs:range rdf:resource="#Thing"/>
+</Property>
+
+
+<!-- NOTE: the Disjoint class has been deleted: use disjointWith -->
+<!-- or disjointUnionOf instead. -->
+
+<rdf:Property rdf:ID="unionOf">
+ <rdfs:label>unionOf</rdfs:label>
+ <rdfs:comment>
+ for unionOf(X, Y) read: X is the union of the classes in the list Y;
+ i.e. if something is in any of the classes in Y, it's in X, and vice versa.
+ cf OIL OR
+ </rdfs:comment>
+ <rdfs:domain rdf:resource="#Class"/>
+ <rdfs:range rdf:resource="#List"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="disjointUnionOf">
+ <rdfs:label>disjointUnionOf</rdfs:label>
+ <rdfs:comment>
+ for disjointUnionOf(X, Y) read: X is the disjoint union of the classes in
+ the list Y: (a) for any c1 and c2 in Y, disjointWith(c1, c2),
+ and (b) unionOf(X, Y). i.e. if something is in any of the classes in Y, it's
+ in X, and vice versa.
+ cf OIL disjoint-covered
+ </rdfs:comment>
+ <rdfs:domain rdf:resource="#Class"/>
+ <rdfs:range rdf:resource="#List"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="intersectionOf">
+ <rdfs:label>intersectionOf</rdfs:label>
+ <rdfs:comment>
+ for intersectionOf(X, Y) read: X is the intersection of the classes in the list Y;
+ i.e. if something is in all the classes in Y, then it's in X, and vice versa.
+ cf OIL AND
+ </rdfs:comment>
+ <rdfs:domain rdf:resource="#Class"/>
+ <rdfs:range rdf:resource="#List"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="complementOf">
+ <rdfs:label>complementOf</rdfs:label>
+ <rdfs:comment>
+ for complementOf(X, Y) read: X is the complement of Y; if something is in Y,
+ then it's not in X, and vice versa.
+ cf OIL NOT
+ </rdfs:comment>
+ <rdfs:domain rdf:resource="#Class"/>
+ <rdfs:range rdf:resource="#Class"/>
+</rdf:Property>
+
+<!-- Term for building classes by enumerating their elements -->
+
+<rdf:Property rdf:ID="oneOf">
+ <rdfs:label>oneOf</rdfs:label>
+ <rdfs:comment>
+ for oneOf(C, L) read everything in C is one of the
+ things in L;
+ This lets us define classes by enumerating the members.
+ cf OIL OneOf
+ </rdfs:comment>
+ <rdfs:domain rdf:resource="#Class"/>
+ <rdfs:range rdf:resource="#List"/>
+</rdf:Property>
+
+<!-- Terms for building classes by restricting their properties. -->
+
+<rdfs:Class rdf:ID="Restriction">
+ <rdfs:label>Restriction</rdfs:label>
+ <rdfs:comment>
+ something is in the class R if it satisfies the attached restrictions,
+ and vice versa.
+ </rdfs:comment>
+ <rdfs:subClassOf rdf:resource="#Class"/>
+</rdfs:Class>
+
+<rdf:Property rdf:ID="onProperty">
+ <rdfs:label>onProperty</rdfs:label>
+ <rdfs:comment>
+ for onProperty(R, P), read:
+ R is a restricted with respect to property P.
+ </rdfs:comment>
+ <rdfs:domain rdf:resource="#Restriction"/>
+ <rdfs:range rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="toClass">
+ <rdfs:label>toClass</rdfs:label>
+ <rdfs:comment>
+ for onProperty(R, P) and toClass(R, X), read:
+ i is in class R if and only if for all j, P(i, j) implies type(j, X).
+ cf OIL ValueType
+ </rdfs:comment>
+ <rdfs:domain rdf:resource="#Restriction"/>
+ <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="hasValue">
+ <rdfs:label>hasValue</rdfs:label>
+ <rdfs:comment>
+ for onProperty(R, P) and hasValue(R, V), read:
+ i is in class R if and only if P(i, V).
+ cf OIL HasFiller
+ </rdfs:comment>
+ <rdfs:domain rdf:resource="#Restriction"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="hasClass">
+ <rdfs:label>hasClass</rdfs:label>
+ <rdfs:comment>
+ for onProperty(R, P) and hasClass(R, X), read:
+ i is in class R if and only if for some j, P(i, j) and type(j, X).
+ cf OIL HasValue
+ </rdfs:comment>
+ <rdfs:domain rdf:resource="#Restriction"/>
+ <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
+</rdf:Property>
+
+<!-- Note that cardinality restrictions on transitive properties, or -->
+<!-- properties with transitive sub-properties, compromise decidability. -->
+
+<rdf:Property rdf:ID="minCardinality">
+ <rdfs:label>minCardinality</rdfs:label>
+ <rdfs:comment>
+ for onProperty(R, P) and minCardinality(R, n), read:
+ i is in class R if and only if there are at least n distinct j with P(i, j).
+ cf OIL MinCardinality
+ </rdfs:comment>
+ <rdfs:domain rdf:resource="#Restriction"/>
+ <rdfs:range rdf:resource="http://www.w3.org/2000/10/XMLSchema#nonNegativeInteger"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="maxCardinality">
+ <rdfs:label>maxCardinality</rdfs:label>
+ <rdfs:comment>
+ for onProperty(R, P) and maxCardinality(R, n), read:
+ i is in class R if and only if there are at most n distinct j with P(i, j).
+ cf OIL MaxCardinality
+ </rdfs:comment>
+ <rdfs:domain rdf:resource="#Restriction"/>
+ <rdfs:range rdf:resource="http://www.w3.org/2000/10/XMLSchema#nonNegativeInteger"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="cardinality">
+ <rdfs:label>cardinality</rdfs:label>
+ <rdfs:comment>
+ for onProperty(R, P) and cardinality(R, n), read:
+ i is in class R if and only if there are exactly n distinct j with P(i, j).
+ cf OIL Cardinality
+ </rdfs:comment>
+ <rdfs:domain rdf:resource="#Restriction"/>
+ <rdfs:range rdf:resource="http://www.w3.org/2000/10/XMLSchema#nonNegativeInteger"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="hasClassQ">
+ <rdfs:label>hasClassQ</rdfs:label>
+ <rdfs:comment>
+ property for specifying class restriction with cardinalityQ constraints
+ </rdfs:comment>
+ <rdfs:domain rdf:resource="#Restriction"/>
+ <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="minCardinalityQ">
+ <rdfs:label>minCardinality</rdfs:label>
+ <rdfs:comment>
+ for onProperty(R, P), minCardinalityQ(R, n) and hasClassQ(R, X), read:
+ i is in class R if and only if there are at least n distinct j with P(i, j)
+ and type(j, X).
+ cf OIL MinCardinality
+ </rdfs:comment>
+ <rdfs:domain rdf:resource="#Restriction"/>
+ <rdfs:range rdf:resource="http://www.w3.org/2000/10/XMLSchema#nonNegativeInteger"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="maxCardinalityQ">
+ <rdfs:label>maxCardinality</rdfs:label>
+ <rdfs:comment>
+ for onProperty(R, P), maxCardinalityQ(R, n) and hasClassQ(R, X), read:
+ i is in class R if and only if there are at most n distinct j with P(i, j)
+ and type(j, X).
+ cf OIL MaxCardinality
+ </rdfs:comment>
+ <rdfs:domain rdf:resource="#Restriction"/>
+ <rdfs:range rdf:resource="http://www.w3.org/2000/10/XMLSchema#nonNegativeInteger"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="cardinalityQ">
+ <rdfs:label>cardinality</rdfs:label>
+ <rdfs:comment>
+ for onProperty(R, P), cardinalityQ(R, n) and hasClassQ(R, X), read:
+ i is in class R if and only if there are exactly n distinct j with P(i, j)
+ and type(j, X).
+ cf OIL Cardinality
+ </rdfs:comment>
+ <rdfs:domain rdf:resource="#Restriction"/>
+ <rdfs:range rdf:resource="http://www.w3.org/2000/10/XMLSchema#nonNegativeInteger"/>
+</rdf:Property>
+
+<!-- Classes and Properties for different kinds of Property -->
+
+<rdfs:Class rdf:ID="ObjectProperty">
+ <rdfs:label>ObjectProperty</rdfs:label>
+ <rdfs:comment>
+ if P is an ObjectProperty, and P(x, y), then y is an object.
+ </rdfs:comment>
+ <rdfs:subClassOf rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="DatatypeProperty">
+ <rdfs:label>DatatypeProperty</rdfs:label>
+ <rdfs:comment>
+ if P is a DatatypeProperty, and P(x, y), then y is a data value.
+ </rdfs:comment>
+ <rdfs:subClassOf rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+</rdfs:Class>
+
+<rdf:Property rdf:ID="inverseOf">
+ <rdfs:label>inverseOf</rdfs:label>
+ <rdfs:comment>
+ for inverseOf(R, S) read: R is the inverse of S; i.e.
+ if R(x, y) then S(y, x) and vice versa.
+ cf OIL inverseRelationOf
+ </rdfs:comment>
+ <rdfs:domain rdf:resource="#ObjectProperty"/>
+ <rdfs:range rdf:resource="#ObjectProperty"/>
+</rdf:Property>
+
+<rdfs:Class rdf:ID="TransitiveProperty">
+ <rdfs:label>TransitiveProperty</rdfs:label>
+ <rdfs:comment>
+ if P is a TransitiveProperty, then if P(x, y) and P(y, z) then P(x, z).
+ cf OIL TransitiveProperty.
+ </rdfs:comment>
+ <rdfs:subClassOf rdf:resource="#ObjectProperty"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="UniqueProperty">
+ <rdfs:label>UniqueProperty</rdfs:label>
+ <rdfs:comment>
+ compare with maxCardinality=1; e.g. integer successor:
+ if P is a UniqueProperty, then if P(x, y) and P(x, z) then y=z.
+ cf OIL FunctionalProperty.
+ </rdfs:comment>
+ <rdfs:subClassOf rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="UnambiguousProperty">
+ <rdfs:label>UnambiguousProperty</rdfs:label>
+ <rdfs:comment>
+ if P is an UnambiguousProperty, then if P(x, y) and P(z, y) then x=z.
+ aka injective. e.g. if firstBorne(m, Susan)
+ and firstBorne(n, Susan) then m and n are the same.
+ </rdfs:comment>
+ <rdfs:subClassOf rdf:resource="#ObjectProperty"/>
+</rdfs:Class>
+
+<!-- List terminology. -->
+
+<rdfs:Class rdf:ID="List">
+ <rdfs:subClassOf rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq"/>
+</rdfs:Class>
+
+<List rdf:ID="nil">
+ <rdfs:comment>
+ the empty list; this used to be called Empty.
+ </rdfs:comment>
+</List>
+
+<rdf:Property rdf:ID="first">
+ <rdfs:domain rdf:resource="#List"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="rest">
+ <rdfs:domain rdf:resource="#List"/>
+ <rdfs:range rdf:resource="#List"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="item">
+ <rdfs:comment>
+ for item(L, I) read: I is an item in L; either first(L, I)
+ or item(R, I) where rest(L, R).
+ </rdfs:comment>
+ <rdfs:domain rdf:resource="#List"/>
+</rdf:Property>
+
+<!-- A class for ontologies themselves... -->
+
+<rdfs:Class rdf:ID="Ontology">
+ <rdfs:label>Ontology</rdfs:label>
+ <rdfs:comment>
+ An Ontology is a document that describes
+ a vocabulary of terms for communication between
+ (human and) automated agents.
+ </rdfs:comment>
+</rdfs:Class>
+
+<rdf:Property rdf:ID="versionInfo">
+ <rdfs:label>versionInfo</rdfs:label>
+ <rdfs:comment>
+ generally, a string giving information about this
+ version; e.g. RCS/CVS keywords
+ </rdfs:comment>
+</rdf:Property>
+
+<!-- Importing, i.e. assertion by reference -->
+
+<rdf:Property rdf:ID="imports">
+ <rdfs:label>imports</rdfs:label>
+ <rdfs:comment>
+ for imports(X, Y) read: X imports Y;
+ i.e. X asserts the* contents of Y by reference;
+ i.e. if imports(X, Y) and you believe X and Y says something,
+ then you should believe it.
+ Note: "the contents" is, in the general case,
+ an il-formed definite description. Different
+ interactions with a resource may expose contents
+ that vary with time, data format, preferred language,
+ requestor credentials, etc. So for "the contents",
+ read "any contents".
+ </rdfs:comment>
+</rdf:Property>
+
+<!-- Importing terms from RDF/RDFS -->
+
+<!-- first, assert the contents of the RDF schema by reference -->
+<Ontology rdf:about="">
+ <imports rdf:resource="http://www.w3.org/2000/01/rdf-schema"/>
+</Ontology>
+
+<rdf:Property rdf:ID="subPropertyOf">
+ <samePropertyAs rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
+</rdf:Property>
+
+<rdfs:Class rdf:ID="Literal">
+ <sameClassAs rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="Property">
+ <sameClassAs rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+</rdfs:Class>
+
+<rdf:Property rdf:ID="type">
+ <samePropertyAs rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="value">
+ <samePropertyAs rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#value"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="subClassOf">
+ <samePropertyAs rdf:resource="http://www.w3.org/2000/01/rdf-schema#subClassOf"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="domain">
+ <samePropertyAs rdf:resource="http://www.w3.org/2000/01/rdf-schema#domain"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="range">
+ <samePropertyAs rdf:resource="http://www.w3.org/2000/01/rdf-schema#range"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="label">
+ <samePropertyAs rdf:resource="http://www.w3.org/2000/01/rdf-schema#label"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="comment">
+ <samePropertyAs rdf:resource="http://www.w3.org/2000/01/rdf-schema#comment"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="seeAlso">
+ <samePropertyAs rdf:resource="http://www.w3.org/2000/01/rdf-schema#seeAlso"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="isDefinedBy">
+ <samePropertyAs rdf:resource="http://www.w3.org/2000/01/rdf-schema#isDefinedBy"/>
+ <rdfs:subPropertyOf rdf:resource="#seeAlso"/>
+</rdf:Property>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-00.out b/tests/rdfxml/ex-00.out
new file mode 100644
index 0000000..fb7e191
--- /dev/null
+++ b/tests/rdfxml/ex-00.out
@@ -0,0 +1 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/a> .
diff --git a/tests/rdfxml/ex-00.rdf b/tests/rdfxml/ex-00.rdf
new file mode 100644
index 0000000..e4d09e7
--- /dev/null
+++ b/tests/rdfxml/ex-00.rdf
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <!-- This may be distinguishable from <a></a> in XML parsers -->
+ <a xmlns="http://example.org/"/>
+</rdf:RDF>
+
diff --git a/tests/rdfxml/ex-01.out b/tests/rdfxml/ex-01.out
new file mode 100644
index 0000000..81b68a9
--- /dev/null
+++ b/tests/rdfxml/ex-01.out
@@ -0,0 +1,2 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/a> .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/a> .
diff --git a/tests/rdfxml/ex-01.rdf b/tests/rdfxml/ex-01.rdf
new file mode 100644
index 0000000..b97a61f
--- /dev/null
+++ b/tests/rdfxml/ex-01.rdf
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <a xmlns="http://example.org/"></a>
+ <!-- This is indistinguishable from: -->
+ <a xmlns="http://example.org/"/>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-02.out b/tests/rdfxml/ex-02.out
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/rdfxml/ex-02.out
diff --git a/tests/rdfxml/ex-02.rdf b/tests/rdfxml/ex-02.rdf
new file mode 100644
index 0000000..c07fffe
--- /dev/null
+++ b/tests/rdfxml/ex-02.rdf
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <!-- test that empty descriptions work with variants of the
+ about attribute -->
+ <rdf:Description rdf:about="http://example.org/resource/"/>
+
+ <!-- Below is deprecated -->
+ <rdf:Description about="http://example.org/resource/"/>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-03.out b/tests/rdfxml/ex-03.out
new file mode 100644
index 0000000..0cb6496
--- /dev/null
+++ b/tests/rdfxml/ex-03.out
@@ -0,0 +1 @@
+<http://example.org/bags#b> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> .
diff --git a/tests/rdfxml/ex-03.rdf b/tests/rdfxml/ex-03.rdf
new file mode 100644
index 0000000..ca4fe74
--- /dev/null
+++ b/tests/rdfxml/ex-03.rdf
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <!-- Test rdf:Description and all combinations of syntax-related
+ rdf: attributes that can be used on it
+ -->
+ <rdf:Description rdf:about="http://example.org/resource/"/>
+ <rdf:Description rdf:about="http://example.org/resource/" rdf:bagID="b"
+ xml:base="http://example.org/bags"/>
+
+ <rdf:Description about="http://example.org/resource/"/>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-04.out b/tests/rdfxml/ex-04.out
new file mode 100644
index 0000000..aa89fee
--- /dev/null
+++ b/tests/rdfxml/ex-04.out
@@ -0,0 +1,3 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> "a" .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_2> "b" .
diff --git a/tests/rdfxml/ex-04.rdf b/tests/rdfxml/ex-04.rdf
new file mode 100644
index 0000000..a91a3e9
--- /dev/null
+++ b/tests/rdfxml/ex-04.rdf
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <!-- Test rdf:Seq with rdf:_ ordinal properties -->
+ <rdf:Seq rdf:_1="a" rdf:_2="b"/>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-05.out b/tests/rdfxml/ex-05.out
new file mode 100644
index 0000000..3c96542
--- /dev/null
+++ b/tests/rdfxml/ex-05.out
@@ -0,0 +1,4 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> "a" .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_2> "b" .
+_:genid1 <http://example.com/properties/something> "foo" .
diff --git a/tests/rdfxml/ex-05.rdf b/tests/rdfxml/ex-05.rdf
new file mode 100644
index 0000000..541546a
--- /dev/null
+++ b/tests/rdfxml/ex-05.rdf
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:a="http://example.com/properties/" >
+ <!-- Test rdf:Seq with rdf:_ ordinal properties and extra stuff -->
+ <rdf:Seq rdf:_1="a" rdf:_2="b" a:something="foo"/>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-06.out b/tests/rdfxml/ex-06.out
new file mode 100644
index 0000000..e2a78bd
--- /dev/null
+++ b/tests/rdfxml/ex-06.out
@@ -0,0 +1,5 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> <http://example.com/resource/a> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_2> <http://example.com/resource/b> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_3> <http://example.com/resource/c> .
+<http://example.com/somewhere/> <http://example.com/properties/foo> _:genid1 .
diff --git a/tests/rdfxml/ex-06.rdf b/tests/rdfxml/ex-06.rdf
new file mode 100644
index 0000000..65d449b
--- /dev/null
+++ b/tests/rdfxml/ex-06.rdf
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <!-- Test rdf:Seq with rdf:li to a resource -->
+ <rdf:Description rdf:about="http://example.com/somewhere/">
+ <a:foo xmlns:a="http://example.com/properties/">
+ <rdf:Seq>
+ <rdf:li rdf:resource="http://example.com/resource/a"/>
+ <rdf:li rdf:resource="http://example.com/resource/b"/>
+ <rdf:li rdf:resource="http://example.com/resource/c"/>
+ </rdf:Seq>
+ </a:foo>
+ </rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-07.out b/tests/rdfxml/ex-07.out
new file mode 100644
index 0000000..ca7d498
--- /dev/null
+++ b/tests/rdfxml/ex-07.out
@@ -0,0 +1,3 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> "some literal text"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<http://example.com/somewhere/> <http://example.com/properties/foo> _:genid1 .
diff --git a/tests/rdfxml/ex-07.rdf b/tests/rdfxml/ex-07.rdf
new file mode 100644
index 0000000..a242967
--- /dev/null
+++ b/tests/rdfxml/ex-07.rdf
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <!-- Test rdf:Seq with rdf:li and literal XML content -->
+ <rdf:Description rdf:about="http://example.com/somewhere/">
+ <a:foo xmlns:a="http://example.com/properties/">
+ <rdf:Seq>
+ <rdf:li rdf:parseType="Literal">some literal text</rdf:li>
+ </rdf:Seq>
+ </a:foo>
+ </rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-08.out b/tests/rdfxml/ex-08.out
new file mode 100644
index 0000000..1e79906
--- /dev/null
+++ b/tests/rdfxml/ex-08.out
@@ -0,0 +1,6 @@
+<http://example.com/resource1/> <http://example.com/properties/foo> "err" .
+<http://example.com/resource1/> <http://example.com/properties/bar> "hmm" .
+<http://example.com/resource1/> <http://example.com/properties/baz> "umm" .
+<http://example.com/resource2/> <http://example.com/somewhere/foo> "apple" .
+<http://example.com/resource2/> <http://example.com/somewhere/bar> "banana" .
+<http://example.com/resource2/> <http://example.com/somewhere/baz> "pear" .
diff --git a/tests/rdfxml/ex-08.rdf b/tests/rdfxml/ex-08.rdf
new file mode 100644
index 0000000..8e34873
--- /dev/null
+++ b/tests/rdfxml/ex-08.rdf
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:a="http://example.com/properties/">
+ <!-- Test rdf:Description with properties -->
+ <rdf:Description rdf:about="http://example.com/resource1/" a:foo="err" a:bar="hmm" a:baz="umm" />
+ <rdf:Description rdf:about="http://example.com/resource2/" xmlns:c="http://example.com/somewhere/" c:foo="apple" c:bar="banana" c:baz="pear" />
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-09.out b/tests/rdfxml/ex-09.out
new file mode 100644
index 0000000..5ce3198
--- /dev/null
+++ b/tests/rdfxml/ex-09.out
@@ -0,0 +1,3 @@
+<http://example.com/somewhere/> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/properties/foo> .
+<http://example.com/somewhere/> <http://example.com/properties/bar> "content" .
+<http://example.com/somewhere/> <http://example.com/properties/baz> "blah" .
diff --git a/tests/rdfxml/ex-09.rdf b/tests/rdfxml/ex-09.rdf
new file mode 100644
index 0000000..5761f5c
--- /dev/null
+++ b/tests/rdfxml/ex-09.rdf
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <!-- Test typedNode with rdf:about -->
+ <foo xmlns="http://example.com/properties/" rdf:about="http://example.com/somewhere/">
+ <bar>content</bar>
+ <baz>blah</baz>
+ </foo>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-10.out b/tests/rdfxml/ex-10.out
new file mode 100644
index 0000000..b273117
--- /dev/null
+++ b/tests/rdfxml/ex-10.out
@@ -0,0 +1,6 @@
+<http://example.org/channel/> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/rss/1.0/channel> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> <http://example.org/01> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_2> <http://example.org/02> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_3> <http://example.org/03> .
+<http://example.org/channel/> <http://purl.org/rss/1.0/items> _:genid1 .
diff --git a/tests/rdfxml/ex-10.rdf b/tests/rdfxml/ex-10.rdf
new file mode 100644
index 0000000..2eca6a2
--- /dev/null
+++ b/tests/rdfxml/ex-10.rdf
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns="http://purl.org/rss/1.0/">
+ <!-- Check about rdf:li and rdf:resource -->
+ <channel rdf:about="http://example.org/channel/">
+ <items>
+ <rdf:Seq>
+ <rdf:li rdf:resource="http://example.org/01"/>
+ <rdf:li rdf:resource="http://example.org/02"/>
+ <rdf:li rdf:resource="http://example.org/03"/>
+ </rdf:Seq>
+ </items>
+ </channel>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-11.out b/tests/rdfxml/ex-11.out
new file mode 100644
index 0000000..59f9f29
--- /dev/null
+++ b/tests/rdfxml/ex-11.out
@@ -0,0 +1 @@
+<http://example.org/resource> <http://example.org/property> "\n <em xmlns=\"http://www.w3.org/1999/xhtml\">some markup</em>\n <a xmlns=\"http://www.w3.org/1999/xhtml\" href=\"http://example.org/somewhere/else\">blah</a>\n "^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
diff --git a/tests/rdfxml/ex-11.rdf b/tests/rdfxml/ex-11.rdf
new file mode 100644
index 0000000..db728aa
--- /dev/null
+++ b/tests/rdfxml/ex-11.rdf
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/"
+ xmlns="http://www.w3.org/1999/xhtml">
+ <!-- Check parseType literal with XML markup -->
+ <rdf:Description rdf:about="http://example.org/resource">
+ <ex:property rdf:parseType="Literal">
+ <em>some markup</em>
+ <a href="http://example.org/somewhere/else">blah</a>
+ </ex:property>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-12.out b/tests/rdfxml/ex-12.out
new file mode 100644
index 0000000..2b672da
--- /dev/null
+++ b/tests/rdfxml/ex-12.out
@@ -0,0 +1,10 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.daml.org/2001/03/daml+oil#List> .
+_:genid1 <http://www.daml.org/2001/03/daml+oil#first> <http://example.org/resource1> .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.daml.org/2001/03/daml+oil#List> .
+_:genid2 <http://www.daml.org/2001/03/daml+oil#first> <http://example.org/resource2> .
+_:genid1 <http://www.daml.org/2001/03/daml+oil#rest> _:genid2 .
+_:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.daml.org/2001/03/daml+oil#List> .
+_:genid3 <http://www.daml.org/2001/03/daml+oil#first> <http://example.org/resource3> .
+_:genid2 <http://www.daml.org/2001/03/daml+oil#rest> _:genid3 .
+_:genid3 <http://www.daml.org/2001/03/daml+oil#rest> <http://www.daml.org/2001/03/daml+oil#nil> .
+<http://example.org/resource> <http://example.org/property> _:genid1 .
diff --git a/tests/rdfxml/ex-12.rdf b/tests/rdfxml/ex-12.rdf
new file mode 100644
index 0000000..97328cc
--- /dev/null
+++ b/tests/rdfxml/ex-12.rdf
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/">
+ <!-- Check parseType daml:Collection -->
+ <rdf:Description rdf:about="http://example.org/resource">
+ <ex:property rdf:parseType="daml:collection">
+ <rdf:Description rdf:about="http://example.org/resource1"/>
+ <rdf:Description rdf:about="http://example.org/resource2"/>
+ <rdf:Description rdf:about="http://example.org/resource3"/>
+ </ex:property>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-13.out b/tests/rdfxml/ex-13.out
new file mode 100644
index 0000000..7b6b5da
--- /dev/null
+++ b/tests/rdfxml/ex-13.out
@@ -0,0 +1,3 @@
+_:genid2 <http://somewhere.example.com/base64> "jd8734djr08347jyd4" .
+_:genid1 <http://somewhere.example.com/hash-sha-1> _:genid2 .
+<http://www.w3.org/> <http://somewhere.example.com/xml-cannonicalized> _:genid1 .
diff --git a/tests/rdfxml/ex-13.rdf b/tests/rdfxml/ex-13.rdf
new file mode 100644
index 0000000..0791762
--- /dev/null
+++ b/tests/rdfxml/ex-13.rdf
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:play="http://somewhere.example.com/"
+ xmlns:enc="http://somewhere.example.com/">
+ <!-- Check this doesn't crash anymore - parseType="Resource" -->
+
+ <!-- Should generate 3 statements as described in ex-13.out -->
+
+<rdf:Description rdf:about="http://www.w3.org/">
+ <play:xml-cannonicalized rdf:parseType="Resource">
+ <enc:hash-sha-1 rdf:parseType="Resource">
+ <enc:base64>jd8734djr08347jyd4</enc:base64>
+ </enc:hash-sha-1>
+ </play:xml-cannonicalized>
+</rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-14.out b/tests/rdfxml/ex-14.out
new file mode 100644
index 0000000..5b19c55
--- /dev/null
+++ b/tests/rdfxml/ex-14.out
@@ -0,0 +1,4 @@
+<http://example.org/person1/> <http://www.mygenealogy.com/Parent> <http://librdf.org/raptor/tests/ex-14.rdf#Person_B> .
+<http://librdf.org/raptor/tests/ex-14.rdf#Person_B> <http://www.gedcom.com/Name> "John Doe" .
+<http://librdf.org/raptor/tests/ex-14.rdf#Person_B> <http://www.gedcom.com/Birthplace> "New York" .
+<http://librdf.org/raptor/tests/ex-14.rdf#Person_B> <http://www.gedcom.com/DOB> "19010101" .
diff --git a/tests/rdfxml/ex-14.rdf b/tests/rdfxml/ex-14.rdf
new file mode 100644
index 0000000..378c4cd
--- /dev/null
+++ b/tests/rdfxml/ex-14.rdf
@@ -0,0 +1,18 @@
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:gen="http://www.mygenealogy.com/"
+ xmlns:gdc="http://www.gedcom.com/">
+
+ <!-- Check this doesn't crash / leak memory handling propElm rdf:resource -->
+
+ <!-- Can't remember where this example came from, I've anonymised it -->
+
+ <rdf:Description rdf:about="http://example.org/person1/">
+ <gen:Parent rdf:resource="#Person_B"/>
+ </rdf:Description>
+
+ <rdf:Description rdf:ID="Person_B">
+ <gdc:Name>John Doe</gdc:Name>
+ <gdc:Birthplace>New York</gdc:Birthplace>
+ <gdc:DOB>19010101</gdc:DOB>
+ </rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-15.out b/tests/rdfxml/ex-15.out
new file mode 100644
index 0000000..e7bb594
--- /dev/null
+++ b/tests/rdfxml/ex-15.out
@@ -0,0 +1 @@
+<http://example.com/resource1/> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Class/foo> .
diff --git a/tests/rdfxml/ex-15.rdf b/tests/rdfxml/ex-15.rdf
new file mode 100644
index 0000000..0923427
--- /dev/null
+++ b/tests/rdfxml/ex-15.rdf
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:a="http://example.com/properties/">
+ <!-- Test rdf:Description with rdf type attribute-->
+ <rdf:Description rdf:about="http://example.com/resource1/" rdf:type="http://example.com/Class/foo" />
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-16.out b/tests/rdfxml/ex-16.out
new file mode 100644
index 0000000..0b42c8a
--- /dev/null
+++ b/tests/rdfxml/ex-16.out
@@ -0,0 +1 @@
+<http://example.com/resource1/> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "the content" .
diff --git a/tests/rdfxml/ex-16.rdf b/tests/rdfxml/ex-16.rdf
new file mode 100644
index 0000000..4300fdb
--- /dev/null
+++ b/tests/rdfxml/ex-16.rdf
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:a="http://example.com/properties/">
+ <!-- Test rdf:Description with rdf value attribute-->
+ <rdf:Description rdf:about="http://example.com/resource1/" rdf:value="the content" />
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-17.out b/tests/rdfxml/ex-17.out
new file mode 100644
index 0000000..b3d961f
--- /dev/null
+++ b/tests/rdfxml/ex-17.out
@@ -0,0 +1 @@
+<http://example.com/> <http://example.com/properties/property> "" .
diff --git a/tests/rdfxml/ex-17.rdf b/tests/rdfxml/ex-17.rdf
new file mode 100644
index 0000000..6c43ca7
--- /dev/null
+++ b/tests/rdfxml/ex-17.rdf
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:a="http://example.com/properties/">
+ <!-- Test empty propertyElt -->
+ <rdf:Description about="http://example.com/">
+ <a:property />
+ </rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-18.out b/tests/rdfxml/ex-18.out
new file mode 100644
index 0000000..8249861
--- /dev/null
+++ b/tests/rdfxml/ex-18.out
@@ -0,0 +1 @@
+<http://example.org/> <http://example.com/properties/prop> "Example" .
diff --git a/tests/rdfxml/ex-18.rdf b/tests/rdfxml/ex-18.rdf
new file mode 100644
index 0000000..1723d38
--- /dev/null
+++ b/tests/rdfxml/ex-18.rdf
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<rdf:Description xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:a="http://example.com/properties/"
+ rdf:about="http://example.org/">
+ <!-- Test missing <rdf:RDF> outer container -->
+ <a:prop>Example</a:prop>
+</rdf:Description>
diff --git a/tests/rdfxml/ex-19.out b/tests/rdfxml/ex-19.out
new file mode 100644
index 0000000..81da8a0
--- /dev/null
+++ b/tests/rdfxml/ex-19.out
@@ -0,0 +1 @@
+<http://example.org/resource> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/foo> .
diff --git a/tests/rdfxml/ex-19.rdf b/tests/rdfxml/ex-19.rdf
new file mode 100644
index 0000000..83efc23
--- /dev/null
+++ b/tests/rdfxml/ex-19.rdf
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<a:foo xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:a="http://example.org/"
+ rdf:about="http://example.org/resource"/>
diff --git a/tests/rdfxml/ex-20.out b/tests/rdfxml/ex-20.out
new file mode 100644
index 0000000..c19cb9a
--- /dev/null
+++ b/tests/rdfxml/ex-20.out
@@ -0,0 +1 @@
+<http://librdf.org/raptor/tests/ex-20.rdf#foo> <http://example.com/properties/property> <http://example.org/object> .
diff --git a/tests/rdfxml/ex-20.rdf b/tests/rdfxml/ex-20.rdf
new file mode 100644
index 0000000..15ad7ff
--- /dev/null
+++ b/tests/rdfxml/ex-20.rdf
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:a="http://example.com/properties/">
+ <!-- test that rdf:ID generates the right URI -->
+ <rdf:Description rdf:ID="foo">
+ <a:property rdf:resource="http://example.org/object"/>
+ </rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-21.out b/tests/rdfxml/ex-21.out
new file mode 100644
index 0000000..01ecf19
--- /dev/null
+++ b/tests/rdfxml/ex-21.out
@@ -0,0 +1,7 @@
+<http://example.org/thing1> <http://example.org/foo#type> "val1" .
+<http://example.org/thing1> <http://example.org/bar#type> "val2" .
+<http://example.org/thing2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/foo#Description> .
+<http://example.org/thing2> <http://example.org/bar#prop1> "val1" .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/bar#Description> .
+_:genid1 <http://example.org/bar#about> "http://example.org/thing3" .
+_:genid1 <http://example.org/bar#prop1> "val1" .
diff --git a/tests/rdfxml/ex-21.rdf b/tests/rdfxml/ex-21.rdf
new file mode 100644
index 0000000..f6b95b9
--- /dev/null
+++ b/tests/rdfxml/ex-21.rdf
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rd="http://example.org/foo#"
+ xmlns:r="http://example.org/bar#">
+ <!-- Tests that the rdf prefix is recognised correctly -->
+ <rdf:Description rdf:about="http://example.org/thing1" rd:type="val1" r:type="val2" />
+ <rd:Description rdf:about="http://example.org/thing2" r:prop1="val1" />
+ <r:Description r:about="http://example.org/thing3" r:prop1="val1" />
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-22.out b/tests/rdfxml/ex-22.out
new file mode 100644
index 0000000..46b4e2e
--- /dev/null
+++ b/tests/rdfxml/ex-22.out
@@ -0,0 +1,4 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> .
+<http://librdf.org/raptor/tests/ex-22.rdf#myid> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example/org/foo/thing> .
+<http://librdf.org/raptor/tests/ex-22.rdf#myid> <http://example/org/foo/prop> "value" .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> <http://librdf.org/raptor/tests/ex-22.rdf#myid> .
diff --git a/tests/rdfxml/ex-22.rdf b/tests/rdfxml/ex-22.rdf
new file mode 100644
index 0000000..038d8e7
--- /dev/null
+++ b/tests/rdfxml/ex-22.rdf
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example/org/foo/">
+ <!-- Test rdf:ID is handled on a typedNode -->
+ <rdf:Seq>
+ <rdf:li><ex:thing rdf:ID="myid">
+ <ex:prop>value</ex:prop>
+ </ex:thing></rdf:li>
+ </rdf:Seq>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-23.out b/tests/rdfxml/ex-23.out
new file mode 100644
index 0000000..009032f
--- /dev/null
+++ b/tests/rdfxml/ex-23.out
@@ -0,0 +1,8 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.example.org/ns1#foo> .
+_:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.example.org/ns1#Type1> .
+_:genid2 <http://www.example.org/ns1#prop1> _:genid3 .
+_:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.example.org/ns1#Type2> .
+_:genid2 <http://www.example.org/ns1#prop2> _:genid4 .
+_:genid5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.example.org/ns1#Type3> .
+_:genid2 <http://www.example.org/ns1#prop3> _:genid5 .
+_:genid1 <http://www.example.org/ns1#bar> _:genid2 .
diff --git a/tests/rdfxml/ex-23.rdf b/tests/rdfxml/ex-23.rdf
new file mode 100644
index 0000000..72a5dc2
--- /dev/null
+++ b/tests/rdfxml/ex-23.rdf
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns="http://www.example.org/ns1#" >
+
+ <!-- Test embedded parseType resources works ok -->
+
+ <foo> <!-- node subject genid 1 -->
+
+ <bar rdf:parseType="Resource"> <!-- object of 'bar' is genid 2 -->
+
+ <prop1 rdf:parseType="Resource"> <!-- object of 'prop1' is genid 3 -->
+ <rdf:type rdf:resource="http://www.example.org/ns1#Type1"/>
+ </prop1>
+
+ <prop2 rdf:parseType="Resource"> <!-- object of 'prop2' is genid 4 -->
+ <rdf:type rdf:resource="http://www.example.org/ns1#Type2"/>
+ </prop2>
+
+ <prop3 rdf:parseType="Resource"> <!-- object of 'prop3' is genid 5 -->
+ <rdf:type rdf:resource="http://www.example.org/ns1#Type3"/>
+ </prop3>
+
+ </bar>
+
+ </foo>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-24.out b/tests/rdfxml/ex-24.out
new file mode 100644
index 0000000..e328430
--- /dev/null
+++ b/tests/rdfxml/ex-24.out
@@ -0,0 +1,6 @@
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.daml.org/2001/03/daml+oil#List> .
+_:genid2 <http://www.daml.org/2001/03/daml+oil#first> _:genid1 .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/foo#node2> .
+_:genid1 <http://example.org/foo#prop2> <http://example.org/node3> .
+_:genid2 <http://www.daml.org/2001/03/daml+oil#rest> <http://www.daml.org/2001/03/daml+oil#nil> .
+<http://example.org/node1> <http://example.org/foo#prop1> _:genid2 .
diff --git a/tests/rdfxml/ex-24.rdf b/tests/rdfxml/ex-24.rdf
new file mode 100644
index 0000000..c22b0be
--- /dev/null
+++ b/tests/rdfxml/ex-24.rdf
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:ex="http://example.org/foo#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+
+ <!-- Check parseType daml:Collection with a typed node inside -->
+
+ <rdf:Description rdf:about="http://example.org/node1">
+ <ex:prop1 rdf:parseType="daml:collection">
+ <ex:node2>
+ <ex:prop2 rdf:resource="http://example.org/node3" />
+ </ex:node2>
+ </ex:prop1>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-25.out b/tests/rdfxml/ex-25.out
new file mode 100644
index 0000000..35f572b
--- /dev/null
+++ b/tests/rdfxml/ex-25.out
@@ -0,0 +1,4 @@
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> "1" .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> "_1" .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_2> "2" .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_3> "_3" .
diff --git a/tests/rdfxml/ex-25.rdf b/tests/rdfxml/ex-25.rdf
new file mode 100644
index 0000000..d6b2ae5
--- /dev/null
+++ b/tests/rdfxml/ex-25.rdf
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:ex="http://example.org/foo#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+
+ <!-- Check mixing rdf:li and rdf:_n works -->
+
+ <rdf:Description rdf:about="http://example.org/node">
+ <rdf:li>1</rdf:li>
+ <rdf:_1>_1</rdf:_1>
+ <rdf:li>2</rdf:li>
+ <rdf:_3>_3</rdf:_3>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-26.out b/tests/rdfxml/ex-26.out
new file mode 100644
index 0000000..feb6a7f
--- /dev/null
+++ b/tests/rdfxml/ex-26.out
@@ -0,0 +1,2 @@
+<http://example.org/#blah> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/#foo> .
+<http://example.org/#blah> <http://example.org/#prop> "content" .
diff --git a/tests/rdfxml/ex-26.rdf b/tests/rdfxml/ex-26.rdf
new file mode 100644
index 0000000..46ab6da
--- /dev/null
+++ b/tests/rdfxml/ex-26.rdf
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='ISO-8859-1'?>
+<!DOCTYPE rdf:RDF [
+ <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
+ <!ENTITY a 'http://example.org/#'>
+]>
+<!-- check entities get expanded in attributes -->
+<rdf:RDF xmlns:rdf="&rdf;"
+ xmlns:a="&a;">
+ <a:foo rdf:about="&a;blah">
+ <a:prop>content</a:prop>
+ </a:foo>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-27.out b/tests/rdfxml/ex-27.out
new file mode 100644
index 0000000..6da8a15
--- /dev/null
+++ b/tests/rdfxml/ex-27.out
@@ -0,0 +1,6 @@
+_:genid1 <http://example.org/ns#name> "prop1name" .
+<http://example.org/node> <http://example.org/ns#prop1> _:genid1 .
+_:genid2 <http://example.org/ns#name> "prop2name" .
+<http://example.org/node> <http://example.org/ns#prop2> _:genid2 .
+_:genid3 <http://example.org/ns#name> "prop3name" .
+<http://example.org/node> <http://example.org/ns#prop3> _:genid3 .
diff --git a/tests/rdfxml/ex-27.rdf b/tests/rdfxml/ex-27.rdf
new file mode 100644
index 0000000..fadc284
--- /dev/null
+++ b/tests/rdfxml/ex-27.rdf
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns="http://example.org/ns#">
+
+ <rdf:Description rdf:about="http://example.org/node">
+ <prop1 rdf:parseType="Resource">
+ <name>prop1name</name>
+ </prop1>
+
+ <prop2 rdf:parseType="Resource">
+ <name>prop2name</name>
+ </prop2>
+
+ <prop3 rdf:parseType="Resource">
+ <name>prop3name</name>
+ </prop3>
+
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-28.out b/tests/rdfxml/ex-28.out
new file mode 100644
index 0000000..f0b7a60
--- /dev/null
+++ b/tests/rdfxml/ex-28.out
@@ -0,0 +1,3 @@
+_:genid1 <http://example.org/ns#innerprop> "foo" .
+<http://example.org/node> <http://example.org/ns#prop1> _:genid1 .
+<http://example.org/node> <http://example.org/ns#prop2> "literal" .
diff --git a/tests/rdfxml/ex-28.rdf b/tests/rdfxml/ex-28.rdf
new file mode 100644
index 0000000..cafe0bd
--- /dev/null
+++ b/tests/rdfxml/ex-28.rdf
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns="http://example.org/ns#">
+
+ <rdf:Description rdf:about="http://example.org/node">
+ <prop1 rdf:parseType="Resource">
+ <innerprop>foo</innerprop>
+ </prop1>
+
+ <prop2>literal</prop2>
+
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-29.out b/tests/rdfxml/ex-29.out
new file mode 100644
index 0000000..0fac532
--- /dev/null
+++ b/tests/rdfxml/ex-29.out
@@ -0,0 +1,3 @@
+<http://example.org/node> <http://example.org/ns#prop1> "chat"@en .
+<http://example.org/node> <http://example.org/ns#prop2> "chat"@fr .
+<http://example.org/node> <http://example.org/ns#prop3> "chat" .
diff --git a/tests/rdfxml/ex-29.rdf b/tests/rdfxml/ex-29.rdf
new file mode 100644
index 0000000..1f94787
--- /dev/null
+++ b/tests/rdfxml/ex-29.rdf
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns="http://example.org/ns#">
+
+ <!-- Test xml:lang info gets passed to output -->
+
+ <rdf:Description rdf:about="http://example.org/node">
+ <prop1 xml:lang="en">chat</prop1>
+ <prop2 xml:lang="fr">chat</prop2>
+ <prop3>chat</prop3>
+
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-30.out b/tests/rdfxml/ex-30.out
new file mode 100644
index 0000000..7d6af55
--- /dev/null
+++ b/tests/rdfxml/ex-30.out
@@ -0,0 +1 @@
+<http://example.org/node/> <http://example.org/ns2#prop1> "blah" .
diff --git a/tests/rdfxml/ex-30.rdf b/tests/rdfxml/ex-30.rdf
new file mode 100644
index 0000000..4f4ef77
--- /dev/null
+++ b/tests/rdfxml/ex-30.rdf
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<web:RDF xmlns:web="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns="http://example.org/ns1#"
+ xmlns:ex="http://example.org/ns2#" >
+ <!-- test that (legacy) bare about works when a default
+ namespace is defined
+ -->
+ <web:Description about="http://example.org/node/">
+ <ex:prop1>blah</ex:prop1>
+ </web:Description>
+</web:RDF>
diff --git a/tests/rdfxml/ex-31.out b/tests/rdfxml/ex-31.out
new file mode 100644
index 0000000..bc9f58e
--- /dev/null
+++ b/tests/rdfxml/ex-31.out
@@ -0,0 +1,5 @@
+_:genid1 <http://example.org/ns#prop1> "foo" .
+_:genid1 <http://example.org/ns#prop2> "blah" .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> _:genid1 .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_2> "2" .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_3> "_3" .
diff --git a/tests/rdfxml/ex-31.rdf b/tests/rdfxml/ex-31.rdf
new file mode 100644
index 0000000..45833dd
--- /dev/null
+++ b/tests/rdfxml/ex-31.rdf
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:ex="http://example.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+
+ <!-- Check rdf:li works on an parseType="Resource" property -->
+
+ <rdf:Description rdf:about="http://example.org/node">
+ <rdf:li rdf:parseType="Resource">
+ <ex:prop1>foo</ex:prop1>
+ <ex:prop2>blah</ex:prop2>
+ </rdf:li>
+ <rdf:li>2</rdf:li>
+ <rdf:_3>_3</rdf:_3>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-32.out b/tests/rdfxml/ex-32.out
new file mode 100644
index 0000000..c95d607
--- /dev/null
+++ b/tests/rdfxml/ex-32.out
@@ -0,0 +1,2 @@
+<http://example.org/node2> <http://example.org/ns/prop2> "literal" .
+<http://example.org/node1> <http://example.org/ns/prop1> <http://example.org/node2> .
diff --git a/tests/rdfxml/ex-32.rdf b/tests/rdfxml/ex-32.rdf
new file mode 100644
index 0000000..34ebef3
--- /dev/null
+++ b/tests/rdfxml/ex-32.rdf
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/ns/">
+
+ <!-- Test property attribute with rdf:resource -->
+
+ <rdf:Description rdf:about="http://example.org/node1">
+ <ex:prop1 rdf:resource="http://example.org/node2" ex:prop2="literal" />
+ </rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-33.out b/tests/rdfxml/ex-33.out
new file mode 100644
index 0000000..0165ec8
--- /dev/null
+++ b/tests/rdfxml/ex-33.out
@@ -0,0 +1,3 @@
+_:genid1 <http://example.org/ns#prop2> "literal2" .
+_:genid1 <http://example.org/ns#prop3> "literal3" .
+<http://example.org/node> <http://example.org/ns#prop1> _:genid1 .
diff --git a/tests/rdfxml/ex-33.rdf b/tests/rdfxml/ex-33.rdf
new file mode 100644
index 0000000..76b04bc
--- /dev/null
+++ b/tests/rdfxml/ex-33.rdf
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/ns#">
+
+ <!-- check that an empty property element gives properties of
+ the generated node
+ -->
+
+ <rdf:Description rdf:about="http://example.org/node">
+ <ex:prop1 ex:prop2="literal2" ex:prop3="literal3" />
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-34.out b/tests/rdfxml/ex-34.out
new file mode 100644
index 0000000..fbb9ccf
--- /dev/null
+++ b/tests/rdfxml/ex-34.out
@@ -0,0 +1,9 @@
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.daml.org/2001/03/daml+oil#List> .
+_:genid2 <http://www.daml.org/2001/03/daml+oil#first> _:genid1 .
+_:genid1 <http://www.example.org/ns#prop2> <http://example.org/node2> .
+_:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.daml.org/2001/03/daml+oil#List> .
+_:genid4 <http://www.daml.org/2001/03/daml+oil#first> _:genid3 .
+_:genid2 <http://www.daml.org/2001/03/daml+oil#rest> _:genid4 .
+_:genid3 <http://www.example.org/ns#prop3> <http://example.org/node3> .
+_:genid4 <http://www.daml.org/2001/03/daml+oil#rest> <http://www.daml.org/2001/03/daml+oil#nil> .
+<http://example.org/node1> <http://www.example.org/ns#prop1> _:genid2 .
diff --git a/tests/rdfxml/ex-34.rdf b/tests/rdfxml/ex-34.rdf
new file mode 100644
index 0000000..25c132f
--- /dev/null
+++ b/tests/rdfxml/ex-34.rdf
@@ -0,0 +1,19 @@
+<rdf:RDF xmlns:ex="http://www.example.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+
+ <!-- check daml:collection generates the right structure with
+ blank nodes inside -->
+
+ <rdf:Description rdf:about="http://example.org/node1">
+ <ex:prop1 rdf:parseType="daml:collection">
+ <rdf:Description>
+ <ex:prop2 rdf:resource="http://example.org/node2" />
+ </rdf:Description>
+ <rdf:Description>
+ <ex:prop3 rdf:resource="http://example.org/node3" />
+ </rdf:Description>
+ </ex:prop1>
+ </rdf:Description>
+</rdf:RDF>
+
+
diff --git a/tests/rdfxml/ex-35.out b/tests/rdfxml/ex-35.out
new file mode 100644
index 0000000..5541d00
--- /dev/null
+++ b/tests/rdfxml/ex-35.out
@@ -0,0 +1 @@
+<http://example.org/resource> <http://example.org/property> <http://www.daml.org/2001/03/daml+oil#nil> .
diff --git a/tests/rdfxml/ex-35.rdf b/tests/rdfxml/ex-35.rdf
new file mode 100644
index 0000000..9cea016
--- /dev/null
+++ b/tests/rdfxml/ex-35.rdf
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/">
+ <!-- Check empty parseType daml:Collection -->
+ <rdf:Description rdf:about="http://example.org/resource">
+ <ex:property rdf:parseType="daml:collection">
+ </ex:property>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-36.out b/tests/rdfxml/ex-36.out
new file mode 100644
index 0000000..1137dba
--- /dev/null
+++ b/tests/rdfxml/ex-36.out
@@ -0,0 +1,4 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.daml.org/2001/03/daml+oil#List> .
+_:genid1 <http://www.daml.org/2001/03/daml+oil#first> <http://example.org/resource1> .
+_:genid1 <http://www.daml.org/2001/03/daml+oil#rest> <http://www.daml.org/2001/03/daml+oil#nil> .
+<http://example.org/resource> <http://example.org/property> _:genid1 .
diff --git a/tests/rdfxml/ex-36.rdf b/tests/rdfxml/ex-36.rdf
new file mode 100644
index 0000000..e4dcbdf
--- /dev/null
+++ b/tests/rdfxml/ex-36.rdf
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/">
+ <!-- Check parseType daml:Collection -->
+ <rdf:Description rdf:about="http://example.org/resource">
+ <ex:property rdf:parseType="daml:collection">
+ <rdf:Description rdf:about="http://example.org/resource1"/>
+ </ex:property>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-37.out b/tests/rdfxml/ex-37.out
new file mode 100644
index 0000000..ab1dd96
--- /dev/null
+++ b/tests/rdfxml/ex-37.out
@@ -0,0 +1,2 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/ns#Thing> .
+<http://example.org/node> <http://example.org/ns#prop> _:genid1 .
diff --git a/tests/rdfxml/ex-37.rdf b/tests/rdfxml/ex-37.rdf
new file mode 100644
index 0000000..f43864c
--- /dev/null
+++ b/tests/rdfxml/ex-37.rdf
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/ns#">
+
+ <!-- Test rdf:type with a (URI) value gets propogated to the
+ generated blank node
+ -->
+
+ <rdf:Description rdf:about="http://example.org/node">
+ <ex:prop rdf:type="http://example.org/ns#Thing"></ex:prop>
+ </rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-38-rdfxmla.out b/tests/rdfxml/ex-38-rdfxmla.out
new file mode 100644
index 0000000..662c10f
--- /dev/null
+++ b/tests/rdfxml/ex-38-rdfxmla.out
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF xmlns:ex="http://example.org/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <rdf:Statement rdf:about="http://example.org/ns#foo">
+ <rdf:object rdf:nodeID="genid1"/>
+ <rdf:predicate rdf:resource="http://example.org/property"/>
+ <rdf:subject rdf:resource="http://example.org/resource"/>
+ </rdf:Statement>
+ <rdf:Description rdf:about="http://example.org/resource">
+ <ex:property rdf:nodeID="genid1"/>
+ </rdf:Description>
+ <ns1:List xmlns:ns1="http://www.daml.org/2001/03/daml+oil#"
+ rdf:nodeID="genid1">
+ <ns1:first rdf:resource="http://example.org/resource1"/>
+ <ns1:rest rdf:resource="http://www.daml.org/2001/03/daml+oil#nil"/>
+ </ns1:List>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-38.out b/tests/rdfxml/ex-38.out
new file mode 100644
index 0000000..0f77c60
--- /dev/null
+++ b/tests/rdfxml/ex-38.out
@@ -0,0 +1,8 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.daml.org/2001/03/daml+oil#List> .
+_:genid1 <http://www.daml.org/2001/03/daml+oil#first> <http://example.org/resource1> .
+_:genid1 <http://www.daml.org/2001/03/daml+oil#rest> <http://www.daml.org/2001/03/daml+oil#nil> .
+<http://example.org/resource> <http://example.org/property> _:genid1 .
+<http://example.org/ns#foo> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
+<http://example.org/ns#foo> <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://example.org/resource> .
+<http://example.org/ns#foo> <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://example.org/property> .
+<http://example.org/ns#foo> <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> _:genid1 .
diff --git a/tests/rdfxml/ex-38.rdf b/tests/rdfxml/ex-38.rdf
new file mode 100644
index 0000000..a4f89ca
--- /dev/null
+++ b/tests/rdfxml/ex-38.rdf
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/"
+ xml:base="http://example.org/ns">
+ <!-- Check parseType daml:Collection and rdf:ID -->
+ <rdf:Description rdf:about="http://example.org/resource">
+ <ex:property rdf:ID="foo" rdf:parseType="daml:collection">
+ <rdf:Description rdf:about="http://example.org/resource1"/>
+ </ex:property>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-39.out b/tests/rdfxml/ex-39.out
new file mode 100644
index 0000000..b7277e6
--- /dev/null
+++ b/tests/rdfxml/ex-39.out
@@ -0,0 +1,7 @@
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid1 .
+_:genid1 <http://www.example.org/ns#prop2> <http://example.org/node2> .
+_:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid3 .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid4 .
+_:genid3 <http://www.example.org/ns#prop3> <http://example.org/node3> .
+_:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://example.org/node1> <http://www.example.org/ns#prop1> _:genid2 .
diff --git a/tests/rdfxml/ex-39.rdf b/tests/rdfxml/ex-39.rdf
new file mode 100644
index 0000000..ebf858d
--- /dev/null
+++ b/tests/rdfxml/ex-39.rdf
@@ -0,0 +1,16 @@
+<rdf:RDF xmlns:ex="http://www.example.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+
+ <!-- check rdf:parseType="Collection" -->
+
+ <rdf:Description rdf:about="http://example.org/node1">
+ <ex:prop1 rdf:parseType="Collection">
+ <rdf:Description>
+ <ex:prop2 rdf:resource="http://example.org/node2" />
+ </rdf:Description>
+ <rdf:Description>
+ <ex:prop3 rdf:resource="http://example.org/node3" />
+ </rdf:Description>
+ </ex:prop1>
+ </rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-40.out b/tests/rdfxml/ex-40.out
new file mode 100644
index 0000000..3d11de9
--- /dev/null
+++ b/tests/rdfxml/ex-40.out
@@ -0,0 +1 @@
+<http://example.org/node0> <http://www.example.org/ns#prop> "value" .
diff --git a/tests/rdfxml/ex-40.rdf b/tests/rdfxml/ex-40.rdf
new file mode 100644
index 0000000..1fb8f41
--- /dev/null
+++ b/tests/rdfxml/ex-40.rdf
@@ -0,0 +1,9 @@
+<rdf:RDF xmlns:ex="http://www.example.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+
+ <!-- check XML CDATA sections work -->
+
+ <rdf:Description rdf:about="http://example.org/node0">
+ <ex:prop><![CDATA[value]]></ex:prop>
+ </rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-41.out b/tests/rdfxml/ex-41.out
new file mode 100644
index 0000000..6d07f59
--- /dev/null
+++ b/tests/rdfxml/ex-41.out
@@ -0,0 +1,3 @@
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> "val1"^^<http://example.org/datatype1> .
+<http://example.org/node> <http://example.org/ns#prop2> "val2"^^<http://example.org/datatype2> .
+<http://example.org/node> <http://example.org/ns#prop3> "val3"^^<http://example.org/datatype3> .
diff --git a/tests/rdfxml/ex-41.rdf b/tests/rdfxml/ex-41.rdf
new file mode 100644
index 0000000..0e430ca
--- /dev/null
+++ b/tests/rdfxml/ex-41.rdf
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:ex="http://example.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+
+ <!-- Check rdf:datatype attribute on property elements -->
+
+ <rdf:Description rdf:about="http://example.org/node">
+ <rdf:li rdf:datatype="http://example.org/datatype1">val1</rdf:li>
+ <ex:prop2 rdf:datatype="http://example.org/datatype2">val2</ex:prop2>
+ <ex:prop3 rdf:datatype="http://example.org/datatype3" xml:lang="de">val3</ex:prop3>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-42.out b/tests/rdfxml/ex-42.out
new file mode 100644
index 0000000..6719743
--- /dev/null
+++ b/tests/rdfxml/ex-42.out
@@ -0,0 +1,19 @@
+<http://example.org/triples#bag> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> .
+<http://example.org/node> <http://example.org/ns#prop1> "val1" .
+<http://example.org/triples#bag> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> <http://example.org/triples#triple1> .
+<http://example.org/triples#triple1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
+<http://example.org/triples#triple1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://example.org/node> .
+<http://example.org/triples#triple1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://example.org/ns#prop1> .
+<http://example.org/triples#triple1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> "val1" .
+<http://example.org/node> <http://example.org/ns#prop2> "val2" .
+<http://example.org/triples#bag> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_2> <http://example.org/triples#triple2> .
+<http://example.org/triples#triple2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
+<http://example.org/triples#triple2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://example.org/node> .
+<http://example.org/triples#triple2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://example.org/ns#prop2> .
+<http://example.org/triples#triple2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> "val2" .
+<http://example.org/node> <http://example.org/ns#prop3> "val3"@en .
+<http://example.org/triples#bag> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_3> <http://example.org/triples#triple3> .
+<http://example.org/triples#triple3> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
+<http://example.org/triples#triple3> <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://example.org/node> .
+<http://example.org/triples#triple3> <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://example.org/ns#prop3> .
+<http://example.org/triples#triple3> <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> "val3"@en .
diff --git a/tests/rdfxml/ex-42.rdf b/tests/rdfxml/ex-42.rdf
new file mode 100644
index 0000000..593fb18
--- /dev/null
+++ b/tests/rdfxml/ex-42.rdf
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:ex="http://example.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xml:base="http://example.org/triples">
+
+ <!-- rdf:bagID when all the triples are given explicit rdf:IDs -->
+
+ <rdf:Description rdf:about="http://example.org/node" rdf:bagID="bag">
+ <ex:prop1 rdf:ID="triple1">val1</ex:prop1>
+ <ex:prop2 rdf:ID="triple2">val2</ex:prop2>
+ <ex:prop3 rdf:ID="triple3" xml:lang="en">val3</ex:prop3>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-43.out b/tests/rdfxml/ex-43.out
new file mode 100644
index 0000000..c66b497
--- /dev/null
+++ b/tests/rdfxml/ex-43.out
@@ -0,0 +1,7 @@
+<http://example.org/triples#bag> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> .
+<http://example.org/node> <http://example.org/ns#prop1> "val1" .
+<http://example.org/triples#bag> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> _:genid1 .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://example.org/node> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://example.org/ns#prop1> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> "val1" .
diff --git a/tests/rdfxml/ex-43.rdf b/tests/rdfxml/ex-43.rdf
new file mode 100644
index 0000000..49682ae
--- /dev/null
+++ b/tests/rdfxml/ex-43.rdf
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:ex="http://example.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xml:base="http://example.org/triples">
+
+ <!-- rdf:bagID where a generated ID is needed -->
+
+ <rdf:Description rdf:about="http://example.org/node" rdf:bagID="bag">
+ <ex:prop1>val1</ex:prop1>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-44.out b/tests/rdfxml/ex-44.out
new file mode 100644
index 0000000..5fc4608
--- /dev/null
+++ b/tests/rdfxml/ex-44.out
@@ -0,0 +1,8 @@
+<http://example.org/triples#bag1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> .
+_:genid1 <http://example.org/ns#prop2> "val2" .
+<http://example.org/triples#bag1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> _:genid2 .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> _:genid1 .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://example.org/ns#prop2> .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> "val2" .
+<http://example.org/node> <http://example.org/ns#prop1> _:genid1 .
diff --git a/tests/rdfxml/ex-44.rdf b/tests/rdfxml/ex-44.rdf
new file mode 100644
index 0000000..7715a4f
--- /dev/null
+++ b/tests/rdfxml/ex-44.rdf
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:ex="http://example.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xml:base="http://example.org/triples">
+
+ <!-- rdf:bagID on an empty property element (only type allowed) -->
+
+ <rdf:Description rdf:about="http://example.org/node">
+ <ex:prop1 rdf:bagID="bag1" ex:prop2="val2" />
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-45.out b/tests/rdfxml/ex-45.out
new file mode 100644
index 0000000..87a6570
--- /dev/null
+++ b/tests/rdfxml/ex-45.out
@@ -0,0 +1,2 @@
+<http://example.org/triples#bag1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> .
+<http://example.org/node> <http://example.org/ns#prop1> "" .
diff --git a/tests/rdfxml/ex-45.rdf b/tests/rdfxml/ex-45.rdf
new file mode 100644
index 0000000..b9ec8e9
--- /dev/null
+++ b/tests/rdfxml/ex-45.rdf
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:ex="http://example.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xml:base="http://example.org/triples">
+
+ <!-- rdf:bagID on an empty property element -->
+
+ <rdf:Description rdf:about="http://example.org/node">
+ <ex:prop1 rdf:bagID="bag1" />
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-46.out b/tests/rdfxml/ex-46.out
new file mode 100644
index 0000000..d0938ce
--- /dev/null
+++ b/tests/rdfxml/ex-46.out
@@ -0,0 +1,53 @@
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt> .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#List> .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#List> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> <http://example.org/node1> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_2> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> "abc" .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> "abc" .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt> "abc" .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> "abc" .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> "abc" .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> "abc" .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#List> "abc" .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> "abc" .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> "abc" .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> "abc" .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/node1> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "abc" .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "abc" .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> "abc" .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> "abc" .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> _:node2 .
+_:node1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "apples" .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "pears"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "oranges"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "10"^^<http://www.w3.org/2000/10/XMLSchema#decimal> .
diff --git a/tests/rdfxml/ex-46.rdf b/tests/rdfxml/ex-46.rdf
new file mode 100644
index 0000000..2ee62ab
--- /dev/null
+++ b/tests/rdfxml/ex-46.rdf
@@ -0,0 +1,91 @@
+<?xml version="1.0"?>
+<!DOCTYPE rdf:RDF [
+ <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
+ <!ENTITY xsd 'http://www.w3.org/2000/10/XMLSchema#'>
+]>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:xsd="http://www.w3.org/2000/10/XMLSchema#">
+
+
+ <!-- Exercise all RDF vocabulary -->
+
+ <!-- Node elements (typed node elements)
+ http://www.w3.org/TR/rdf-syntax-grammar/#nodeElementURIs
+ -->
+ <rdf:Description rdf:about="http://example.org/node"/>
+ <rdf:Seq rdf:about="http://example.org/node"/>
+ <rdf:Bag rdf:about="http://example.org/node"/>
+ <rdf:Alt rdf:about="http://example.org/node"/>
+ <rdf:Statement rdf:about="http://example.org/node"/>
+ <rdf:Property rdf:about="http://example.org/node"/>
+ <rdf:XMLLiteral rdf:about="http://example.org/node"/>
+ <rdf:List rdf:about="http://example.org/node"/>
+ <rdf:subject rdf:about="http://example.org/node"/>
+ <rdf:predicate rdf:about="http://example.org/node"/>
+ <rdf:object rdf:about="http://example.org/node"/>
+ <rdf:type rdf:about="http://example.org/node"/>
+ <rdf:value rdf:about="http://example.org/node"/>
+ <rdf:first rdf:about="http://example.org/node"/>
+ <rdf:rest rdf:about="http://example.org/node"/>
+ <rdf:_1 rdf:about="http://example.org/node"/>
+ <rdf:nil rdf:about="http://example.org/node"/>
+
+ <!-- Property elements
+ http://www.w3.org/TR/rdf-syntax-grammar/#propertyElementURIs
+ -->
+ <rdf:Description rdf:about="http://example.org/node1">
+ <rdf:Seq rdf:resource="http://example.org/node2"/>
+ <rdf:Bag rdf:resource="http://example.org/node2"/>
+ <rdf:Alt rdf:resource="http://example.org/node2"/>
+ <rdf:Statement rdf:resource="http://example.org/node2"/>
+ <rdf:Property rdf:resource="http://example.org/node2"/>
+ <rdf:XMLLiteral rdf:resource="http://example.org/node2"/>
+ <rdf:List rdf:resource="http://example.org/node2"/>
+ <rdf:subject rdf:resource="http://example.org/node2"/>
+ <rdf:predicate rdf:resource="http://example.org/node2"/>
+ <rdf:object rdf:resource="http://example.org/node2"/>
+ <rdf:type rdf:resource="http://example.org/node2"/>
+ <rdf:value rdf:resource="http://example.org/node2"/>
+ <rdf:first rdf:resource="http://example.org/node2"/>
+ <rdf:rest rdf:resource="http://example.org/node2"/>
+ <rdf:li rdf:resource="http://example.org/node1"/>
+ <rdf:_2 rdf:resource="http://example.org/node2"/>
+ </rdf:Description>
+
+ <!-- Property attributes
+ http://www.w3.org/TR/rdf-syntax-grammar/#propertyAttributeURIs
+ -->
+ <rdf:Description rdf:about="http://example.org/node1" rdf:Seq="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdf:Bag="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdf:Alt="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdf:Statement="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdf:Property="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdf:XMLLiteral="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdf:List="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdf:subject="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdf:predicate="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdf:object="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdf:type="http://example.org/node1" />
+ <rdf:Description rdf:about="http://example.org/node1" rdf:value="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdf:first="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdf:rest="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdf:_1="abc" />
+
+ <!-- nodeID for triples with blank node object and subjects -->
+ <rdf:Description rdf:about="http://example.org/node1">
+ <rdf:value rdf:nodeID="node2"/>
+ </rdf:Description>
+ <rdf:Description rdf:nodeID="node1">
+ <rdf:value rdf:resource="http://example.org/node2"/>
+ </rdf:Description>
+
+ <!-- property elements with literal values including datatyped -->
+
+ <rdf:Description rdf:about="http://example.org/node1">
+ <rdf:value>apples</rdf:value>
+ <rdf:value rdf:parseType="Literal">pears</rdf:value>
+ <rdf:value rdf:datatype="&rdf;XMLLiteral">oranges</rdf:value>
+ <rdf:value rdf:datatype="&xsd;decimal">10</rdf:value>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-47.out b/tests/rdfxml/ex-47.out
new file mode 100644
index 0000000..b668a3c
--- /dev/null
+++ b/tests/rdfxml/ex-47.out
@@ -0,0 +1,24 @@
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Literal> .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Datatype> .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Container> .
+<http://example.org/node> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty> .
+<http://example.org/node1> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/2000/01/rdf-schema#domain> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/2000/01/rdf-schema#range> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/2000/01/rdf-schema#label> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/2000/01/rdf-schema#comment> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/2000/01/rdf-schema#member> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://example.org/node2> .
+<http://example.org/node1> <http://www.w3.org/2000/01/rdf-schema#subClassOf> "abc" .
+<http://example.org/node1> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> "abc" .
+<http://example.org/node1> <http://www.w3.org/2000/01/rdf-schema#domain> "abc" .
+<http://example.org/node1> <http://www.w3.org/2000/01/rdf-schema#range> "abc" .
+<http://example.org/node1> <http://www.w3.org/2000/01/rdf-schema#label> "abc" .
+<http://example.org/node1> <http://www.w3.org/2000/01/rdf-schema#comment> "abc" .
+<http://example.org/node1> <http://www.w3.org/2000/01/rdf-schema#member> "abc" .
+<http://example.org/node1> <http://www.w3.org/2000/01/rdf-schema#seeAlso> "abc" .
+<http://example.org/node1> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> "abc" .
diff --git a/tests/rdfxml/ex-47.rdf b/tests/rdfxml/ex-47.rdf
new file mode 100644
index 0000000..d40eae4
--- /dev/null
+++ b/tests/rdfxml/ex-47.rdf
@@ -0,0 +1,51 @@
+<?xml version="1.0"?>
+<!DOCTYPE rdf:RDF [
+ <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
+ <!ENTITY xsd 'http://www.w3.org/2000/10/XMLSchema#'>
+]>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
+
+
+ <!-- Exercise all RDFS vocabulary -->
+
+ <!-- Node elements (typed node elements)
+ http://www.w3.org/TR/rdf-syntax-grammar/#nodeElementURIs
+ -->
+ <rdfs:Resource rdf:about="http://example.org/node"/>
+ <rdfs:Literal rdf:about="http://example.org/node"/>
+ <rdfs:Class rdf:about="http://example.org/node"/>
+ <rdfs:Datatype rdf:about="http://example.org/node"/>
+ <rdfs:Container rdf:about="http://example.org/node"/>
+ <rdfs:ContainerMembershipProperty rdf:about="http://example.org/node"/>
+
+ <!-- Property elements
+ http://www.w3.org/TR/rdf-syntax-grammar/#propertyElementURIs
+ -->
+ <rdf:Description rdf:about="http://example.org/node1">
+ <rdfs:subClassOf rdf:resource="http://example.org/node2"/>
+ <rdfs:subPropertyOf rdf:resource="http://example.org/node2"/>
+ <rdfs:domain rdf:resource="http://example.org/node2"/>
+ <rdfs:range rdf:resource="http://example.org/node2"/>
+ <rdfs:label rdf:resource="http://example.org/node2"/>
+ <rdfs:comment rdf:resource="http://example.org/node2"/>
+ <rdfs:member rdf:resource="http://example.org/node2"/>
+ <rdfs:seeAlso rdf:resource="http://example.org/node2"/>
+ <rdfs:isDefinedBy rdf:resource="http://example.org/node2"/>
+ </rdf:Description>
+
+
+ <!-- Property attributes
+ http://www.w3.org/TR/rdf-syntax-grammar/#propertyAttributeURIs
+ -->
+ <rdf:Description rdf:about="http://example.org/node1" rdfs:subClassOf="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdfs:subPropertyOf="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdfs:domain="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdfs:range="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdfs:label="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdfs:comment="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdfs:member="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdfs:seeAlso="abc" />
+ <rdf:Description rdf:about="http://example.org/node1" rdfs:isDefinedBy="abc" />
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-48.out b/tests/rdfxml/ex-48.out
new file mode 100644
index 0000000..607eea9
--- /dev/null
+++ b/tests/rdfxml/ex-48.out
@@ -0,0 +1,5 @@
+<http://example.org/node0> <http://example.com/properties/prop1> " &amp; "^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<http://example.org/node0> <http://example.com/properties/prop2> " &lt; "^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<http://example.org/node0> <http://example.com/properties/prop3> " &gt; "^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<http://example.org/node0> <http://example.com/properties/prop4> "&gt;&amp;&lt;"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<http://example.org/node0> <http://example.com/properties/prop5> "&lt;ex:notaprop&gt;"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
diff --git a/tests/rdfxml/ex-48.rdf b/tests/rdfxml/ex-48.rdf
new file mode 100644
index 0000000..88f469b
--- /dev/null
+++ b/tests/rdfxml/ex-48.rdf
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.com/properties/">
+
+ <!-- Check that the core SGML/XML entities are properly encoded when
+ building the XML string -->
+
+ <rdf:Description rdf:about="http://example.org/node0">
+ <ex:prop1 rdf:parseType="Literal"> &amp; </ex:prop1>
+ <ex:prop2 rdf:parseType="Literal"> &lt; </ex:prop2>
+ <ex:prop3 rdf:parseType="Literal"> &gt; </ex:prop3>
+ <ex:prop4 rdf:parseType="Literal">&gt;&amp;&lt;</ex:prop4>
+ <ex:prop5 rdf:parseType="Literal">&lt;ex:notaprop&gt;</ex:prop5>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-49.out b/tests/rdfxml/ex-49.out
new file mode 100644
index 0000000..b2cab49
--- /dev/null
+++ b/tests/rdfxml/ex-49.out
@@ -0,0 +1,4 @@
+<http://example.org/node0> <http://example.com/properties/prop1> " <foo href=\"http://example.org?foo=1&amp;bar=2\">hmm</foo> "^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<http://example.org/node0> <http://example.com/properties/prop2> " <bar a=\"'\"></bar> "^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<http://example.org/node0> <http://example.com/properties/prop3> " <baz b=\"&quot;\"></baz> "^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<http://example.org/node0> <http://example.com/properties/prop4> " <baz b=\"&lt;>\"></baz> "^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
diff --git a/tests/rdfxml/ex-49.rdf b/tests/rdfxml/ex-49.rdf
new file mode 100644
index 0000000..0e00ea1
--- /dev/null
+++ b/tests/rdfxml/ex-49.rdf
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.com/properties/">
+
+ <!-- Check attributes are properly encoded when building the XML string -->
+
+ <rdf:Description rdf:about="http://example.org/node0">
+ <ex:prop1 rdf:parseType="Literal"> <foo href="http://example.org?foo=1&amp;bar=2">hmm</foo> </ex:prop1>
+ <ex:prop2 rdf:parseType="Literal"> <bar a="&apos;"/> </ex:prop2>
+ <ex:prop3 rdf:parseType="Literal"> <baz b="&quot;"/> </ex:prop3>
+ <ex:prop4 rdf:parseType="Literal"> <baz b="&lt;&gt;"/> </ex:prop4>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-51.out b/tests/rdfxml/ex-51.out
new file mode 100644
index 0000000..b956d32
--- /dev/null
+++ b/tests/rdfxml/ex-51.out
@@ -0,0 +1 @@
+<http://example.org/node/> <http://example.org/ns#prop1> ""^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
diff --git a/tests/rdfxml/ex-51.rdf b/tests/rdfxml/ex-51.rdf
new file mode 100644
index 0000000..d2c01e3
--- /dev/null
+++ b/tests/rdfxml/ex-51.rdf
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/ns#" >
+
+ <!-- test that empty XML literal works -->
+ <rdf:Description about="http://example.org/node/">
+ <ex:prop1 rdf:parseType="Literal"></ex:prop1>
+ </rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-52.out b/tests/rdfxml/ex-52.out
new file mode 100644
index 0000000..655acea
--- /dev/null
+++ b/tests/rdfxml/ex-52.out
@@ -0,0 +1,2 @@
+<http://librdf.org/raptor/tests/ex-52.rdf> <http://purl.org/dc/elements/1.1/title> "Simple Example" .
+<http://librdf.org/raptor/tests/ex-52.rdf> <http://purl.org/dc/elements/1.1/date> "2002-10-05" .
diff --git a/tests/rdfxml/ex-52.svg b/tests/rdfxml/ex-52.svg
new file mode 100644
index 0000000..d814889
--- /dev/null
+++ b/tests/rdfxml/ex-52.svg
@@ -0,0 +1,26 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+<svg
+ height="100"
+ width="100"
+ id="blah"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ <!-- Test for searching for rdf:RDF inside some other XML -->
+
+ <!-- Note: this is legal svg - since the SVG specification allows
+ metadata such as rdf to appear inside the metadata tag
+ -->
+
+ <metadata>
+ <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <rdf:Description rdf:about="">
+ <dc:title>Simple Example</dc:title>
+ <dc:date>2002-10-05</dc:date>
+ </rdf:Description>
+ </rdf:RDF>
+ </metadata>
+
+</svg>
diff --git a/tests/rdfxml/ex-53.out b/tests/rdfxml/ex-53.out
new file mode 100644
index 0000000..7cb4b91
--- /dev/null
+++ b/tests/rdfxml/ex-53.out
@@ -0,0 +1 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/terms#a> .
diff --git a/tests/rdfxml/ex-53.rdf b/tests/rdfxml/ex-53.rdf
new file mode 100644
index 0000000..ff02ef8
--- /dev/null
+++ b/tests/rdfxml/ex-53.rdf
@@ -0,0 +1 @@
+<a xmlns="http://example.org/terms#"/>
diff --git a/tests/rdfxml/ex-54.out b/tests/rdfxml/ex-54.out
new file mode 100644
index 0000000..36a1d29
--- /dev/null
+++ b/tests/rdfxml/ex-54.out
@@ -0,0 +1 @@
+<http://example.org/res/> <http://example.org/foo> "They\u2019re artistic\u2026uhm, bugs, at the very least."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
diff --git a/tests/rdfxml/ex-54.rdf b/tests/rdfxml/ex-54.rdf
new file mode 100644
index 0000000..462e8f6
--- /dev/null
+++ b/tests/rdfxml/ex-54.rdf
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF xmlns:ex="http://example.org/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+<rdf:Description rdf:about="http://example.org/res/">
+ <ex:foo rdf:parseType="Literal">They’re artistic…uhm, bugs, at the very least.</ex:foo>
+</rdf:Description>
+</rdf:RDF> \ No newline at end of file
diff --git a/tests/rdfxml/ex-55.out b/tests/rdfxml/ex-55.out
new file mode 100644
index 0000000..942cadf
--- /dev/null
+++ b/tests/rdfxml/ex-55.out
@@ -0,0 +1,2 @@
+<http://example.org/resource> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "abc" .
+<http://example.org/resource> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "def" .
diff --git a/tests/rdfxml/ex-55.rdf b/tests/rdfxml/ex-55.rdf
new file mode 100644
index 0000000..ac05844
--- /dev/null
+++ b/tests/rdfxml/ex-55.rdf
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE rdf:RDF [
+ <!ENTITY foo 'abc'>
+ <!ENTITY bar 'def'>
+]>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <rdf:Description rdf:about="http://example.org/resource"
+ rdf:value="&foo;">
+ <rdf:value>&bar;</rdf:value>
+ </rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-56.out b/tests/rdfxml/ex-56.out
new file mode 100644
index 0000000..72da489
--- /dev/null
+++ b/tests/rdfxml/ex-56.out
@@ -0,0 +1 @@
+<http://example.org/mybase/subj> <http://example.org/ex/prop> "val"^^<http://example.org/mybase/type> .
diff --git a/tests/rdfxml/ex-56.rdf b/tests/rdfxml/ex-56.rdf
new file mode 100644
index 0000000..f50683b
--- /dev/null
+++ b/tests/rdfxml/ex-56.rdf
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/ex/"
+ xml:base="http://example.org/mybase/">
+ <rdf:Description rdf:about="subj">
+ <ex:prop rdf:datatype="type">val</ex:prop>
+ </rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-57.out b/tests/rdfxml/ex-57.out
new file mode 100644
index 0000000..e09ddbe
--- /dev/null
+++ b/tests/rdfxml/ex-57.out
@@ -0,0 +1 @@
+<http://example.org/res> <http://example.org/bar#prop> ""^^<http://www.w3.org/2001/XMLSchema#string> .
diff --git a/tests/rdfxml/ex-57.rdf b/tests/rdfxml/ex-57.rdf
new file mode 100644
index 0000000..460dc0f
--- /dev/null
+++ b/tests/rdfxml/ex-57.rdf
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:ex="http://example.org/bar#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+
+ <!--
+Test for RDF/XML spec bug based on the comment in
+ http://lists.w3.org/Archives/Public/www-rdf-comments/2005AprJun/0000.html
+and the final answer in
+ http://lists.w3.org/Archives/Public/www-rdf-comments/2005AprJun/0003.html
+losing all the 'foo' and 'bar's
+ -->
+
+ <rdf:Description rdf:about="http://example.org/res">
+ <ex:prop rdf:datatype="http://www.w3.org/2001/XMLSchema#string"></ex:prop>
+ </rdf:Description>
+</rdf:RDF>
+
diff --git a/tests/rdfxml/ex-58.out b/tests/rdfxml/ex-58.out
new file mode 100644
index 0000000..2822163
--- /dev/null
+++ b/tests/rdfxml/ex-58.out
@@ -0,0 +1,3 @@
+<http://www.w3.org/> <http://purl.org/dc/elements/1.1/title> "World Wide Web Consortium" .
+<http://www.w3.org/> <http://purl.org/dc/elements/1.1/source> <http://example.org/test1/test2/> .
+<http://www.w3.org/> <http://purl.org/dc/elements/1.1/relation> <http://example.org/test1/> .
diff --git a/tests/rdfxml/ex-58.rdf b/tests/rdfxml/ex-58.rdf
new file mode 100644
index 0000000..081f8df
--- /dev/null
+++ b/tests/rdfxml/ex-58.rdf
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<rdf:RDF xml:base="http://example.org/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:dc="http://purl.org/dc/elements/1.1/">
+
+ <!-- test of xml:base relative URI to an outer xml:base
+ see http://lists.w3.org/Archives/Public/www-archive/2005Jul/0017.html
+ for discussion
+ -->
+ <rdf:Description rdf:about="http://www.w3.org/" xml:base="test1/">
+ <dc:title>World Wide Web Consortium</dc:title>
+ <dc:source rdf:resource="test2/"/>
+ <dc:relation rdf:resource=""/>
+ </rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-59.nt b/tests/rdfxml/ex-59.nt
new file mode 100644
index 0000000..d72d5f8
--- /dev/null
+++ b/tests/rdfxml/ex-59.nt
@@ -0,0 +1 @@
+<http://example.org/node> <http://example.org/prop$foo> "value" .
diff --git a/tests/rdfxml/ex-59.rdf b/tests/rdfxml/ex-59.rdf
new file mode 100644
index 0000000..8aec5f2
--- /dev/null
+++ b/tests/rdfxml/ex-59.rdf
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <rdf:Description rdf:about="http://example.org/node">
+ <ns0:foo xmlns:ns0="http://example.org/prop$">value</ns0:foo>
+ </rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-60.nt b/tests/rdfxml/ex-60.nt
new file mode 100644
index 0000000..22c3d42
--- /dev/null
+++ b/tests/rdfxml/ex-60.nt
@@ -0,0 +1 @@
+<http://example.org/foo> <http://example.org/pred> <http://example.org/foo/#bar%20%20%20%20%20%20%20%20> .
diff --git a/tests/rdfxml/ex-60.rdf b/tests/rdfxml/ex-60.rdf
new file mode 100644
index 0000000..8d97648
--- /dev/null
+++ b/tests/rdfxml/ex-60.rdf
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <rdf:Description rdf:about="http://example.org/foo">
+ <ns0:pred xmlns:ns0="http://example.org/" rdf:resource="http://example.org/foo/#bar%20%20%20%20%20%20%20%20"/>
+ </rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-61.out b/tests/rdfxml/ex-61.out
new file mode 100644
index 0000000..785d442
--- /dev/null
+++ b/tests/rdfxml/ex-61.out
@@ -0,0 +1 @@
+<http://www.example.org/foo> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "one" .
diff --git a/tests/rdfxml/ex-61.rdf b/tests/rdfxml/ex-61.rdf
new file mode 100644
index 0000000..fdc1cbb
--- /dev/null
+++ b/tests/rdfxml/ex-61.rdf
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <rdf:Description rdf:about="http://www.example.org/foo" rdf:value="one" xml:lang=""/>
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-62.out b/tests/rdfxml/ex-62.out
new file mode 100644
index 0000000..06ed8ab
--- /dev/null
+++ b/tests/rdfxml/ex-62.out
@@ -0,0 +1,3 @@
+<http://example.com/folder1/entity1> <http://www.w3.org/2000/01/rdf-schema#comment> "Item1" .
+<http://example.com/folder1/entity1> <http://www.w3.org/2000/01/rdf-schema#comment> "Item2" .
+<http://example.com/folder1/entity1> <http://www.w3.org/2000/01/rdf-schema#comment> "Item3" .
diff --git a/tests/rdfxml/ex-62.rdf b/tests/rdfxml/ex-62.rdf
new file mode 100644
index 0000000..f23d47f
--- /dev/null
+++ b/tests/rdfxml/ex-62.rdf
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE rdf:RDF [
+<!ENTITY corp "http://example.com/folder1/folder2/">
+]>
+
+<rdf:RDF
+xml:base="http://example.com/folder1/folder2/"
+xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+>
+ <rdf:Description rdf:about="../entity1">
+ <rdfs:comment>Item1</rdfs:comment>
+ </rdf:Description>
+
+ <rdf:Description rdf:about="../folder1/../entity1">
+ <rdfs:comment>Item2</rdfs:comment>
+ </rdf:Description>
+
+ <rdf:Description rdf:about="&corp;../folder1/../entity1">
+ <rdfs:comment>Item3</rdfs:comment>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/ex-63.out b/tests/rdfxml/ex-63.out
new file mode 100644
index 0000000..2ec9d5b
--- /dev/null
+++ b/tests/rdfxml/ex-63.out
@@ -0,0 +1 @@
+<http://example.org/doc/pmc/2751467> <http://purl.org/dc/terms/description> "\n <div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\n <p a=\"bar\" b=\"foo\">123</p>\n\n </div>\n "^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
diff --git a/tests/rdfxml/ex-63.rdf b/tests/rdfxml/ex-63.rdf
new file mode 100644
index 0000000..13a54fa
--- /dev/null
+++ b/tests/rdfxml/ex-63.rdf
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF xmlns:dcterms="http://purl.org/dc/terms/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <rdf:Description rdf:about="http://example.org/doc/pmc/2751467">
+ <dcterms:description rdf:parseType="Literal">
+ <div xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+ <p b="foo" a="bar">123</p>
+
+ </div>
+ </dcterms:description>
+ </rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/owl-schema.out b/tests/rdfxml/owl-schema.out
new file mode 100644
index 0000000..0b5ddf6
--- /dev/null
+++ b/tests/rdfxml/owl-schema.out
@@ -0,0 +1,160 @@
+<http://www.w3.org/2002/07/owl> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Ontology> .
+<http://www.w3.org/2002/07/owl> <http://www.w3.org/2002/07/owl#imports> <http://www.w3.org/2000/01/rdf-schema> .
+<http://www.w3.org/2002/07/owl> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.w3.org/2001/sw/WebOnt/> .
+<http://www.w3.org/2002/07/owl> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.w3.org/TR/owl-features/> .
+<http://www.w3.org/2002/07/owl> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.w3.org/TR/2003/CR-owl-test-20030818/> .
+<http://www.w3.org/2002/07/owl> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.w3.org/TR/2003/CR-owl-semantics-20030818/> .
+<http://www.w3.org/2002/07/owl> <http://www.w3.org/2000/01/rdf-schema#comment> "This file specifies in RDF Schema format the\n built-in classes and properties that together form the basis of\n the RDF/XML syntax of OWL Full, OWL DL and OWL Lite.\n We do not expect people to import this file\n explicitly into their ontology. People that do import this file\n should expect their ontology to be an OWL Full ontology. \n " .
+<http://www.w3.org/2002/07/owl> <http://www.w3.org/2000/01/rdf-schema#comment> "$Id: owl.rdf,v 1.5 2003/08/19 15:07:19 connolly Exp $" .
+<http://www.w3.org/2002/07/owl> <http://www.w3.org/2002/07/owl#versionInfo> "$Id: owl.rdf,v 1.5 2003/08/19 15:07:19 connolly Exp $" .
+<http://www.w3.org/2002/07/owl#Class> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2002/07/owl#Class> <http://www.w3.org/2000/01/rdf-schema#label> "Class" .
+<http://www.w3.org/2002/07/owl#Class> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2002/07/owl#Thing> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/2002/07/owl#Thing> <http://www.w3.org/2000/01/rdf-schema#label> "Thing" .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/2002/07/owl#Nothing> .
+<http://www.w3.org/2002/07/owl#Nothing> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid2 .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid3 .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid2 <http://www.w3.org/2002/07/owl#complementOf> <http://www.w3.org/2002/07/owl#Nothing> .
+_:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/2002/07/owl#Thing> <http://www.w3.org/2002/07/owl#unionOf> _:genid1 .
+<http://www.w3.org/2002/07/owl#Nothing> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/2002/07/owl#Nothing> <http://www.w3.org/2000/01/rdf-schema#label> "Nothing" .
+<http://www.w3.org/2002/07/owl#Nothing> <http://www.w3.org/2002/07/owl#complementOf> <http://www.w3.org/2002/07/owl#Thing> .
+<http://www.w3.org/2002/07/owl#equivalentClass> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#equivalentClass> <http://www.w3.org/2000/01/rdf-schema#label> "equivalentClass" .
+<http://www.w3.org/2002/07/owl#equivalentClass> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#subClassOf> .
+<http://www.w3.org/2002/07/owl#equivalentClass> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/2002/07/owl#equivalentClass> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/2002/07/owl#disjointWith> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#disjointWith> <http://www.w3.org/2000/01/rdf-schema#label> "disjointWith" .
+<http://www.w3.org/2002/07/owl#disjointWith> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/2002/07/owl#disjointWith> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/2002/07/owl#equivalentProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#equivalentProperty> <http://www.w3.org/2000/01/rdf-schema#label> "equivalentProperty" .
+<http://www.w3.org/2002/07/owl#equivalentProperty> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> .
+<http://www.w3.org/2002/07/owl#sameAs> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#sameAs> <http://www.w3.org/2000/01/rdf-schema#label> "sameAs" .
+<http://www.w3.org/2002/07/owl#sameAs> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#Thing> .
+<http://www.w3.org/2002/07/owl#sameAs> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2002/07/owl#Thing> .
+<http://www.w3.org/2002/07/owl#differentFrom> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#differentFrom> <http://www.w3.org/2000/01/rdf-schema#label> "differentFrom" .
+<http://www.w3.org/2002/07/owl#differentFrom> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#Thing> .
+<http://www.w3.org/2002/07/owl#differentFrom> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2002/07/owl#Thing> .
+<http://www.w3.org/2002/07/owl#AllDifferent> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2002/07/owl#AllDifferent> <http://www.w3.org/2000/01/rdf-schema#label> "AllDifferent" .
+<http://www.w3.org/2002/07/owl#distinctMembers> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#distinctMembers> <http://www.w3.org/2000/01/rdf-schema#label> "distinctMembers" .
+<http://www.w3.org/2002/07/owl#distinctMembers> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#AllDifferent> .
+<http://www.w3.org/2002/07/owl#distinctMembers> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/1999/02/22-rdf-syntax-ns#List> .
+<http://www.w3.org/2002/07/owl#unionOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#unionOf> <http://www.w3.org/2000/01/rdf-schema#label> "unionOf" .
+<http://www.w3.org/2002/07/owl#unionOf> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/2002/07/owl#unionOf> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/1999/02/22-rdf-syntax-ns#List> .
+<http://www.w3.org/2002/07/owl#intersectionOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#intersectionOf> <http://www.w3.org/2000/01/rdf-schema#label> "intersectionOf" .
+<http://www.w3.org/2002/07/owl#intersectionOf> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/2002/07/owl#intersectionOf> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/1999/02/22-rdf-syntax-ns#List> .
+<http://www.w3.org/2002/07/owl#complementOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#complementOf> <http://www.w3.org/2000/01/rdf-schema#label> "complementOf" .
+<http://www.w3.org/2002/07/owl#complementOf> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/2002/07/owl#complementOf> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/2002/07/owl#oneOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#oneOf> <http://www.w3.org/2000/01/rdf-schema#label> "oneOf" .
+<http://www.w3.org/2002/07/owl#oneOf> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2002/07/owl#oneOf> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/1999/02/22-rdf-syntax-ns#List> .
+<http://www.w3.org/2002/07/owl#Restriction> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2002/07/owl#Restriction> <http://www.w3.org/2000/01/rdf-schema#label> "Restriction" .
+<http://www.w3.org/2002/07/owl#Restriction> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/2000/01/rdf-schema#label> "onProperty" .
+<http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#Restriction> .
+<http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#allValuesFrom> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#allValuesFrom> <http://www.w3.org/2000/01/rdf-schema#label> "allValuesFrom" .
+<http://www.w3.org/2002/07/owl#allValuesFrom> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#Restriction> .
+<http://www.w3.org/2002/07/owl#allValuesFrom> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/2000/01/rdf-schema#label> "hasValue" .
+<http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#Restriction> .
+<http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2000/01/rdf-schema#label> "someValuesFrom" .
+<http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#Restriction> .
+<http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2002/07/owl#minCardinality> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#minCardinality> <http://www.w3.org/2000/01/rdf-schema#label> "minCardinality" .
+<http://www.w3.org/2002/07/owl#minCardinality> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#Restriction> .
+<http://www.w3.org/2002/07/owl#minCardinality> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+<http://www.w3.org/2002/07/owl#maxCardinality> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#maxCardinality> <http://www.w3.org/2000/01/rdf-schema#label> "maxCardinality" .
+<http://www.w3.org/2002/07/owl#maxCardinality> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#Restriction> .
+<http://www.w3.org/2002/07/owl#maxCardinality> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+<http://www.w3.org/2002/07/owl#cardinality> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#cardinality> <http://www.w3.org/2000/01/rdf-schema#label> "cardinality" .
+<http://www.w3.org/2002/07/owl#cardinality> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#Restriction> .
+<http://www.w3.org/2002/07/owl#cardinality> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+<http://www.w3.org/2002/07/owl#ObjectProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2002/07/owl#ObjectProperty> <http://www.w3.org/2000/01/rdf-schema#label> "ObjectProperty" .
+<http://www.w3.org/2002/07/owl#ObjectProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#DatatypeProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2002/07/owl#DatatypeProperty> <http://www.w3.org/2000/01/rdf-schema#label> "DatatypeProperty" .
+<http://www.w3.org/2002/07/owl#DatatypeProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#inverseOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#inverseOf> <http://www.w3.org/2000/01/rdf-schema#label> "inverseOf" .
+<http://www.w3.org/2002/07/owl#inverseOf> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#ObjectProperty> .
+<http://www.w3.org/2002/07/owl#inverseOf> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2002/07/owl#ObjectProperty> .
+<http://www.w3.org/2002/07/owl#TransitiveProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2002/07/owl#TransitiveProperty> <http://www.w3.org/2000/01/rdf-schema#label> "TransitiveProperty" .
+<http://www.w3.org/2002/07/owl#TransitiveProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2002/07/owl#ObjectProperty> .
+<http://www.w3.org/2002/07/owl#SymmetricProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2002/07/owl#SymmetricProperty> <http://www.w3.org/2000/01/rdf-schema#label> "SymmetricProperty" .
+<http://www.w3.org/2002/07/owl#SymmetricProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2002/07/owl#ObjectProperty> .
+<http://www.w3.org/2002/07/owl#FunctionalProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2002/07/owl#FunctionalProperty> <http://www.w3.org/2000/01/rdf-schema#label> "FunctionalProperty" .
+<http://www.w3.org/2002/07/owl#FunctionalProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#InverseFunctionalProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2002/07/owl#InverseFunctionalProperty> <http://www.w3.org/2000/01/rdf-schema#label> "InverseFunctionalProperty" .
+<http://www.w3.org/2002/07/owl#InverseFunctionalProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2002/07/owl#ObjectProperty> .
+<http://www.w3.org/2002/07/owl#AnnotationProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2002/07/owl#AnnotationProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#label> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AnnotationProperty> .
+<http://www.w3.org/2000/01/rdf-schema#comment> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AnnotationProperty> .
+<http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AnnotationProperty> .
+<http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AnnotationProperty> .
+<http://www.w3.org/2002/07/owl#Ontology> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2002/07/owl#Ontology> <http://www.w3.org/2000/01/rdf-schema#label> "Ontology" .
+<http://www.w3.org/2002/07/owl#OntologyProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2002/07/owl#OntologyProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#imports> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#imports> <http://www.w3.org/2000/01/rdf-schema#label> "imports" .
+<http://www.w3.org/2002/07/owl#imports> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#OntologyProperty> .
+<http://www.w3.org/2002/07/owl#imports> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#Ontology> .
+<http://www.w3.org/2002/07/owl#imports> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2002/07/owl#Ontology> .
+<http://www.w3.org/2002/07/owl#versionInfo> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#versionInfo> <http://www.w3.org/2000/01/rdf-schema#label> "versionInfo" .
+<http://www.w3.org/2002/07/owl#versionInfo> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AnnotationProperty> .
+<http://www.w3.org/2002/07/owl#priorVersion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#priorVersion> <http://www.w3.org/2000/01/rdf-schema#label> "priorVersion" .
+<http://www.w3.org/2002/07/owl#priorVersion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#OntologyProperty> .
+<http://www.w3.org/2002/07/owl#priorVersion> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#Ontology> .
+<http://www.w3.org/2002/07/owl#priorVersion> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2002/07/owl#Ontology> .
+<http://www.w3.org/2002/07/owl#backwardCompatibleWith> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#backwardCompatibleWith> <http://www.w3.org/2000/01/rdf-schema#label> "backwardCompatibleWitesh" .
+<http://www.w3.org/2002/07/owl#backwardCompatibleWith> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#OntologyProperty> .
+<http://www.w3.org/2002/07/owl#backwardCompatibleWith> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#Ontology> .
+<http://www.w3.org/2002/07/owl#backwardCompatibleWith> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2002/07/owl#Ontology> .
+<http://www.w3.org/2002/07/owl#incompatibleWith> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#incompatibleWith> <http://www.w3.org/2000/01/rdf-schema#label> "incompatibleWith" .
+<http://www.w3.org/2002/07/owl#incompatibleWith> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#OntologyProperty> .
+<http://www.w3.org/2002/07/owl#incompatibleWith> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#Ontology> .
+<http://www.w3.org/2002/07/owl#incompatibleWith> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2002/07/owl#Ontology> .
+<http://www.w3.org/2002/07/owl#DeprecatedClass> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2002/07/owl#DeprecatedClass> <http://www.w3.org/2000/01/rdf-schema#label> "DeprecatedClass" .
+<http://www.w3.org/2002/07/owl#DeprecatedClass> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2002/07/owl#DeprecatedProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2002/07/owl#DeprecatedProperty> <http://www.w3.org/2000/01/rdf-schema#label> "DeprecatedProperty" .
+<http://www.w3.org/2002/07/owl#DeprecatedProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2002/07/owl#DataRange> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2002/07/owl#DataRange> <http://www.w3.org/2000/01/rdf-schema#label> "DataRange" .
diff --git a/tests/rdfxml/owl-schema.rdf b/tests/rdfxml/owl-schema.rdf
new file mode 100644
index 0000000..eb19db5
--- /dev/null
+++ b/tests/rdfxml/owl-schema.rdf
@@ -0,0 +1,279 @@
+<?xml version="1.0"?>
+<?xml-stylesheet href="http://www.w3.org/2002/06/rdfs2html.xsl" type="application/xml"?>
+<!DOCTYPE rdf:RDF [
+ <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
+ <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
+ <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
+ <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
+ ]>
+
+<rdf:RDF
+ xmlns ="&owl;"
+ xmlns:owl ="&owl;"
+ xml:base ="http://www.w3.org/2002/07/owl"
+ xmlns:rdf ="&rdf;"
+ xmlns:rdfs="&rdfs;"
+ xmlns:dc ="http://purl.org/dc/elements/1.1/"
+>
+
+<Ontology rdf:about="">
+ <imports rdf:resource="http://www.w3.org/2000/01/rdf-schema"/>
+ <rdfs:seeAlso rdf:resource="http://www.w3.org/2001/sw/WebOnt/" />
+ <rdfs:seeAlso rdf:resource="http://www.w3.org/TR/owl-features/" />
+ <rdfs:seeAlso rdf:resource="http://www.w3.org/TR/2003/CR-owl-test-20030818/" />
+ <rdfs:seeAlso rdf:resource="http://www.w3.org/TR/2003/CR-owl-semantics-20030818/" />
+ <rdfs:comment>This file specifies in RDF Schema format the
+ built-in classes and properties that together form the basis of
+ the RDF/XML syntax of OWL Full, OWL DL and OWL Lite.
+ We do not expect people to import this file
+ explicitly into their ontology. People that do import this file
+ should expect their ontology to be an OWL Full ontology.
+ </rdfs:comment>
+ <rdfs:comment>$Id: owl.rdf,v 1.5 2003/08/19 15:07:19 connolly Exp $</rdfs:comment>
+ <versionInfo>$Id: owl.rdf,v 1.5 2003/08/19 15:07:19 connolly Exp $</versionInfo>
+</Ontology>
+
+<rdfs:Class rdf:ID="Class">
+ <rdfs:label>Class</rdfs:label>
+ <rdfs:subClassOf rdf:resource="&rdfs;Class"/>
+</rdfs:Class>
+
+<Class rdf:ID="Thing">
+ <rdfs:label>Thing</rdfs:label>
+ <unionOf rdf:parseType="Collection">
+ <Class rdf:about="#Nothing"/>
+ <Class>
+ <complementOf rdf:resource="#Nothing"/>
+ </Class>
+ </unionOf>
+</Class>
+
+<Class rdf:ID="Nothing">
+ <rdfs:label>Nothing</rdfs:label>
+ <complementOf rdf:resource="#Thing"/>
+</Class>
+
+<rdf:Property rdf:ID="equivalentClass">
+ <rdfs:label>equivalentClass</rdfs:label>
+ <rdfs:subPropertyOf rdf:resource="&rdfs;subClassOf"/>
+ <rdfs:domain rdf:resource="#Class"/>
+ <rdfs:range rdf:resource="#Class"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="disjointWith">
+ <rdfs:label>disjointWith</rdfs:label>
+ <rdfs:domain rdf:resource="#Class"/>
+ <rdfs:range rdf:resource="#Class"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="equivalentProperty">
+ <rdfs:label>equivalentProperty</rdfs:label>
+ <rdfs:subPropertyOf rdf:resource="&rdfs;subPropertyOf"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="sameAs">
+ <rdfs:label>sameAs</rdfs:label>
+ <rdfs:domain rdf:resource="#Thing"/>
+ <rdfs:range rdf:resource="#Thing"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="differentFrom">
+ <rdfs:label>differentFrom</rdfs:label>
+ <rdfs:domain rdf:resource="#Thing"/>
+ <rdfs:range rdf:resource="#Thing"/>
+</rdf:Property>
+
+<rdfs:Class rdf:ID="AllDifferent">
+ <rdfs:label>AllDifferent</rdfs:label>
+</rdfs:Class>
+
+<rdf:Property rdf:ID="distinctMembers">
+ <rdfs:label>distinctMembers</rdfs:label>
+ <rdfs:domain rdf:resource="#AllDifferent"/>
+ <rdfs:range rdf:resource="&rdf;List"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="unionOf">
+ <rdfs:label>unionOf</rdfs:label>
+ <rdfs:domain rdf:resource="#Class"/>
+ <rdfs:range rdf:resource="&rdf;List"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="intersectionOf">
+ <rdfs:label>intersectionOf</rdfs:label>
+ <rdfs:domain rdf:resource="#Class"/>
+ <rdfs:range rdf:resource="&rdf;List"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="complementOf">
+ <rdfs:label>complementOf</rdfs:label>
+ <rdfs:domain rdf:resource="#Class"/>
+ <rdfs:range rdf:resource="#Class"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="oneOf">
+ <rdfs:label>oneOf</rdfs:label>
+ <rdfs:domain rdf:resource="&rdfs;Class"/>
+ <rdfs:range rdf:resource="&rdf;List"/>
+</rdf:Property>
+
+<rdfs:Class rdf:ID="Restriction">
+ <rdfs:label>Restriction</rdfs:label>
+ <rdfs:subClassOf rdf:resource="#Class"/>
+</rdfs:Class>
+
+<rdf:Property rdf:ID="onProperty">
+ <rdfs:label>onProperty</rdfs:label>
+ <rdfs:domain rdf:resource="#Restriction"/>
+ <rdfs:range rdf:resource="&rdf;Property"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="allValuesFrom">
+ <rdfs:label>allValuesFrom</rdfs:label>
+ <rdfs:domain rdf:resource="#Restriction"/>
+ <rdfs:range rdf:resource="&rdfs;Class"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="hasValue">
+ <rdfs:label>hasValue</rdfs:label>
+ <rdfs:domain rdf:resource="#Restriction"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="someValuesFrom">
+ <rdfs:label>someValuesFrom</rdfs:label>
+ <rdfs:domain rdf:resource="#Restriction"/>
+ <rdfs:range rdf:resource="&rdfs;Class"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="minCardinality">
+ <rdfs:label>minCardinality</rdfs:label>
+ <rdfs:domain rdf:resource="#Restriction"/>
+ <rdfs:range rdf:resource="&xsd;nonNegativeInteger"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="maxCardinality">
+ <rdfs:label>maxCardinality</rdfs:label>
+ <rdfs:domain rdf:resource="#Restriction"/>
+ <rdfs:range rdf:resource="&xsd;nonNegativeInteger"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="cardinality">
+ <rdfs:label>cardinality</rdfs:label>
+ <rdfs:domain rdf:resource="#Restriction"/>
+ <rdfs:range rdf:resource="&xsd;nonNegativeInteger"/>
+</rdf:Property>
+
+<rdfs:Class rdf:ID="ObjectProperty">
+ <rdfs:label>ObjectProperty</rdfs:label>
+ <rdfs:subClassOf rdf:resource="&rdf;Property"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="DatatypeProperty">
+ <rdfs:label>DatatypeProperty</rdfs:label>
+ <rdfs:subClassOf rdf:resource="&rdf;Property"/>
+</rdfs:Class>
+
+<rdf:Property rdf:ID="inverseOf">
+ <rdfs:label>inverseOf</rdfs:label>
+ <rdfs:domain rdf:resource="#ObjectProperty"/>
+ <rdfs:range rdf:resource="#ObjectProperty"/>
+</rdf:Property>
+
+<rdfs:Class rdf:ID="TransitiveProperty">
+ <rdfs:label>TransitiveProperty</rdfs:label>
+ <rdfs:subClassOf rdf:resource="#ObjectProperty"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="SymmetricProperty">
+ <rdfs:label>SymmetricProperty</rdfs:label>
+ <rdfs:subClassOf rdf:resource="#ObjectProperty"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="FunctionalProperty">
+ <rdfs:label>FunctionalProperty</rdfs:label>
+ <rdfs:subClassOf rdf:resource="&rdf;Property"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="InverseFunctionalProperty">
+ <rdfs:label>InverseFunctionalProperty</rdfs:label>
+ <rdfs:subClassOf rdf:resource="&owl;ObjectProperty"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="AnnotationProperty">
+ <rdfs:subClassOf rdf:resource="&rdf;Property"/>
+</rdfs:Class>
+
+<rdf:Description rdf:about="&rdfs;label">
+ <rdf:type rdf:resource="#AnnotationProperty"/>
+</rdf:Description>
+
+<rdf:Description rdf:about="&rdfs;comment">
+ <rdf:type rdf:resource="#AnnotationProperty"/>
+</rdf:Description>
+
+<rdf:Description rdf:about="&rdfs;seeAlso">
+ <rdf:type rdf:resource="#AnnotationProperty"/>
+</rdf:Description>
+
+<rdf:Description rdf:about="&rdfs;isDefinedBy">
+ <rdf:type rdf:resource="#AnnotationProperty"/>
+</rdf:Description>
+
+<rdfs:Class rdf:ID="Ontology">
+ <rdfs:label>Ontology</rdfs:label>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="OntologyProperty">
+ <rdfs:subClassOf rdf:resource="&rdf;Property"/>
+</rdfs:Class>
+
+<rdf:Property rdf:ID="imports">
+ <rdfs:label>imports</rdfs:label>
+ <rdf:type rdf:resource="#OntologyProperty"/>
+ <rdfs:domain rdf:resource="#Ontology"/>
+ <rdfs:range rdf:resource="#Ontology"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="versionInfo">
+ <rdfs:label>versionInfo</rdfs:label>
+ <rdf:type rdf:resource="#AnnotationProperty"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="priorVersion">
+ <rdfs:label>priorVersion</rdfs:label>
+ <rdf:type rdf:resource="#OntologyProperty"/>
+ <rdfs:domain rdf:resource="#Ontology"/>
+ <rdfs:range rdf:resource="#Ontology"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="backwardCompatibleWith">
+ <rdfs:label>backwardCompatibleWitesh</rdfs:label>
+ <rdf:type rdf:resource="#OntologyProperty"/>
+ <rdfs:domain rdf:resource="#Ontology"/>
+ <rdfs:range rdf:resource="#Ontology"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="incompatibleWith">
+ <rdfs:label>incompatibleWith</rdfs:label>
+ <rdf:type rdf:resource="#OntologyProperty"/>
+ <rdfs:domain rdf:resource="#Ontology"/>
+ <rdfs:range rdf:resource="#Ontology"/>
+</rdf:Property>
+
+<rdfs:Class rdf:ID="DeprecatedClass">
+ <rdfs:label>DeprecatedClass</rdfs:label>
+ <rdfs:subClassOf rdf:resource="&rdfs;Class"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="DeprecatedProperty">
+ <rdfs:label>DeprecatedProperty</rdfs:label>
+ <rdfs:subClassOf rdf:resource="&rdf;Property"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="DataRange">
+ <rdfs:label>DataRange</rdfs:label>
+</rdfs:Class>
+
+
+</rdf:RDF>
+
diff --git a/tests/rdfxml/rdf-schema.out b/tests/rdfxml/rdf-schema.out
new file mode 100644
index 0000000..d144ceb
--- /dev/null
+++ b/tests/rdfxml/rdf-schema.out
@@ -0,0 +1,129 @@
+<http://www.w3.org/2000/01/rdf-schema#Resource> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#Resource> <http://www.w3.org/2000/01/rdf-schema#label> "Resource"@en .
+<http://www.w3.org/2000/01/rdf-schema#Resource> <http://www.w3.org/2000/01/rdf-schema#label> "Ressource"@fr .
+<http://www.w3.org/2000/01/rdf-schema#Resource> <http://www.w3.org/2000/01/rdf-schema#comment> "The most general class" .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#label> "type"@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#label> "type"@fr .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#comment> "Indicates membership of a class" .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#comment> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#comment> <http://www.w3.org/2000/01/rdf-schema#label> "comment"@en .
+<http://www.w3.org/2000/01/rdf-schema#comment> <http://www.w3.org/2000/01/rdf-schema#label> "commentaire"@fr .
+<http://www.w3.org/2000/01/rdf-schema#comment> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#comment> <http://www.w3.org/2000/01/rdf-schema#comment> "Use this for descriptions" .
+<http://www.w3.org/2000/01/rdf-schema#comment> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Literal> .
+<http://www.w3.org/2000/01/rdf-schema#label> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#label> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#label> <http://www.w3.org/2000/01/rdf-schema#label> "label"@en .
+<http://www.w3.org/2000/01/rdf-schema#label> <http://www.w3.org/2000/01/rdf-schema#label> "label"@fr .
+<http://www.w3.org/2000/01/rdf-schema#label> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#label> <http://www.w3.org/2000/01/rdf-schema#comment> "Provides a human-readable version of a resource name." .
+<http://www.w3.org/2000/01/rdf-schema#label> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Literal> .
+<http://www.w3.org/2000/01/rdf-schema#Class> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#Class> <http://www.w3.org/2000/01/rdf-schema#label> "Class"@en .
+<http://www.w3.org/2000/01/rdf-schema#Class> <http://www.w3.org/2000/01/rdf-schema#label> "Classe"@fr .
+<http://www.w3.org/2000/01/rdf-schema#Class> <http://www.w3.org/2000/01/rdf-schema#comment> "The concept of Class" .
+<http://www.w3.org/2000/01/rdf-schema#Class> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#label> "subClassOf"@en .
+<http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#label> "sousClasseDe"@fr .
+<http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#comment> "Indicates membership of a class" .
+<http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#label> "subPropertyOf"@en .
+<http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#label> "sousPropri\u00E9t\u00E9De"@fr .
+<http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#comment> "Indicates specialization of properties" .
+<http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.w3.org/2000/01/rdf-schema#label> "seeAlso"@en .
+<http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.w3.org/2000/01/rdf-schema#label> "voirAussi"@fr .
+<http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.w3.org/2000/01/rdf-schema#comment> "Indicates a resource that provides information about the subject resource." .
+<http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#seeAlso> .
+<http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#label> "isDefinedBy"@en .
+<http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#label> "esD\u00E9finiPar"@fr .
+<http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#comment> "Indicates a resource containing and defining the subject resource." .
+<http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#ConstraintResource> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#ConstraintResource> <http://www.w3.org/2000/01/rdf-schema#label> "ConstraintResource"@en .
+<http://www.w3.org/2000/01/rdf-schema#ConstraintResource> <http://www.w3.org/2000/01/rdf-schema#label> "RessourceContrainte"@fr .
+<http://www.w3.org/2000/01/rdf-schema#ConstraintResource> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#ConstraintResource> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#ConstraintResource> <http://www.w3.org/2000/01/rdf-schema#comment> "Resources used to express RDF Schema constraints." .
+<http://www.w3.org/2000/01/rdf-schema#ConstraintProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#ConstraintProperty> <http://www.w3.org/2000/01/rdf-schema#label> "ConstraintProperty"@en .
+<http://www.w3.org/2000/01/rdf-schema#ConstraintProperty> <http://www.w3.org/2000/01/rdf-schema#label> "Propri\u00E9t\u00E9Contrainte"@fr .
+<http://www.w3.org/2000/01/rdf-schema#ConstraintProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#ConstraintProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#ConstraintResource> .
+<http://www.w3.org/2000/01/rdf-schema#ConstraintProperty> <http://www.w3.org/2000/01/rdf-schema#comment> "Properties used to express RDF Schema constraints." .
+<http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#ConstraintProperty> .
+<http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#label> "domain"@en .
+<http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#label> "domaine"@fr .
+<http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#comment> "This is how we associate a class with properties that its instances can have" .
+<http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#ConstraintProperty> .
+<http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#label> "range"@en .
+<http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#label> "\u00E9tendue"@fr .
+<http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#comment> "Properties that can be used in a schema to provide constraints" .
+<http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> <http://www.w3.org/2000/01/rdf-schema#label> "Property"@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> <http://www.w3.org/2000/01/rdf-schema#label> "Propri\u00E9t\u00E9"@fr .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> <http://www.w3.org/2000/01/rdf-schema#comment> "The concept of a property." .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#Literal> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#Literal> <http://www.w3.org/2000/01/rdf-schema#label> "Literal"@en .
+<http://www.w3.org/2000/01/rdf-schema#Literal> <http://www.w3.org/2000/01/rdf-schema#label> "Litt\u00E9ral"@fr .
+<http://www.w3.org/2000/01/rdf-schema#Literal> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#Literal> <http://www.w3.org/2000/01/rdf-schema#comment> "This represents the set of atomic values, eg. textual strings." .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> <http://www.w3.org/2000/01/rdf-schema#label> "Statement"@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> <http://www.w3.org/2000/01/rdf-schema#label> "D\u00E9claration"@fr .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> <http://www.w3.org/2000/01/rdf-schema#comment> "This represents the set of reified statements." .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://www.w3.org/2000/01/rdf-schema#label> "subject"@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://www.w3.org/2000/01/rdf-schema#label> "sujet"@fr .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.w3.org/2000/01/rdf-schema#label> "predicate"@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.w3.org/2000/01/rdf-schema#label> "pr\u00E9dicat"@fr .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://www.w3.org/2000/01/rdf-schema#label> "object"@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://www.w3.org/2000/01/rdf-schema#label> "objet"@fr .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
+<http://www.w3.org/2000/01/rdf-schema#Container> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#Container> <http://www.w3.org/2000/01/rdf-schema#label> "Container"@en .
+<http://www.w3.org/2000/01/rdf-schema#Container> <http://www.w3.org/2000/01/rdf-schema#label> "Enveloppe"@fr .
+<http://www.w3.org/2000/01/rdf-schema#Container> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#Container> <http://www.w3.org/2000/01/rdf-schema#comment> "This represents the set Containers." .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> <http://www.w3.org/2000/01/rdf-schema#label> "Bag"@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> <http://www.w3.org/2000/01/rdf-schema#label> "Ensemble"@fr .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#Container> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> <http://www.w3.org/2000/01/rdf-schema#label> "Sequence"@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> <http://www.w3.org/2000/01/rdf-schema#label> "S\u00E9quence"@fr .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#Container> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt> <http://www.w3.org/2000/01/rdf-schema#label> "Alt"@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt> <http://www.w3.org/2000/01/rdf-schema#label> "Choix"@fr .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#Container> .
+<http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty> <http://www.w3.org/2000/01/rdf-schema#label> "ContainerMembershipProperty"@en .
+<http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#value> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#value> <http://www.w3.org/2000/01/rdf-schema#label> "object"@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#value> <http://www.w3.org/2000/01/rdf-schema#label> "value"@fr .
+<http://www.w3.org/2000/01/rdf-schema#> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.w3.org/2000/01/rdf-schema-more> .
diff --git a/tests/rdfxml/rdf-schema.rdf b/tests/rdfxml/rdf-schema.rdf
new file mode 100644
index 0000000..f83f7f6
--- /dev/null
+++ b/tests/rdfxml/rdf-schema.rdf
@@ -0,0 +1,187 @@
+<rdf:RDF
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
+
+<rdfs:Class rdf:ID="Resource">
+ <rdfs:label xml:lang="en">Resource</rdfs:label>
+ <rdfs:label xml:lang="fr">Ressource</rdfs:label>
+ <rdfs:comment>The most general class</rdfs:comment>
+</rdfs:Class>
+
+<rdf:Property about="http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
+ <rdfs:label xml:lang="en">type</rdfs:label>
+ <rdfs:label xml:lang="fr">type</rdfs:label>
+ <rdfs:comment>Indicates membership of a class</rdfs:comment>
+ <rdfs:range rdf:resource="#Class"/>
+</rdf:Property>
+
+<rdf:Property ID="comment">
+ <rdfs:label xml:lang="en">comment</rdfs:label>
+ <rdfs:label xml:lang="fr">commentaire</rdfs:label>
+ <rdfs:domain rdf:resource="#Resource"/>
+ <rdfs:comment>Use this for descriptions</rdfs:comment>
+ <rdfs:range rdf:resource="#Literal"/>
+</rdf:Property>
+
+<rdf:Property ID="label">
+ <rdf:type resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+ <rdfs:label xml:lang="en">label</rdfs:label>
+ <rdfs:label xml:lang="fr">label</rdfs:label>
+ <rdfs:domain rdf:resource="#Resource"/>
+ <rdfs:comment>Provides a human-readable version of a resource name.</rdfs:comment>
+ <rdfs:range rdf:resource="#Literal"/>
+</rdf:Property>
+
+<rdfs:Class rdf:ID="Class">
+ <rdfs:label xml:lang="en">Class</rdfs:label>
+ <rdfs:label xml:lang="fr">Classe</rdfs:label>
+ <rdfs:comment>The concept of Class</rdfs:comment>
+ <rdfs:subClassOf rdf:resource="#Resource"/>
+</rdfs:Class>
+
+<rdf:Property ID="subClassOf">
+ <rdfs:label xml:lang="en">subClassOf</rdfs:label>
+ <rdfs:label xml:lang="fr">sousClasseDe</rdfs:label>
+ <rdfs:comment>Indicates membership of a class</rdfs:comment>
+ <rdfs:range rdf:resource="#Class"/>
+ <rdfs:domain rdf:resource="#Class"/>
+</rdf:Property>
+
+<rdf:Property ID="subPropertyOf">
+ <rdfs:label xml:lang="en">subPropertyOf</rdfs:label>
+ <rdfs:label xml:lang="fr">sousPropri&#233;t&#233;De</rdfs:label>
+ <rdfs:comment>Indicates specialization of properties</rdfs:comment>
+ <rdfs:range rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+ <rdfs:domain rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+</rdf:Property>
+
+<rdf:Property ID="seeAlso">
+ <rdfs:label xml:lang="en">seeAlso</rdfs:label>
+ <rdfs:label xml:lang="fr">voirAussi</rdfs:label>
+ <rdfs:comment>Indicates a resource that provides information about the subject resource.</rdfs:comment>
+ <rdfs:range rdf:resource="#Resource"/>
+ <rdfs:domain rdf:resource="#Resource"/>
+</rdf:Property>
+
+<rdf:Property ID="isDefinedBy">
+ <rdf:type resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+ <rdfs:subPropertyOf rdf:resource="#seeAlso"/>
+ <rdfs:label xml:lang="en">isDefinedBy</rdfs:label>
+ <rdfs:label xml:lang="fr">esD&#233;finiPar</rdfs:label>
+ <rdfs:comment>Indicates a resource containing and defining the subject resource.</rdfs:comment>
+ <rdfs:range rdf:resource="#Resource"/>
+ <rdfs:domain rdf:resource="#Resource"/>
+</rdf:Property>
+
+<rdfs:Class rdf:ID="ConstraintResource">
+ <rdfs:label xml:lang="en">ConstraintResource</rdfs:label>
+ <rdfs:label xml:lang="fr">RessourceContrainte</rdfs:label>
+ <rdf:type resource="#Class"/>
+ <rdfs:subClassOf rdf:resource="#Resource"/>
+ <rdfs:comment>Resources used to express RDF Schema constraints.</rdfs:comment>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="ConstraintProperty">
+ <rdfs:label xml:lang="en">ConstraintProperty</rdfs:label>
+ <rdfs:label xml:lang="fr">Propri&#233;t&#233;Contrainte</rdfs:label>
+ <rdfs:subClassOf rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+ <rdfs:subClassOf rdf:resource="#ConstraintResource"/>
+ <rdfs:comment>Properties used to express RDF Schema constraints.</rdfs:comment>
+</rdfs:Class>
+
+<rdfs:ConstraintProperty rdf:ID="domain">
+ <rdfs:label xml:lang="en">domain</rdfs:label>
+ <rdfs:label xml:lang="fr">domaine</rdfs:label>
+ <rdfs:comment>This is how we associate a class with properties that its instances can have</rdfs:comment>
+</rdfs:ConstraintProperty>
+
+<rdfs:ConstraintProperty rdf:ID="range">
+ <rdfs:label xml:lang="en">range</rdfs:label>
+ <rdfs:label xml:lang="fr">&#233;tendue</rdfs:label>
+ <rdfs:comment>Properties that can be used in a schema to provide constraints</rdfs:comment>
+ <rdfs:range rdf:resource="#Class"/>
+ <rdfs:domain rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+</rdfs:ConstraintProperty>
+
+<rdfs:Class rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property">
+ <rdfs:label xml:lang="en">Property</rdfs:label>
+ <rdfs:label xml:lang="fr">Propri&#233;t&#233;</rdfs:label>
+ <rdfs:comment>The concept of a property.</rdfs:comment>
+ <rdfs:subClassOf rdf:resource="#Resource"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="Literal">
+ <rdfs:label xml:lang="en">Literal</rdfs:label>
+ <rdfs:label xml:lang="fr">Litt&#233;ral</rdfs:label>
+ <rdf:type resource="#Class"/>
+ <rdfs:comment>This represents the set of atomic values, eg. textual strings.</rdfs:comment>
+</rdfs:Class>
+
+<rdfs:Class rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement">
+ <rdfs:label xml:lang="en">Statement</rdfs:label>
+ <rdfs:label xml:lang="fr">D&#233;claration</rdfs:label>
+ <rdfs:subClassOf rdf:resource="#Resource"/>
+ <rdfs:comment>This represents the set of reified statements.</rdfs:comment>
+</rdfs:Class>
+
+<rdf:Property about="http://www.w3.org/1999/02/22-rdf-syntax-ns#subject">
+ <rdfs:label xml:lang="en">subject</rdfs:label>
+ <rdfs:label xml:lang="fr">sujet</rdfs:label>
+ <rdfs:domain rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement"/>
+ <rdfs:range rdf:resource="#Resource"/>
+</rdf:Property>
+
+<rdf:Property about="http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate">
+ <rdfs:label xml:lang="en">predicate</rdfs:label>
+ <rdfs:label xml:lang="fr">pr&#233;dicat</rdfs:label>
+ <rdf:type resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+ <rdfs:domain rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement"/>
+ <rdfs:range rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+</rdf:Property>
+
+<rdf:Property about="http://www.w3.org/1999/02/22-rdf-syntax-ns#object">
+ <rdfs:label xml:lang="en">object</rdfs:label>
+ <rdfs:label xml:lang="fr">objet</rdfs:label>
+ <rdfs:domain rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement"/>
+</rdf:Property>
+
+<rdfs:Class rdf:ID="Container">
+ <rdfs:label xml:lang="en">Container</rdfs:label>
+ <rdfs:label xml:lang="fr">Enveloppe</rdfs:label>
+ <rdfs:subClassOf rdf:resource="#Resource"/>
+ <rdfs:comment>This represents the set Containers.</rdfs:comment>
+</rdfs:Class>
+
+<rdfs:Class rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag">
+ <rdfs:label xml:lang="en">Bag</rdfs:label>
+ <rdfs:label xml:lang="fr">Ensemble</rdfs:label>
+ <rdfs:subClassOf rdf:resource="#Container"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq">
+ <rdfs:label xml:lang="en">Sequence</rdfs:label>
+ <rdfs:label xml:lang="fr">S&#233;quence</rdfs:label>
+ <rdfs:subClassOf rdf:resource="#Container"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt">
+ <rdfs:label xml:lang="en">Alt</rdfs:label>
+ <rdfs:label xml:lang="fr">Choix</rdfs:label>
+ <rdfs:subClassOf rdf:resource="#Container"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="ContainerMembershipProperty">
+ <rdfs:label xml:lang="en">ContainerMembershipProperty</rdfs:label>
+ <rdfs:subClassOf rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+</rdfs:Class>
+
+<rdf:Property rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#value">
+ <rdfs:label xml:lang="en">object</rdfs:label>
+ <rdfs:label xml:lang="fr">value</rdfs:label>
+</rdf:Property>
+
+<rdf:Description about="http://www.w3.org/2000/01/rdf-schema#">
+ <rdfs:seeAlso resource="http://www.w3.org/2000/01/rdf-schema-more"/>
+</rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/rdfs-namespace.out b/tests/rdfxml/rdfs-namespace.out
new file mode 100644
index 0000000..2097537
--- /dev/null
+++ b/tests/rdfxml/rdfs-namespace.out
@@ -0,0 +1,132 @@
+<http://www.w3.org/2000/01/rdf-schema#Resource> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#Resource> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#> .
+<http://www.w3.org/2000/01/rdf-schema#Resource> <http://www.w3.org/2000/01/rdf-schema#label> "Resource"@en .
+<http://www.w3.org/2000/01/rdf-schema#Resource> <http://www.w3.org/2000/01/rdf-schema#comment> "The class resource, everything." .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#label> "type"@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#comment> "Indicates membership of a class" .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#Class> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#Class> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#> .
+<http://www.w3.org/2000/01/rdf-schema#Class> <http://www.w3.org/2000/01/rdf-schema#label> "Class"@en .
+<http://www.w3.org/2000/01/rdf-schema#Class> <http://www.w3.org/2000/01/rdf-schema#comment> "The concept of Class" .
+<http://www.w3.org/2000/01/rdf-schema#Class> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#> .
+<http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#label> "subClassOf"@en .
+<http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#comment> "Indicates membership of a class" .
+<http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#> .
+<http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#label> "subPropertyOf"@en .
+<http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#comment> "Indicates specialization of properties" .
+<http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> <http://www.w3.org/2000/01/rdf-schema#label> "Property"@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> <http://www.w3.org/2000/01/rdf-schema#comment> "The concept of a property." .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#comment> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#comment> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#> .
+<http://www.w3.org/2000/01/rdf-schema#comment> <http://www.w3.org/2000/01/rdf-schema#label> "comment"@en .
+<http://www.w3.org/2000/01/rdf-schema#comment> <http://www.w3.org/2000/01/rdf-schema#comment> "Use this for descriptions" .
+<http://www.w3.org/2000/01/rdf-schema#comment> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#comment> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Literal> .
+<http://www.w3.org/2000/01/rdf-schema#label> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#label> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#> .
+<http://www.w3.org/2000/01/rdf-schema#label> <http://www.w3.org/2000/01/rdf-schema#label> "label"@en .
+<http://www.w3.org/2000/01/rdf-schema#label> <http://www.w3.org/2000/01/rdf-schema#comment> "Provides a human-readable version of a resource name." .
+<http://www.w3.org/2000/01/rdf-schema#label> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#label> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Literal> .
+<http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#> .
+<http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#label> "domain"@en .
+<http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#comment> "A domain class for a property type" .
+<http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#> .
+<http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#label> "range"@en .
+<http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#comment> "A range class for a property type" .
+<http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#> .
+<http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.w3.org/2000/01/rdf-schema#label> "seeAlso"@en .
+<http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.w3.org/2000/01/rdf-schema#comment> "A resource that provides information about the subject resource" .
+<http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#> .
+<http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#seeAlso> .
+<http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#label> "isDefinedBy"@en .
+<http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#comment> "Indicates the namespace of a resource" .
+<http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#Literal> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#Literal> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#> .
+<http://www.w3.org/2000/01/rdf-schema#Literal> <http://www.w3.org/2000/01/rdf-schema#label> "Literal"@en .
+<http://www.w3.org/2000/01/rdf-schema#Literal> <http://www.w3.org/2000/01/rdf-schema#comment> "This represents the set of atomic values, eg. textual strings." .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> <http://www.w3.org/2000/01/rdf-schema#label> "Statement"@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> <http://www.w3.org/2000/01/rdf-schema#comment> "The class of RDF statements." .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://www.w3.org/2000/01/rdf-schema#label> "subject"@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://www.w3.org/2000/01/rdf-schema#comment> "The subject of an RDF statement." .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.w3.org/2000/01/rdf-schema#label> "predicate"@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.w3.org/2000/01/rdf-schema#comment> "the predicate of an RDF statement." .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://www.w3.org/2000/01/rdf-schema#label> "object"@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://www.w3.org/2000/01/rdf-schema#comment> "The object of an RDF statement." .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
+<http://www.w3.org/2000/01/rdf-schema#Container> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#Container> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#> .
+<http://www.w3.org/2000/01/rdf-schema#Container> <http://www.w3.org/2000/01/rdf-schema#label> "Container"@en .
+<http://www.w3.org/2000/01/rdf-schema#Container> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#Container> <http://www.w3.org/2000/01/rdf-schema#comment> "This represents the set Containers." .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> <http://www.w3.org/2000/01/rdf-schema#label> "Bag"@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> <http://www.w3.org/2000/01/rdf-schema#comment> "An unordered collection."@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#Container> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> <http://www.w3.org/2000/01/rdf-schema#label> "Seq"@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> <http://www.w3.org/2000/01/rdf-schema#comment> "An ordered collection."@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#Container> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt> <http://www.w3.org/2000/01/rdf-schema#label> "Alt"@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt> <http://www.w3.org/2000/01/rdf-schema#comment> "A collection of alternatives."@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2000/01/rdf-schema#Container> .
+<http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+<http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#> .
+<http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty> <http://www.w3.org/2000/01/rdf-schema#label> "ContainerMembershipProperty"@en .
+<http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty> <http://www.w3.org/2000/01/rdf-schema#comment> "The container membership properties, rdf:1, rdf:2, ..., all of which are sub-properties of 'member'." .
+<http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#member> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/2000/01/rdf-schema#member> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/2000/01/rdf-schema#> .
+<http://www.w3.org/2000/01/rdf-schema#member> <http://www.w3.org/2000/01/rdf-schema#label> "member"@en .
+<http://www.w3.org/2000/01/rdf-schema#member> <http://www.w3.org/2000/01/rdf-schema#comment> "a member of a container" .
+<http://www.w3.org/2000/01/rdf-schema#member> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#Container> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#value> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#value> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#value> <http://www.w3.org/2000/01/rdf-schema#label> "value"@en .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#value> <http://www.w3.org/2000/01/rdf-schema#comment> "Identifies the principal value (usually a string) of a property when the property value is a structured resource" .
+<http://www.w3.org/1999/02/22-rdf-syntax-ns#value> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+<http://www.w3.org/2000/01/rdf-schema#> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.w3.org/2000/01/rdf-schema-more> .
diff --git a/tests/rdfxml/rdfs-namespace.rdf b/tests/rdfxml/rdfs-namespace.rdf
new file mode 100644
index 0000000..999fc0e
--- /dev/null
+++ b/tests/rdfxml/rdfs-namespace.rdf
@@ -0,0 +1,188 @@
+<rdf:RDF
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
+
+<rdfs:Class rdf:about="http://www.w3.org/2000/01/rdf-schema#Resource">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/2000/01/rdf-schema#"/>
+ <rdfs:label xml:lang="en">Resource</rdfs:label>
+ <rdfs:comment>The class resource, everything.</rdfs:comment>
+</rdfs:Class>
+
+<rdf:Property rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+ <rdfs:label xml:lang="en">type</rdfs:label>
+ <rdfs:comment>Indicates membership of a class</rdfs:comment>
+ <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
+ <rdfs:domain rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+</rdf:Property>
+
+<rdfs:Class rdf:about="http://www.w3.org/2000/01/rdf-schema#Class">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/2000/01/rdf-schema#"/>
+ <rdfs:label xml:lang="en">Class</rdfs:label>
+ <rdfs:comment>The concept of Class</rdfs:comment>
+ <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+</rdfs:Class>
+
+<rdf:Property rdf:about="http://www.w3.org/2000/01/rdf-schema#subClassOf">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/2000/01/rdf-schema#"/>
+ <rdfs:label xml:lang="en">subClassOf</rdfs:label>
+ <rdfs:comment>Indicates membership of a class</rdfs:comment>
+ <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
+ <rdfs:domain rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
+</rdf:Property>
+
+<rdf:Property rdf:about="http://www.w3.org/2000/01/rdf-schema#subPropertyOf">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/2000/01/rdf-schema#"/>
+ <rdfs:label xml:lang="en">subPropertyOf</rdfs:label>
+ <rdfs:comment>Indicates specialization of properties</rdfs:comment>
+ <rdfs:range rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+ <rdfs:domain rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+</rdf:Property>
+
+<rdfs:Class rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+ <rdfs:label xml:lang="en">Property</rdfs:label>
+ <rdfs:comment>The concept of a property.</rdfs:comment>
+ <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+</rdfs:Class>
+
+<rdf:Property rdf:about="http://www.w3.org/2000/01/rdf-schema#comment">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/2000/01/rdf-schema#"/>
+ <rdfs:label xml:lang="en">comment</rdfs:label>
+ <rdfs:comment>Use this for descriptions</rdfs:comment>
+ <rdfs:domain rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+ <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
+</rdf:Property>
+
+<rdf:Property rdf:about="http://www.w3.org/2000/01/rdf-schema#label">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/2000/01/rdf-schema#"/>
+ <rdfs:label xml:lang="en">label</rdfs:label>
+ <rdfs:comment>Provides a human-readable version of a resource name.</rdfs:comment>
+ <rdfs:domain rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+ <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
+</rdf:Property>
+
+<rdf:Property rdf:about="http://www.w3.org/2000/01/rdf-schema#domain">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/2000/01/rdf-schema#"/>
+ <rdfs:label xml:lang="en">domain</rdfs:label>
+ <rdfs:comment>A domain class for a property type</rdfs:comment>
+ <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
+ <rdfs:domain rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+</rdf:Property>
+
+<rdf:Property rdf:about="http://www.w3.org/2000/01/rdf-schema#range">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/2000/01/rdf-schema#"/>
+ <rdfs:label xml:lang="en">range</rdfs:label>
+ <rdfs:comment>A range class for a property type</rdfs:comment>
+ <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
+ <rdfs:domain rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+</rdf:Property>
+
+<rdf:Property rdf:about="http://www.w3.org/2000/01/rdf-schema#seeAlso">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/2000/01/rdf-schema#"/>
+ <rdfs:label xml:lang="en">seeAlso</rdfs:label>
+ <rdfs:comment>A resource that provides information about the subject resource</rdfs:comment>
+ <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+ <rdfs:domain rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+</rdf:Property>
+
+<rdf:Property rdf:about="http://www.w3.org/2000/01/rdf-schema#isDefinedBy">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/2000/01/rdf-schema#"/>
+ <rdf:type resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+ <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#seeAlso"/>
+ <rdfs:label xml:lang="en">isDefinedBy</rdfs:label>
+ <rdfs:comment>Indicates the namespace of a resource</rdfs:comment>
+ <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+ <rdfs:domain rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+</rdf:Property>
+
+<rdfs:Class rdf:about="http://www.w3.org/2000/01/rdf-schema#Literal">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/2000/01/rdf-schema#"/>
+ <rdfs:label xml:lang="en">Literal</rdfs:label>
+ <rdfs:comment>This represents the set of atomic values, eg. textual strings.</rdfs:comment>
+</rdfs:Class>
+
+<rdfs:Class rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+ <rdfs:label xml:lang="en">Statement</rdfs:label>
+ <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+ <rdfs:comment>The class of RDF statements.</rdfs:comment>
+</rdfs:Class>
+
+<rdf:Property about="http://www.w3.org/1999/02/22-rdf-syntax-ns#subject">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+ <rdfs:label xml:lang="en">subject</rdfs:label>
+ <rdfs:comment>The subject of an RDF statement.</rdfs:comment>
+ <rdfs:domain rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement"/>
+ <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+</rdf:Property>
+
+<rdf:Property about="http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+ <rdfs:label xml:lang="en">predicate</rdfs:label>
+ <rdfs:comment>the predicate of an RDF statement.</rdfs:comment>
+ <rdfs:domain rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement"/>
+ <rdfs:range rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+</rdf:Property>
+
+<rdf:Property about="http://www.w3.org/1999/02/22-rdf-syntax-ns#object">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+ <rdfs:label xml:lang="en">object</rdfs:label>
+ <rdfs:comment>The object of an RDF statement.</rdfs:comment>
+ <rdfs:domain rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement"/>
+</rdf:Property>
+
+<rdfs:Class rdf:about="http://www.w3.org/2000/01/rdf-schema#Container">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/2000/01/rdf-schema#"/>
+ <rdfs:label xml:lang="en">Container</rdfs:label>
+ <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+ <rdfs:comment>This represents the set Containers.</rdfs:comment>
+</rdfs:Class>
+
+<rdfs:Class rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+ <rdfs:label xml:lang="en">Bag</rdfs:label>
+ <rdfs:comment xml:lang="en">An unordered collection.</rdfs:comment>
+ <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Container"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+ <rdfs:label xml:lang="en">Seq</rdfs:label>
+ <rdfs:comment xml:lang="en">An ordered collection.</rdfs:comment>
+ <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Container"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+ <rdfs:label xml:lang="en">Alt</rdfs:label>
+ <rdfs:comment xml:lang="en">A collection of alternatives.</rdfs:comment>
+ <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Container"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:about="http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/2000/01/rdf-schema#"/>
+ <rdfs:label xml:lang="en">ContainerMembershipProperty</rdfs:label>
+ <rdfs:comment>The container membership properties, rdf:1, rdf:2, ..., all of which are sub-properties of 'member'.</rdfs:comment>
+ <rdfs:subClassOf rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+</rdfs:Class>
+
+<rdf:Property rdf:about="http://www.w3.org/2000/01/rdf-schema#member">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/2000/01/rdf-schema#"/>
+ <rdfs:label xml:lang="en">member</rdfs:label>
+ <rdfs:comment>a member of a container</rdfs:comment>
+ <rdfs:domain rdf:resource="http://www.w3.org/2000/01/rdf-schema#Container"/>
+</rdf:Property>
+
+<rdf:Property rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#value">
+ <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+ <rdfs:label xml:lang="en">value</rdfs:label>
+ <rdfs:comment>Identifies the principal value (usually a string) of a property when the property value is a structured resource</rdfs:comment>
+ <rdfs:domain rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+</rdf:Property>
+
+<rdf:Description rdf:about="http://www.w3.org/2000/01/rdf-schema#">
+ <rdfs:seeAlso rdf:resource="http://www.w3.org/2000/01/rdf-schema-more"/>
+</rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/warn-00.out b/tests/rdfxml/warn-00.out
new file mode 100644
index 0000000..2424eaf
--- /dev/null
+++ b/tests/rdfxml/warn-00.out
@@ -0,0 +1,7 @@
+<http://example.org/triples#bag> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> .
+<http://example.org/> <http://www.example.org/ns#prop> "text" .
+<http://example.org/triples#bag> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> _:genid1 .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://example.org/> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.example.org/ns#prop> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> "text" .
diff --git a/tests/rdfxml/warn-00.rdf b/tests/rdfxml/warn-00.rdf
new file mode 100644
index 0000000..fc1b6a4
--- /dev/null
+++ b/tests/rdfxml/warn-00.rdf
@@ -0,0 +1,12 @@
+<?xml version="1.0" standalone="no"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://www.example.org/ns#"
+ xml:base="http://example.org/triples">
+
+ <!-- Should give a warning about rdf:bagID attribute -->
+
+ <rdf:Description about="http://example.org/" rdf:bagID="bag">
+ <ex:prop>text</ex:prop>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/warn-02.out b/tests/rdfxml/warn-02.out
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/rdfxml/warn-02.out
diff --git a/tests/rdfxml/warn-02.rdf b/tests/rdfxml/warn-02.rdf
new file mode 100644
index 0000000..6cea5cf
--- /dev/null
+++ b/tests/rdfxml/warn-02.rdf
@@ -0,0 +1,7 @@
+<?xml version="1.0" standalone="no"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:notrdf="http://www.w3.org/1999/02/22-rdf-syntax-ns">
+
+ <!-- Should give a warning above about notrdf namespace declaration -->
+
+</rdf:RDF>
diff --git a/tests/rdfxml/warn-04.out b/tests/rdfxml/warn-04.out
new file mode 100644
index 0000000..462a8d9
--- /dev/null
+++ b/tests/rdfxml/warn-04.out
@@ -0,0 +1,2 @@
+<http://example.org/res> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#description> .
+<http://example.org/res> <http://example.org/foo> "bar" .
diff --git a/tests/rdfxml/warn-04.rdf b/tests/rdfxml/warn-04.rdf
new file mode 100644
index 0000000..f62c8f2
--- /dev/null
+++ b/tests/rdfxml/warn-04.rdf
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/">
+
+ <!-- check unknown rdf node element is picked up -->
+
+ <rdf:description rdf:about="http://example.org/res">
+ <ex:foo>bar</ex:foo>
+ </rdf:description>
+</rdf:RDF>
diff --git a/tests/rdfxml/warn-05.out b/tests/rdfxml/warn-05.out
new file mode 100644
index 0000000..69624b0
--- /dev/null
+++ b/tests/rdfxml/warn-05.out
@@ -0,0 +1 @@
+<http://example.org/res> <http://www.w3.org/1999/02/22-rdf-syntax-ns#foo> "bar" .
diff --git a/tests/rdfxml/warn-05.rdf b/tests/rdfxml/warn-05.rdf
new file mode 100644
index 0000000..530d44b
--- /dev/null
+++ b/tests/rdfxml/warn-05.rdf
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+
+ <!-- check unknown rdf property element is picked up -->
+
+ <rdf:Description rdf:about="http://example.org/res">
+ <rdf:foo>bar</rdf:foo>
+ </rdf:Description>
+</rdf:RDF>
diff --git a/tests/rdfxml/warn-06.out b/tests/rdfxml/warn-06.out
new file mode 100644
index 0000000..676d52e
--- /dev/null
+++ b/tests/rdfxml/warn-06.out
@@ -0,0 +1 @@
+<http://example.org/res> <http://www.w3.org/1999/02/22-rdf-syntax-ns#foo> "blah" .
diff --git a/tests/rdfxml/warn-06.rdf b/tests/rdfxml/warn-06.rdf
new file mode 100644
index 0000000..5bed246
--- /dev/null
+++ b/tests/rdfxml/warn-06.rdf
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+
+ <!-- check unknown rdf property attribute is picked up -->
+
+ <rdf:Description rdf:about="http://example.org/res"
+ rdf:foo="blah"
+ />
+</rdf:RDF>
diff --git a/tests/rdfxml/warn-07.out b/tests/rdfxml/warn-07.out
new file mode 100644
index 0000000..3823555
--- /dev/null
+++ b/tests/rdfxml/warn-07.out
@@ -0,0 +1,2 @@
+<http://example.org/node> <http://example.org/ns#prop1> "\n <name xmlns=\"http://example.org/ns#\">prop1name</name>\n "^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<http://example.org/node> <http://example.org/ns#prop2> "\n <rdf:Description xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" rdf:about=\"http://example.org/first\"></rdf:Description>\n <rdf:Description xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" rdf:about=\"http://example.org/second\"></rdf:Description>\n <rdf:Description xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" rdf:about=\"http://example.org/third\"></rdf:Description>\n "^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
diff --git a/tests/rdfxml/warn-07.rdf b/tests/rdfxml/warn-07.rdf
new file mode 100644
index 0000000..c187dd1
--- /dev/null
+++ b/tests/rdfxml/warn-07.rdf
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns="http://example.org/ns#">
+
+ <!-- test warning for unknown rdf:parseType values (taken as Literal) -->
+
+ <rdf:Description rdf:about="http://example.org/node">
+ <prop1 rdf:parseType="Fake">
+ <name>prop1name</name>
+ </prop1>
+
+ <!-- this is not a Collection but a bunch of XML -->
+ <prop2 rdf:parseType="collection">
+ <rdf:Description rdf:about="http://example.org/first" />
+ <rdf:Description rdf:about="http://example.org/second" />
+ <rdf:Description rdf:about="http://example.org/third" />
+ </prop2>
+ </rdf:Description>
+
+</rdf:RDF>
diff --git a/tests/rdfxml/wine.out b/tests/rdfxml/wine.out
new file mode 100644
index 0000000..5f007db
--- /dev/null
+++ b/tests/rdfxml/wine.out
@@ -0,0 +1,2012 @@
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Ontology> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine> <http://www.w3.org/2000/01/rdf-schema#comment> "An example OWL ontology" .
+<http://www.w3.org/TR/2003/WD-owl-guide-20030331/wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Ontology> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine> <http://www.w3.org/2002/07/owl#priorVersion> <http://www.w3.org/TR/2003/WD-owl-guide-20030331/wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine> <http://www.w3.org/2002/07/owl#imports> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/food> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine> <http://www.w3.org/2000/01/rdf-schema#comment> "Derived from the DAML Wine ontology at \n http://ontolingua.stanford.edu/doc/chimaera/ontologies/wines.daml\n Substantially changed, in particular the Region based relations.\n " .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine> <http://www.w3.org/2000/01/rdf-schema#label> "Wine Ontology" .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/food#PotableLiquid> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid1 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> .
+_:genid1 <http://www.w3.org/2002/07/owl#cardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid1 .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid2 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> .
+_:genid2 <http://www.w3.org/2002/07/owl#allValuesFrom> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid2 .
+_:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid3 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid3 <http://www.w3.org/2002/07/owl#minCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid3 .
+_:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid4 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid4 <http://www.w3.org/2002/07/owl#cardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid4 .
+_:genid5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid5 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid5 <http://www.w3.org/2002/07/owl#cardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid5 .
+_:genid6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid6 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid6 <http://www.w3.org/2002/07/owl#cardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid6 .
+_:genid7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid7 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid7 <http://www.w3.org/2002/07/owl#cardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid7 .
+_:genid8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid8 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid8 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid8 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/2000/01/rdf-schema#label> "wine"@en .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/2000/01/rdf-schema#label> "vin"@fr .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Vintage> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid9 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasVintageYear> .
+_:genid9 <http://www.w3.org/2002/07/owl#cardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Vintage> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid9 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineGrape> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/food#Grape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid10 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid12 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid11 .
+_:genid10 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid12 .
+_:genid11 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid11 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid11 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#White> .
+_:genid12 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteWine> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid10 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteTableWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid13 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#TableWine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#TableWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid15 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid14 .
+_:genid13 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid15 .
+_:genid14 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid14 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid14 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#White> .
+_:genid15 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteTableWine> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid13 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteNonSweetWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid16 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteWine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid18 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid17 .
+_:genid16 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid18 .
+_:genid17 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid17 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid19 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid20 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid21 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#OffDry> .
+_:genid20 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid21 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#OffDry> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid21 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid19 <http://www.w3.org/2002/07/owl#oneOf> _:genid20 .
+_:genid17 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid19 .
+_:genid18 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteNonSweetWine> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid16 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteLoire> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid22 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Loire> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Loire> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid23 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteWine> .
+_:genid22 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid23 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid23 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteLoire> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid22 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteLoire> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid24 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid24 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid25 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid26 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CheninBlancGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CheninBlancGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid27 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PinotBlancGrape> .
+_:genid26 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid27 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PinotBlancGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid28 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SauvignonBlancGrape> .
+_:genid27 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid28 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SauvignonBlancGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid28 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid25 <http://www.w3.org/2002/07/owl#oneOf> _:genid26 .
+_:genid24 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid25 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteLoire> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid24 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteBurgundy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid29 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Burgundy> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Burgundy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid30 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteWine> .
+_:genid29 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid30 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid30 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteBurgundy> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid29 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteBurgundy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid31 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid31 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid31 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChardonnayGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteBurgundy> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid31 .
+_:genid32 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid32 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid32 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteBurgundy> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid32 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteBordeaux> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid33 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Bordeaux> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Bordeaux> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid34 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteWine> .
+_:genid33 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid34 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid34 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteBordeaux> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid33 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteBordeaux> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid35 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid35 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid36 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid37 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SemillonGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SemillonGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid38 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SauvignonBlancGrape> .
+_:genid37 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid38 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SauvignonBlancGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid38 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid36 <http://www.w3.org/2002/07/owl#oneOf> _:genid37 .
+_:genid35 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid36 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteBordeaux> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid35 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#TransitiveProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/2002/07/owl#Thing> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#adjacentRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#adjacentRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#SymmetricProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#adjacentRegion> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#adjacentRegion> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#VintageYear> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#yearValue> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#yearValue> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#VintageYear> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#yearValue> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2001/XMLSchema#positiveInteger> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Year1998> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#VintageYear> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Year1998> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#yearValue> "1998"^^<http://www.w3.org/2001/XMLSchema#positiveInteger> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasVintageYear> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasVintageYear> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#FunctionalProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasVintageYear> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Vintage> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasVintageYear> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#VintageYear> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/food#madeFromFruit> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeIntoWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeIntoWine> <http://www.w3.org/2002/07/owl#inverseOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasWineDescriptor> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasWineDescriptor> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasWineDescriptor> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineDescriptor> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#FunctionalProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasWineDescriptor> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineSugar> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#FunctionalProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasWineDescriptor> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineBody> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#FunctionalProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasWineDescriptor> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineFlavor> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#FunctionalProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasWineDescriptor> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> <http://www.w3.org/2000/01/rdf-schema#domain> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineColor> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#FunctionalProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#producesWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#producesWine> <http://www.w3.org/2002/07/owl#inverseOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Zinfandel> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid39 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid41 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid40 .
+_:genid39 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid41 .
+_:genid40 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid40 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid40 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ZinfandelGrape> .
+_:genid43 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid42 .
+_:genid41 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid43 .
+_:genid42 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid42 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid42 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+_:genid43 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Zinfandel> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid39 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Zinfandel> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid44 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid44 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid44 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Red> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Zinfandel> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid44 .
+_:genid45 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid45 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid45 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Zinfandel> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid45 .
+_:genid46 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid46 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid47 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid48 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid49 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+_:genid48 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid49 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid49 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid47 <http://www.w3.org/2002/07/owl#oneOf> _:genid48 .
+_:genid46 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid47 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Zinfandel> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid46 .
+_:genid50 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid50 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid51 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid52 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid53 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+_:genid52 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid53 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid53 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid51 <http://www.w3.org/2002/07/owl#oneOf> _:genid52 .
+_:genid50 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid51 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Zinfandel> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid50 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineDescriptor> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineDescriptor> <http://www.w3.org/2000/01/rdf-schema#comment> "Made WineDescriptor unionType of tastes and color" .
+_:genid54 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineTaste> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineTaste> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid55 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineColor> .
+_:genid54 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid55 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineColor> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid55 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineDescriptor> <http://www.w3.org/2002/07/owl#unionOf> _:genid54 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineTaste> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineTaste> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineDescriptor> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineColor> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineColor> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineDescriptor> .
+_:genid56 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#White> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#White> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid57 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Rose> .
+_:genid56 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid57 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Rose> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid58 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Red> .
+_:genid57 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid58 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Red> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid58 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineColor> <http://www.w3.org/2002/07/owl#oneOf> _:genid56 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineSugar> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineSugar> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineTaste> .
+_:genid59 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sweet> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sweet> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid60 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#OffDry> .
+_:genid59 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid60 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#OffDry> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid61 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+_:genid60 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid61 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid61 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineSugar> <http://www.w3.org/2002/07/owl#oneOf> _:genid59 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineFlavor> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineFlavor> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineTaste> .
+_:genid62 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Delicate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Delicate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid63 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+_:genid62 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid63 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid64 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+_:genid63 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid64 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid64 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineFlavor> <http://www.w3.org/2002/07/owl#oneOf> _:genid62 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineBody> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineBody> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineTaste> .
+_:genid65 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Light> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Light> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid66 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+_:genid65 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid66 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid67 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+_:genid66 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid67 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid67 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineBody> <http://www.w3.org/2002/07/owl#oneOf> _:genid65 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#USRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Tours> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid68 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Loire> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Loire> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid70 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid69 .
+_:genid68 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid70 .
+_:genid69 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid69 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid69 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ToursRegion> .
+_:genid70 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Tours> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid68 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Tours> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid71 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid71 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid71 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CheninBlancGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Tours> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid71 .
+_:genid72 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid72 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid72 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Tours> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid72 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#TableWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid73 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid75 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid74 .
+_:genid73 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid75 .
+_:genid74 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid74 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid74 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+_:genid75 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#TableWine> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid73 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SweetWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid76 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid78 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid77 .
+_:genid76 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid78 .
+_:genid77 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid77 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid77 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sweet> .
+_:genid78 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SweetWine> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid76 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SweetRiesling> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SweetRiesling> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DessertWine> .
+_:genid79 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid79 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid79 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SweetRiesling> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid79 .
+_:genid80 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid80 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid81 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid82 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid83 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+_:genid82 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid83 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid83 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid81 <http://www.w3.org/2002/07/owl#oneOf> _:genid82 .
+_:genid80 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid81 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SweetRiesling> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid80 .
+_:genid84 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Riesling> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Riesling> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid86 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid85 .
+_:genid84 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid86 .
+_:genid85 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid85 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid85 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sweet> .
+_:genid86 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SweetRiesling> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid84 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StEmilion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid87 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid87 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid87 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Red> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StEmilion> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid87 .
+_:genid88 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid88 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid88 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StEmilion> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid88 .
+_:genid89 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid89 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid89 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetSauvignonGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StEmilion> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid89 .
+_:genid90 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid90 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid90 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StEmilion> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid90 .
+_:genid91 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Bordeaux> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Bordeaux> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid93 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid92 .
+_:genid91 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid93 .
+_:genid92 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid92 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid92 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StEmilionRegion> .
+_:genid93 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StEmilion> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid91 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SemillonOrSauvignonBlanc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid94 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid94 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid94 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#White> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SemillonOrSauvignonBlanc> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid94 .
+_:genid95 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid95 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid96 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid97 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid98 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+_:genid97 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid98 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid98 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid96 <http://www.w3.org/2002/07/owl#oneOf> _:genid97 .
+_:genid95 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid96 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SemillonOrSauvignonBlanc> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid95 .
+_:genid99 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid101 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid100 .
+_:genid99 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid101 .
+_:genid100 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid100 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid102 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid103 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SemillonGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SemillonGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid104 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SauvignonBlancGrape> .
+_:genid103 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid104 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SauvignonBlancGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid104 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid102 <http://www.w3.org/2002/07/owl#oneOf> _:genid103 .
+_:genid100 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid102 .
+_:genid101 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SemillonOrSauvignonBlanc> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid99 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Semillon> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid105 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SemillonOrSauvignonBlanc> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SemillonOrSauvignonBlanc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid107 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid106 .
+_:genid105 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid107 .
+_:genid106 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid106 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid106 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SemillonGrape> .
+_:genid109 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid108 .
+_:genid107 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid109 .
+_:genid108 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid108 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid108 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+_:genid109 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Semillon> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid105 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SauvignonBlanc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid110 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SemillonOrSauvignonBlanc> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SemillonOrSauvignonBlanc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid112 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid111 .
+_:genid110 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid112 .
+_:genid111 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid111 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid111 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SauvignonBlancGrape> .
+_:genid114 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid113 .
+_:genid112 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid114 .
+_:genid113 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid113 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid113 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+_:genid114 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SauvignonBlanc> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid110 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sauterne> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sauterne> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LateHarvest> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sauterne> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Bordeaux> .
+_:genid115 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid115 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid115 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SauterneRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sauterne> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid115 .
+_:genid116 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid116 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid116 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sauterne> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid116 .
+_:genid117 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid117 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid117 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#White> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sauterne> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid117 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sancerre> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid118 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid118 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid118 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sancerre> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid118 .
+_:genid119 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid119 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid119 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#OffDry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sancerre> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid119 .
+_:genid120 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid120 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid120 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Delicate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sancerre> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid120 .
+_:genid121 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid121 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid121 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SauvignonBlancGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sancerre> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid121 .
+_:genid122 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid122 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid122 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sancerre> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid122 .
+_:genid123 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Loire> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Loire> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid125 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid124 .
+_:genid123 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid125 .
+_:genid124 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid124 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid124 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SancerreRegion> .
+_:genid125 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sancerre> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid123 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RoseWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid126 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid128 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid127 .
+_:genid126 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid128 .
+_:genid127 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid127 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid127 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Rose> .
+_:genid128 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RoseWine> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid126 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Riesling> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid129 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid129 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid129 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#White> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Riesling> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid129 .
+_:genid130 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid132 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid131 .
+_:genid130 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid132 .
+_:genid131 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid131 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid131 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RieslingGrape> .
+_:genid134 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid133 .
+_:genid132 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid134 .
+_:genid133 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid133 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid133 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+_:genid134 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Riesling> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid130 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid135 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid137 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid136 .
+_:genid135 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid137 .
+_:genid136 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid136 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid136 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Red> .
+_:genid137 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedWine> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid135 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedTableWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid138 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#TableWine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#TableWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid140 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid139 .
+_:genid138 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid140 .
+_:genid139 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid139 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid139 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Red> .
+_:genid140 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedTableWine> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid138 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedBurgundy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid141 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid141 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid141 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PinotNoirGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedBurgundy> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid141 .
+_:genid142 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid142 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid142 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedBurgundy> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid142 .
+_:genid143 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Burgundy> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Burgundy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid144 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedWine> .
+_:genid143 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid144 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid144 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedBurgundy> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid143 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedBordeaux> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid145 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid145 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid146 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid147 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetSauvignonGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetSauvignonGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid148 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MerlotGrape> .
+_:genid147 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid148 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MerlotGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid148 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid146 <http://www.w3.org/2002/07/owl#oneOf> _:genid147 .
+_:genid145 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid146 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedBordeaux> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid145 .
+_:genid149 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Bordeaux> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Bordeaux> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid150 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedWine> .
+_:genid149 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid150 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid150 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedBordeaux> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid149 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Port> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Port> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedWine> .
+_:genid151 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid151 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid151 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PortugalRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Port> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid151 .
+_:genid152 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid152 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid152 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Port> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid152 .
+_:genid153 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid153 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid153 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Port> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid153 .
+_:genid154 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid154 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid154 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sweet> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Port> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid154 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PinotNoir> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid155 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid155 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid155 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Red> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PinotNoir> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid155 .
+_:genid156 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid158 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid157 .
+_:genid156 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid158 .
+_:genid157 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid157 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid157 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PinotNoirGrape> .
+_:genid160 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid159 .
+_:genid158 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid160 .
+_:genid159 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid159 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid159 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+_:genid160 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PinotNoir> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid156 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PinotBlanc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid161 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid161 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid161 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#White> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PinotBlanc> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid161 .
+_:genid162 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid164 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid163 .
+_:genid162 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid164 .
+_:genid163 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid163 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid163 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PinotBlancGrape> .
+_:genid166 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid165 .
+_:genid164 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid166 .
+_:genid165 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid165 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid165 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+_:genid166 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PinotBlanc> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid162 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PetiteSyrah> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid167 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid167 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid167 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Red> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PetiteSyrah> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid167 .
+_:genid168 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid168 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid168 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PetiteSyrah> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid168 .
+_:genid169 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid169 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid170 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid171 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid172 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+_:genid171 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid172 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid172 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid170 <http://www.w3.org/2002/07/owl#oneOf> _:genid171 .
+_:genid169 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid170 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PetiteSyrah> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid169 .
+_:genid173 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid173 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid174 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid175 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid176 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+_:genid175 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid176 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid176 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid174 <http://www.w3.org/2002/07/owl#oneOf> _:genid175 .
+_:genid173 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid174 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PetiteSyrah> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid173 .
+_:genid177 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid179 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid178 .
+_:genid177 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid179 .
+_:genid178 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid178 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid178 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PetiteSyrahGrape> .
+_:genid181 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid180 .
+_:genid179 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid181 .
+_:genid180 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid180 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid180 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+_:genid181 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PetiteSyrah> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid177 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Pauillac> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid182 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid182 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid182 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Pauillac> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid182 .
+_:genid183 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid183 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid183 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Pauillac> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid183 .
+_:genid184 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid184 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid184 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetSauvignonGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Pauillac> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid184 .
+_:genid185 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid185 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid185 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Pauillac> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid185 .
+_:genid186 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medoc> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medoc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid188 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid187 .
+_:genid186 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid188 .
+_:genid187 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid187 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid187 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PauillacRegion> .
+_:genid188 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Pauillac> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid186 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Muscadet> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid189 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid189 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid189 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Light> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Muscadet> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid189 .
+_:genid190 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid190 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid190 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Delicate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Muscadet> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid190 .
+_:genid191 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid191 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid191 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Muscadet> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid191 .
+_:genid192 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid192 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid192 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PinotBlancGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Muscadet> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid192 .
+_:genid193 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid193 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid193 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Muscadet> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid193 .
+_:genid194 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Loire> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Loire> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid196 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid195 .
+_:genid194 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid196 .
+_:genid195 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid195 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid195 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MuscadetRegion> .
+_:genid196 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Muscadet> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid194 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Meursault> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid197 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid197 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid197 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Meursault> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid197 .
+_:genid198 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteBurgundy> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteBurgundy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid200 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid199 .
+_:genid198 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid200 .
+_:genid199 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid199 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid199 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MeursaultRegion> .
+_:genid200 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Meursault> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid198 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Merlot> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid201 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid201 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid201 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Red> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Merlot> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid201 .
+_:genid202 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid202 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid202 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Merlot> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid202 .
+_:genid203 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid203 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid204 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid205 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid206 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Delicate> .
+_:genid205 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid206 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Delicate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid206 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid204 <http://www.w3.org/2002/07/owl#oneOf> _:genid205 .
+_:genid203 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid204 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Merlot> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid203 .
+_:genid207 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid207 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid208 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid209 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Light> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Light> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid210 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+_:genid209 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid210 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid210 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid208 <http://www.w3.org/2002/07/owl#oneOf> _:genid209 .
+_:genid207 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid208 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Merlot> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid207 .
+_:genid211 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid213 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid212 .
+_:genid211 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid213 .
+_:genid212 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid212 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid212 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MerlotGrape> .
+_:genid215 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid214 .
+_:genid213 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid215 .
+_:genid214 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid214 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid214 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+_:genid215 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Merlot> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid211 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Meritage> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid216 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid216 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid216 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Red> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Meritage> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid216 .
+_:genid217 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid219 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid218 .
+_:genid217 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid219 .
+_:genid218 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid218 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid220 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid221 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetSauvignonGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetSauvignonGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid222 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetFrancGrape> .
+_:genid221 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid222 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetFrancGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid223 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MalbecGrape> .
+_:genid222 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid223 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MalbecGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid224 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PetiteVerdotGrape> .
+_:genid223 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid224 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PetiteVerdotGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid225 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MerlotGrape> .
+_:genid224 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid225 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MerlotGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid225 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid220 <http://www.w3.org/2002/07/owl#oneOf> _:genid221 .
+_:genid218 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid220 .
+_:genid227 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid226 .
+_:genid219 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid227 .
+_:genid226 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid226 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid226 <http://www.w3.org/2002/07/owl#minCardinality> "2"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+_:genid227 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Meritage> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid217 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MedocRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MedocRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#BordeauxRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medoc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid228 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid228 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid228 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Red> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medoc> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid228 .
+_:genid229 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid229 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid229 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medoc> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid229 .
+_:genid230 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Bordeaux> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Bordeaux> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid232 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid231 .
+_:genid230 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid232 .
+_:genid231 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid231 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid231 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MedocRegion> .
+_:genid232 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medoc> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid230 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Margaux> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid233 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid233 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid233 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Delicate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Margaux> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid233 .
+_:genid234 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid234 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid234 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MerlotGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Margaux> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid234 .
+_:genid235 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid235 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid235 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Margaux> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid235 .
+_:genid236 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medoc> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medoc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid238 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid237 .
+_:genid236 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid238 .
+_:genid237 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid237 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid237 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MargauxRegion> .
+_:genid238 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Margaux> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid236 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LoireRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LoireRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FrenchRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Loire> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid239 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid241 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid240 .
+_:genid239 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid241 .
+_:genid240 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid240 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid240 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LoireRegion> .
+_:genid241 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Loire> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid239 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LateHarvest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LateHarvest> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LateHarvest> <http://www.w3.org/2002/07/owl#disjointWith> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#EarlyHarvest> .
+_:genid242 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid242 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid242 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sweet> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LateHarvest> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid242 .
+_:genid243 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid243 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid244 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid245 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid246 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+_:genid245 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid246 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid246 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid244 <http://www.w3.org/2002/07/owl#oneOf> _:genid245 .
+_:genid243 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid244 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LateHarvest> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid243 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ItalianWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid247 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid249 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid248 .
+_:genid247 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid249 .
+_:genid248 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid248 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid248 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ItalianRegion> .
+_:genid249 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ItalianWine> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid247 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ItalianRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#IceWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid250 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid250 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid251 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid252 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid253 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+_:genid252 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid253 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid253 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid251 <http://www.w3.org/2002/07/owl#oneOf> _:genid252 .
+_:genid250 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid251 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#IceWine> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid250 .
+_:genid254 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid254 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid255 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid256 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid257 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+_:genid256 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid257 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid257 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid255 <http://www.w3.org/2002/07/owl#oneOf> _:genid256 .
+_:genid254 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid255 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#IceWine> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid254 .
+_:genid258 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LateHarvest> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LateHarvest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid259 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DessertWine> .
+_:genid258 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid259 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DessertWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid261 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid260 .
+_:genid259 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid261 .
+_:genid260 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid260 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid260 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#White> .
+_:genid261 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#IceWine> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid258 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#GermanWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid262 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid264 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid263 .
+_:genid262 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid264 .
+_:genid263 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid263 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid263 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#GermanyRegion> .
+_:genid264 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#GermanWine> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid262 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Gamay> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid265 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid267 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid266 .
+_:genid265 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid267 .
+_:genid266 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid266 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid266 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#GamayGrape> .
+_:genid269 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid268 .
+_:genid267 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid269 .
+_:genid268 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid268 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid268 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+_:genid269 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Gamay> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid265 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FullBodiedWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid270 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid272 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid271 .
+_:genid270 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid272 .
+_:genid271 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid271 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid271 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+_:genid272 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FullBodiedWine> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid270 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FrenchRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FrenchWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid273 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid275 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid274 .
+_:genid273 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid275 .
+_:genid274 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid274 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid274 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FrenchRegion> .
+_:genid275 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FrenchWine> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid273 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#EarlyHarvest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#EarlyHarvest> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+_:genid276 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid276 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid277 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid278 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid279 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#OffDry> .
+_:genid278 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid279 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#OffDry> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid279 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid277 <http://www.w3.org/2002/07/owl#oneOf> _:genid278 .
+_:genid276 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid277 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#EarlyHarvest> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid276 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DryWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid280 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid282 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid281 .
+_:genid280 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid282 .
+_:genid281 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid281 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid281 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+_:genid282 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DryWine> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid280 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DryWhiteWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid283 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DryWine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DryWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid284 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteWine> .
+_:genid283 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid284 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid284 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DryWhiteWine> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid283 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DryRiesling> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid285 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid285 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid285 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#White> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DryRiesling> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid285 .
+_:genid286 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid286 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid286 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Delicate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DryRiesling> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid286 .
+_:genid287 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid287 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid288 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid289 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Light> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Light> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid290 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+_:genid289 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid290 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid290 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid288 <http://www.w3.org/2002/07/owl#oneOf> _:genid289 .
+_:genid287 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid288 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DryRiesling> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid287 .
+_:genid291 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Riesling> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Riesling> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid293 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid292 .
+_:genid291 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid293 .
+_:genid292 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid292 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid292 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+_:genid293 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DryRiesling> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid291 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DryRedWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid294 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DryWine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DryWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid295 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedWine> .
+_:genid294 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid295 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid295 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DryRedWine> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid294 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DessertWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DessertWine> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+_:genid296 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid296 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid297 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid298 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#OffDry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#OffDry> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid299 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sweet> .
+_:genid298 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid299 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sweet> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid299 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid297 <http://www.w3.org/2002/07/owl#oneOf> _:genid298 .
+_:genid296 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid297 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DessertWine> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid296 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CotesDOr> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid300 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid300 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid300 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CotesDOr> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid300 .
+_:genid301 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedBurgundy> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedBurgundy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid303 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid302 .
+_:genid301 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid303 .
+_:genid302 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid302 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid302 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CotesDOrRegion> .
+_:genid303 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CotesDOr> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid301 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Chianti> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Chianti> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ItalianWine> .
+_:genid304 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid304 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid304 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChiantiRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Chianti> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid304 .
+_:genid305 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid305 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid305 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Red> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Chianti> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid305 .
+_:genid306 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid306 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid306 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SangioveseGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Chianti> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid306 .
+_:genid307 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid307 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid307 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Chianti> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid307 .
+_:genid308 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid308 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid308 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Chianti> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid308 .
+_:genid309 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid309 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid310 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid311 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Light> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Light> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid312 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+_:genid311 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid312 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid312 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid310 <http://www.w3.org/2002/07/owl#oneOf> _:genid311 .
+_:genid309 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid310 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Chianti> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid309 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CheninBlanc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid313 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid313 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid313 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#White> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CheninBlanc> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid313 .
+_:genid314 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid314 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid314 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CheninBlanc> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid314 .
+_:genid315 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid315 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid316 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid317 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid318 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+_:genid317 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid318 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid318 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid316 <http://www.w3.org/2002/07/owl#oneOf> _:genid317 .
+_:genid315 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid316 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CheninBlanc> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid315 .
+_:genid319 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid319 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid320 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid321 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid322 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#OffDry> .
+_:genid321 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid322 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#OffDry> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid322 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid320 <http://www.w3.org/2002/07/owl#oneOf> _:genid321 .
+_:genid319 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid320 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CheninBlanc> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid319 .
+_:genid323 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid325 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid324 .
+_:genid323 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid325 .
+_:genid324 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid324 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid324 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CheninBlancGrape> .
+_:genid327 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid326 .
+_:genid325 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid327 .
+_:genid326 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid326 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid326 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+_:genid327 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CheninBlanc> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid323 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Chardonnay> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid328 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid328 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid328 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#White> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Chardonnay> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid328 .
+_:genid329 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid329 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid330 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid331 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid332 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+_:genid331 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid332 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid332 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid330 <http://www.w3.org/2002/07/owl#oneOf> _:genid331 .
+_:genid329 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid330 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Chardonnay> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid329 .
+_:genid333 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid333 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid334 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid335 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid336 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+_:genid335 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid336 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid336 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid334 <http://www.w3.org/2002/07/owl#oneOf> _:genid335 .
+_:genid333 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid334 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Chardonnay> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid333 .
+_:genid337 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid339 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid338 .
+_:genid337 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid339 .
+_:genid338 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid338 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid338 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChardonnayGrape> .
+_:genid341 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid340 .
+_:genid339 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid341 .
+_:genid340 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid340 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid340 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+_:genid341 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Chardonnay> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid337 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CaliforniaRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CaliforniaRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#USRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#TexasRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#TexasRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#USRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CaliforniaWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid342 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid344 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid343 .
+_:genid342 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid344 .
+_:genid343 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid343 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid343 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CaliforniaRegion> .
+_:genid344 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CaliforniaWine> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid342 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#TexasWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid345 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid347 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid346 .
+_:genid345 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid347 .
+_:genid346 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid346 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid346 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#TexasRegion> .
+_:genid347 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#TexasWine> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid345 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetSauvignon> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid348 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid348 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid348 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Red> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetSauvignon> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid348 .
+_:genid349 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid349 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid349 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetSauvignon> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid349 .
+_:genid350 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid350 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid351 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid352 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid353 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+_:genid352 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid353 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid353 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid351 <http://www.w3.org/2002/07/owl#oneOf> _:genid352 .
+_:genid350 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid351 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetSauvignon> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid350 .
+_:genid354 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid354 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid355 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid356 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid357 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+_:genid356 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid357 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Thing> .
+_:genid357 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid355 <http://www.w3.org/2002/07/owl#oneOf> _:genid356 .
+_:genid354 <http://www.w3.org/2002/07/owl#allValuesFrom> _:genid355 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetSauvignon> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid354 .
+_:genid358 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid360 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid359 .
+_:genid358 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid360 .
+_:genid359 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid359 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid359 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetSauvignonGrape> .
+_:genid362 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid361 .
+_:genid360 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid362 .
+_:genid361 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid361 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid361 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+_:genid362 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetSauvignon> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid358 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetFranc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid363 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid363 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid363 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Red> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetFranc> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid363 .
+_:genid364 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid364 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid364 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetFranc> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid364 .
+_:genid365 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid365 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid365 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetFranc> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid365 .
+_:genid366 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid366 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid366 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetFranc> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid366 .
+_:genid367 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid369 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid368 .
+_:genid367 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid369 .
+_:genid368 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid368 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid368 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetFrancGrape> .
+_:genid371 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid370 .
+_:genid369 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid371 .
+_:genid370 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid370 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid370 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+_:genid371 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetFranc> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid367 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Burgundy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid372 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid374 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid373 .
+_:genid372 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid374 .
+_:genid373 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid373 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid373 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#BourgogneRegion> .
+_:genid374 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Burgundy> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid372 .
+_:genid375 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid375 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid375 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Burgundy> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid375 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#BourgogneRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#BourgogneRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FrenchRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#BordeauxRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#BordeauxRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FrenchRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Bordeaux> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid376 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid378 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid377 .
+_:genid376 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid378 .
+_:genid377 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid377 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid377 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#BordeauxRegion> .
+_:genid378 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Bordeaux> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid376 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Beaujolais> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid379 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid379 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid379 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Red> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Beaujolais> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid379 .
+_:genid380 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid380 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid380 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Light> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Beaujolais> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid380 .
+_:genid381 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid381 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid381 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Beaujolais> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid381 .
+_:genid382 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid382 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid382 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Delicate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Beaujolais> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid382 .
+_:genid383 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid383 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid383 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#GamayGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Beaujolais> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid383 .
+_:genid384 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid384 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> .
+_:genid384 <http://www.w3.org/2002/07/owl#maxCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Beaujolais> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid384 .
+_:genid385 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid387 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid386 .
+_:genid385 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid387 .
+_:genid386 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid386 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid386 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#BeaujolaisRegion> .
+_:genid387 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Beaujolais> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid385 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#AustralianRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Anjou> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid388 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid388 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> .
+_:genid388 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Rose> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Anjou> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid388 .
+_:genid389 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid389 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> .
+_:genid389 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Light> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Anjou> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid389 .
+_:genid390 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid390 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> .
+_:genid390 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Delicate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Anjou> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid390 .
+_:genid391 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid391 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> .
+_:genid391 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#OffDry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Anjou> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid391 .
+_:genid392 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Loire> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Loire> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid394 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid393 .
+_:genid392 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid394 .
+_:genid393 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid393 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid393 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#AnjouRegion> .
+_:genid394 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Anjou> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid392 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#AmericanWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid395 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid397 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid396 .
+_:genid395 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid397 .
+_:genid396 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid396 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid396 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#USRegion> .
+_:genid397 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#AmericanWine> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid395 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#AlsatianWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid398 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Wine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
+_:genid400 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid399 .
+_:genid398 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid400 .
+_:genid399 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid399 <http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> .
+_:genid399 <http://www.w3.org/2002/07/owl#hasValue> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#AlsaceRegion> .
+_:genid400 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#AlsatianWine> <http://www.w3.org/2002/07/owl#intersectionOf> _:genid398 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineBody> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineBody> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Light> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineBody> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Red> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineColor> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Rose> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineColor> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#White> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineColor> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineFlavor> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineFlavor> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Delicate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineFlavor> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineSugar> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#OffDry> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineSugar> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#OffDry> <http://www.w3.org/2002/07/owl#differentFrom> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#OffDry> <http://www.w3.org/2002/07/owl#differentFrom> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sweet> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sweet> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineSugar> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sweet> <http://www.w3.org/2002/07/owl#differentFrom> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+_:genid401 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AllDifferent> .
+_:genid402 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Red> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Red> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineColor> .
+_:genid403 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#White> .
+_:genid402 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid403 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#White> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineColor> .
+_:genid404 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Rose> .
+_:genid403 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid404 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Rose> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineColor> .
+_:genid404 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid401 <http://www.w3.org/2002/07/owl#distinctMembers> _:genid402 .
+_:genid405 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AllDifferent> .
+_:genid406 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Light> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Light> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineBody> .
+_:genid407 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+_:genid406 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid407 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineBody> .
+_:genid408 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+_:genid407 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid408 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineBody> .
+_:genid408 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid405 <http://www.w3.org/2002/07/owl#distinctMembers> _:genid406 .
+_:genid409 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AllDifferent> .
+_:genid410 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Delicate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Delicate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineFlavor> .
+_:genid411 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+_:genid410 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid411 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineFlavor> .
+_:genid412 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+_:genid411 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid412 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineFlavor> .
+_:genid412 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid409 <http://www.w3.org/2002/07/owl#distinctMembers> _:genid410 .
+_:genid413 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AllDifferent> .
+_:genid414 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sweet> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sweet> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineSugar> .
+_:genid415 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#OffDry> .
+_:genid414 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid415 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#OffDry> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineSugar> .
+_:genid416 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+_:genid415 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid416 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineSugar> .
+_:genid416 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid413 <http://www.w3.org/2002/07/owl#distinctMembers> _:genid414 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#AlsaceRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#AlsaceRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FrenchRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#AnjouRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#AnjouRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LoireRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ArroyoGrandeRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ArroyoGrandeRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CaliforniaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Beringer> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Bancroft> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#BancroftChardonnay> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Chardonnay> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#BancroftChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#NapaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#BancroftChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Bancroft> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#BancroftChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#BancroftChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#BancroftChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#BeaujolaisRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#BeaujolaisRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FrenchRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetFrancGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetSauvignonGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CentralCoastRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CentralCoastRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CaliforniaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChardonnayGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauChevalBlanc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauChevalBlancStEmilion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StEmilion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauChevalBlancStEmilion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauChevalBlanc> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauDYchem> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauDYchemSauterne> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sauterne> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauDYchemSauterne> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SauvignonBlancGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauDYchemSauterne> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#madeFromGrape> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SemillonGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauDYchemSauterne> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauDYchemSauterne> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauDYchem> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauDeMeursault> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauDeMeursaultMeursault> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Meursault> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauDeMeursaultMeursault> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauDeMeursaultMeursault> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauDeMeursault> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauLafiteRothschild> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauLafiteRothschildPauillac> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Pauillac> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauLafiteRothschildPauillac> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauLafiteRothschild> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauMargaux> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Margaux> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauMargaux> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauMargauxWinery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauMargauxWinery> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauMorgon> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauMorgonBeaujolais> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Beaujolais> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauMorgonBeaujolais> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauMorgon> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CheninBlancGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ZinfandelGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChiantiClassico> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Chianti> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChiantiClassico> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChiantiClassico> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#McGuinnesso> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChiantiRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChiantiRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ItalianRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ClosDeLaPoussie> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ClosDeLaPoussieSancerre> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sancerre> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ClosDeLaPoussieSancerre> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ClosDeLaPoussie> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ClosDeVougeot> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ClosDeVougeotCotesDOr> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CotesDOr> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ClosDeVougeotCotesDOr> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ClosDeVougeot> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CongressSprings> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CongressSpringsSemillon> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Semillon> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CongressSpringsSemillon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CongressSprings> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CongressSpringsSemillon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CongressSpringsSemillon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CongressSpringsSemillon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Corbans> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CorbansDryWhiteRiesling> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Riesling> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CorbansDryWhiteRiesling> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#NewZealandRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CorbansDryWhiteRiesling> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Corbans> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CorbansDryWhiteRiesling> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#OffDry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CorbansDryWhiteRiesling> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CorbansDryWhiteRiesling> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CorbansPrivateBinSauvignonBlanc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SauvignonBlanc> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CorbansPrivateBinSauvignonBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#NewZealandRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CorbansPrivateBinSauvignonBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Corbans> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CorbansPrivateBinSauvignonBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CorbansPrivateBinSauvignonBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CorbansPrivateBinSauvignonBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CorbansSauvignonBlanc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SauvignonBlanc> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CorbansSauvignonBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#NewZealandRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CorbansSauvignonBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Corbans> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CorbansSauvignonBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CorbansSauvignonBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CorbansSauvignonBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CortonMontrachet> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CortonMontrachetWhiteBurgundy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteBurgundy> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CortonMontrachetWhiteBurgundy> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CortonMontrachet> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CortonMontrachetWhiteBurgundy> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CortonMontrachetWhiteBurgundy> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CortonMontrachetWhiteBurgundy> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CotesDOrRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CotesDOrRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#BourgogneRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Cotturi> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CotturiZinfandel> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Zinfandel> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CotturiZinfandel> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SonomaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CotturiZinfandel> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Cotturi> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CotturiZinfandel> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CotturiZinfandel> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CotturiZinfandel> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DAnjou> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#EdnaValleyRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#EdnaValleyRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CaliforniaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Elyse> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ElyseZinfandel> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Zinfandel> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ElyseZinfandel> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#NapaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ElyseZinfandel> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Elyse> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ElyseZinfandel> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ElyseZinfandel> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ElyseZinfandel> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Forman> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FormanCabernetSauvignon> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetSauvignon> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FormanCabernetSauvignon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#NapaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FormanCabernetSauvignon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Forman> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FormanCabernetSauvignon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FormanCabernetSauvignon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FormanCabernetSauvignon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FormanChardonnay> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Chardonnay> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FormanChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#NapaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FormanChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Forman> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FormanChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FormanChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FormanChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Foxen> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FoxenCheninBlanc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CheninBlanc> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FoxenCheninBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SantaBarbaraRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FoxenCheninBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Foxen> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FoxenCheninBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FoxenCheninBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#FoxenCheninBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#GamayGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#GaryFarrell> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#GaryFarrellMerlot> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Merlot> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#GaryFarrellMerlot> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SonomaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#GaryFarrellMerlot> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#GaryFarrell> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#GaryFarrellMerlot> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#GaryFarrellMerlot> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#GaryFarrellMerlot> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#GermanyRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Handley> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#KalinCellars> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#KalinCellarsSemillon> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Semillon> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#KalinCellarsSemillon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#KalinCellars> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#KalinCellarsSemillon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#KalinCellarsSemillon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#KalinCellarsSemillon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#KathrynKennedy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#KathrynKennedyLateral> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Meritage> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#KathrynKennedyLateral> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#KathrynKennedy> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#KathrynKennedyLateral> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#KathrynKennedyLateral> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Delicate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#KathrynKennedyLateral> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LaneTanner> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LaneTannerPinotNoir> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PinotNoir> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LaneTannerPinotNoir> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SantaBarbaraRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LaneTannerPinotNoir> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LaneTanner> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LaneTannerPinotNoir> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LaneTannerPinotNoir> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Delicate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LaneTannerPinotNoir> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Light> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Longridge> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LongridgeMerlot> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Merlot> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LongridgeMerlot> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#NewZealandRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LongridgeMerlot> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Longridge> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LongridgeMerlot> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LongridgeMerlot> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LongridgeMerlot> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Light> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MalbecGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MargauxRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MargauxRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MedocRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Marietta> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaCabernetSauvignon> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetSauvignon> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaCabernetSauvignon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SonomaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaCabernetSauvignon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Marietta> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaCabernetSauvignon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaCabernetSauvignon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaCabernetSauvignon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaOldVinesRed> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RedTableWine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaOldVinesRed> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SonomaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaOldVinesRed> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Marietta> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaOldVinesRed> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaOldVinesRed> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaOldVinesRed> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaPetiteSyrah> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PetiteSyrah> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaPetiteSyrah> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SonomaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaPetiteSyrah> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Marietta> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaPetiteSyrah> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaPetiteSyrah> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaPetiteSyrah> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaZinfandel> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Zinfandel> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaZinfandel> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SonomaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaZinfandel> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Marietta> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaZinfandel> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaZinfandel> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MariettaZinfandel> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#McGuinnesso> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MendocinoRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MendocinoRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CaliforniaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MendocinoRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#adjacentRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SonomaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MerlotGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MeursaultRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MeursaultRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#BourgogneRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountEdenVineyard> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountEdenVineyardEdnaValleyChardonnay> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Chardonnay> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountEdenVineyardEdnaValleyChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#EdnaValleyRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountEdenVineyardEdnaValleyChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountEdenVineyard> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountEdenVineyardEdnaValleyChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountEdenVineyardEdnaValleyChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountEdenVineyardEdnaValleyChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountEdenVineyardEstatePinotNoir> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PinotNoir> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountEdenVineyardEstatePinotNoir> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#EdnaValleyRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountEdenVineyardEstatePinotNoir> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountEdenVineyard> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountEdenVineyardEstatePinotNoir> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountEdenVineyardEstatePinotNoir> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountEdenVineyardEstatePinotNoir> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Mountadam> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountadamChardonnay> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Chardonnay> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountadamChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SouthAustraliaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountadamChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Mountadam> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountadamChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountadamChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountadamChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountadamPinotNoir> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PinotNoir> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountadamPinotNoir> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SouthAustraliaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountadamPinotNoir> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Mountadam> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountadamPinotNoir> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountadamPinotNoir> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountadamPinotNoir> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountadamRiesling> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DryRiesling> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountadamRiesling> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SouthAustraliaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountadamRiesling> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Mountadam> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountadamRiesling> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountadamRiesling> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Delicate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountadamRiesling> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MuscadetRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MuscadetRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LoireRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#NapaRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#NapaRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CaliforniaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#NewZealandRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PageMillWinery> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PageMillWineryCabernetSauvignon> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetSauvignon> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PageMillWineryCabernetSauvignon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#NapaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PageMillWineryCabernetSauvignon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PageMillWinery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PageMillWineryCabernetSauvignon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PageMillWineryCabernetSauvignon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PageMillWineryCabernetSauvignon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PauillacRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PauillacRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MedocRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PeterMccoy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PeterMccoyChardonnay> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Chardonnay> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PeterMccoyChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SonomaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PeterMccoyChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PeterMccoy> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PeterMccoyChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PeterMccoyChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PeterMccoyChardonnay> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PetiteSyrahGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PetiteVerdotGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PinotBlancGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PinotNoirGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PortugalRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PulignyMontrachet> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PulignyMontrachetWhiteBurgundy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteBurgundy> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PulignyMontrachetWhiteBurgundy> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PulignyMontrachet> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PulignyMontrachetWhiteBurgundy> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PulignyMontrachetWhiteBurgundy> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PulignyMontrachetWhiteBurgundy> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RieslingGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RoseDAnjou> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Anjou> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#RoseDAnjou> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DAnjou> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SancerreRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SancerreRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LoireRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SangioveseGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SantaBarbaraRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SantaBarbaraRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CaliforniaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SantaCruzMountainVineyard> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SantaCruzMountainVineyardCabernetSauvignon> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetSauvignon> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SantaCruzMountainVineyardCabernetSauvignon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SantaCruzMountainsRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SantaCruzMountainVineyardCabernetSauvignon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SantaCruzMountainVineyard> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SantaCruzMountainVineyardCabernetSauvignon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SantaCruzMountainVineyardCabernetSauvignon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SantaCruzMountainVineyardCabernetSauvignon> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CentralTexasRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CentralTexasRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#TexasRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StGenevieve> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StGenevieveTexasWhite> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhiteWine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StGenevieveTexasWhite> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CentralTexasRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StGenevieveTexasWhite> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StGenevieve> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StGenevieveTexasWhite> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StGenevieveTexasWhite> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SantaCruzMountainsRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SantaCruzMountainsRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CaliforniaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SaucelitoCanyon> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SaucelitoCanyonZinfandel> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Zinfandel> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SaucelitoCanyonZinfandel> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ArroyoGrandeRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SaucelitoCanyonZinfandel> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SaucelitoCanyon> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SaucelitoCanyonZinfandel> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SaucelitoCanyonZinfandel> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SaucelitoCanyonZinfandel> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SaucelitoCanyonZinfandel1998> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Zinfandel> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SaucelitoCanyonZinfandel1998> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ArroyoGrandeRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SaucelitoCanyonZinfandel1998> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasVintageYear> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Year1998> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SaucelitoCanyonZinfandel1998> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SaucelitoCanyon> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SaucelitoCanyonZinfandel1998> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SaucelitoCanyonZinfandel1998> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SaucelitoCanyonZinfandel1998> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SauterneRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SauterneRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#BordeauxRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SauvignonBlancGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SchlossRothermel> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SchlossRothermelTrochenbierenausleseRiesling> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SweetRiesling> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SchlossRothermelTrochenbierenausleseRiesling> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#GermanyRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SchlossRothermelTrochenbierenausleseRiesling> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SchlossRothermel> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SchlossRothermelTrochenbierenausleseRiesling> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sweet> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SchlossRothermelTrochenbierenausleseRiesling> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SchlossRothermelTrochenbierenausleseRiesling> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SchlossVolrad> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SchlossVolradTrochenbierenausleseRiesling> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SweetRiesling> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SchlossVolradTrochenbierenausleseRiesling> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#GermanyRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SchlossVolradTrochenbierenausleseRiesling> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SchlossVolrad> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SchlossVolradTrochenbierenausleseRiesling> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sweet> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SchlossVolradTrochenbierenausleseRiesling> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SchlossVolradTrochenbierenausleseRiesling> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SeanThackrey> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SeanThackreySiriusPetiteSyrah> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PetiteSyrah> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SeanThackreySiriusPetiteSyrah> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#NapaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SeanThackreySiriusPetiteSyrah> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SeanThackrey> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SeanThackreySiriusPetiteSyrah> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SeanThackreySiriusPetiteSyrah> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Strong> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SeanThackreySiriusPetiteSyrah> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Full> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Selaks> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SelaksIceWine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#IceWine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SelaksIceWine> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#NewZealandRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SelaksIceWine> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Selaks> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SelaksIceWine> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SelaksIceWine> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SelaksIceWine> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasColor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#White> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SelaksSauvignonBlanc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SauvignonBlanc> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SelaksSauvignonBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#NewZealandRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SelaksSauvignonBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Selaks> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SelaksSauvignonBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SelaksSauvignonBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SelaksSauvignonBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SemillonGrape> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineGrape> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SevreEtMaine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SevreEtMaineMuscadet> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Muscadet> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SevreEtMaineMuscadet> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SevreEtMaine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SonomaRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SonomaRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CaliforniaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SouthAustraliaRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SouthAustraliaRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#AustralianRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StEmilionRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StEmilionRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#BordeauxRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Stonleigh> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StonleighSauvignonBlanc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SauvignonBlanc> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StonleighSauvignonBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#NewZealandRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StonleighSauvignonBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Stonleigh> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StonleighSauvignonBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StonleighSauvignonBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Delicate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StonleighSauvignonBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Taylor> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#TaylorPort> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Port> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#TaylorPort> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Taylor> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ToursRegion> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Region> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ToursRegion> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LoireRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Ventana> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#VentanaCheninBlanc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CheninBlanc> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#VentanaCheninBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CentralCoastRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#VentanaCheninBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Ventana> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#VentanaCheninBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#OffDry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#VentanaCheninBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#VentanaCheninBlanc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhitehallLane> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhitehallLaneCabernetFranc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CabernetFranc> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhitehallLaneCabernetFranc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#NapaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhitehallLaneCabernetFranc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasMaker> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhitehallLane> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhitehallLaneCabernetFranc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Dry> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhitehallLaneCabernetFranc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Moderate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhitehallLaneCabernetFranc> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Medium> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhitehallLanePrimavera> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DessertWine> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhitehallLanePrimavera> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#locatedIn> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#NapaRegion> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhitehallLanePrimavera> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasSugar> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Sweet> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhitehallLanePrimavera> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasFlavor> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Delicate> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhitehallLanePrimavera> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#hasBody> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Light> .
+_:genid417 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AllDifferent> .
+_:genid418 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Bancroft> .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Bancroft> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid419 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauChevalBlanc> .
+_:genid418 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid419 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauChevalBlanc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid420 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauDYchem> .
+_:genid419 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid420 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauDYchem> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid421 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauDeMeursault> .
+_:genid420 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid421 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauDeMeursault> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid422 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauLafiteRothschild> .
+_:genid421 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid422 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauLafiteRothschild> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid423 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauMargauxWinery> .
+_:genid422 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid423 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauMargauxWinery> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid424 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauMorgon> .
+_:genid423 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid424 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ChateauMorgon> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid425 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ClosDeLaPoussie> .
+_:genid424 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid425 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ClosDeLaPoussie> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid426 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ClosDeVougeot> .
+_:genid425 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid426 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#ClosDeVougeot> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid427 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CongressSprings> .
+_:genid426 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid427 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CongressSprings> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid428 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Corbans> .
+_:genid427 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid428 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Corbans> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid429 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CortonMontrachet> .
+_:genid428 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid429 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#CortonMontrachet> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid430 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Cotturi> .
+_:genid429 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid430 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Cotturi> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid431 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DAnjou> .
+_:genid430 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid431 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#DAnjou> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid432 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Elyse> .
+_:genid431 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid432 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Elyse> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid433 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Forman> .
+_:genid432 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid433 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Forman> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid434 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Foxen> .
+_:genid433 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid434 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Foxen> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid435 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#GaryFarrell> .
+_:genid434 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid435 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#GaryFarrell> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid436 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#KalinCellars> .
+_:genid435 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid436 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#KalinCellars> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid437 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#KathrynKennedy> .
+_:genid436 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid437 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#KathrynKennedy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid438 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LaneTanner> .
+_:genid437 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid438 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#LaneTanner> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid439 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Longridge> .
+_:genid438 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid439 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Longridge> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid440 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Marietta> .
+_:genid439 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid440 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Marietta> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid441 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#McGuinnesso> .
+_:genid440 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid441 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#McGuinnesso> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid442 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountEdenVineyard> .
+_:genid441 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid442 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#MountEdenVineyard> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid443 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Mountadam> .
+_:genid442 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid443 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Mountadam> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid444 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PageMillWinery> .
+_:genid443 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid444 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PageMillWinery> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid445 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PeterMccoy> .
+_:genid444 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid445 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PeterMccoy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid446 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PulignyMontrachet> .
+_:genid445 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid446 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#PulignyMontrachet> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid447 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SantaCruzMountainVineyard> .
+_:genid446 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid447 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SantaCruzMountainVineyard> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid448 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SaucelitoCanyon> .
+_:genid447 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid448 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SaucelitoCanyon> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid449 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SchlossRothermel> .
+_:genid448 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid449 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SchlossRothermel> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid450 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SchlossVolrad> .
+_:genid449 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid450 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SchlossVolrad> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid451 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SeanThackrey> .
+_:genid450 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid451 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SeanThackrey> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid452 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Selaks> .
+_:genid451 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid452 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Selaks> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid453 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SevreEtMaine> .
+_:genid452 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid453 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#SevreEtMaine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid454 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StGenevieve> .
+_:genid453 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid454 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#StGenevieve> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid455 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Stonleigh> .
+_:genid454 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid455 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Stonleigh> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid456 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Taylor> .
+_:genid455 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid456 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Taylor> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid457 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Ventana> .
+_:genid456 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid457 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Ventana> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid458 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhitehallLane> .
+_:genid457 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid458 .
+<http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WhitehallLane> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#Winery> .
+_:genid458 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid417 <http://www.w3.org/2002/07/owl#distinctMembers> _:genid418 .
diff --git a/tests/rdfxml/wine.rdf b/tests/rdfxml/wine.rdf
new file mode 100644
index 0000000..91c0f5d
--- /dev/null
+++ b/tests/rdfxml/wine.rdf
@@ -0,0 +1,2402 @@
+<?xml version="1.0"?>
+<!DOCTYPE rdf:RDF [
+ <!ENTITY vin "http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#" >
+ <!ENTITY food "http://www.w3.org/TR/2003/CR-owl-guide-20030818/food#" >
+ <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
+ <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
+ ]>
+
+<rdf:RDF
+ xmlns = "http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#"
+ xmlns:vin = "http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#"
+ xml:base = "http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#"
+ xmlns:food= "http://www.w3.org/TR/2003/CR-owl-guide-20030818/food#"
+ xmlns:owl = "http://www.w3.org/2002/07/owl#"
+ xmlns:rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs= "http://www.w3.org/2000/01/rdf-schema#"
+ xmlns:xsd = "http://www.w3.org/2001/XMLSchema#">
+
+ <owl:Ontology rdf:about="">
+ <rdfs:comment>An example OWL ontology</rdfs:comment>
+ <owl:priorVersion>
+ <owl:Ontology rdf:about="http://www.w3.org/TR/2003/WD-owl-guide-20030331/wine"/>
+ </owl:priorVersion>
+ <owl:imports rdf:resource="http://www.w3.org/TR/2003/CR-owl-guide-20030818/food"/>
+ <rdfs:comment>Derived from the DAML Wine ontology at
+ http://ontolingua.stanford.edu/doc/chimaera/ontologies/wines.daml
+ Substantially changed, in particular the Region based relations.
+ </rdfs:comment>
+ <rdfs:label>Wine Ontology</rdfs:label>
+ </owl:Ontology>
+
+ <owl:Class rdf:ID="Wine">
+ <rdfs:subClassOf rdf:resource="&food;PotableLiquid" />
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasMaker" />
+ <owl:cardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:cardinality>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasMaker" />
+ <owl:allValuesFrom rdf:resource="#Winery" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:minCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:minCardinality>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:cardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:cardinality>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:cardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:cardinality>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:cardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:cardinality>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:cardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:cardinality>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn"/>
+ <owl:someValuesFrom rdf:resource="&vin;Region"/>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:label xml:lang="en">wine</rdfs:label>
+ <rdfs:label xml:lang="fr">vin</rdfs:label>
+ </owl:Class>
+
+ <owl:Class rdf:ID="Vintage">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasVintageYear"/>
+ <owl:cardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:cardinality>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="WineGrape">
+ <rdfs:subClassOf rdf:resource="&food;Grape" />
+ </owl:Class>
+
+ <owl:Class rdf:ID="WhiteWine">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#White" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="WhiteTableWine">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#TableWine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#White" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="WhiteNonSweetWine">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#WhiteWine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Dry" />
+ <owl:Thing rdf:about="#OffDry" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="WhiteLoire">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Loire" />
+ <owl:Class rdf:about="#WhiteWine" />
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:about="#WhiteLoire">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#CheninBlancGrape" />
+ <owl:Thing rdf:about="#PinotBlancGrape" />
+ <owl:Thing rdf:about="#SauvignonBlancGrape" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="WhiteBurgundy">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Burgundy" />
+ <owl:Class rdf:about="#WhiteWine" />
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:about="#WhiteBurgundy">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#ChardonnayGrape" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="WhiteBordeaux">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Bordeaux" />
+ <owl:Class rdf:about="#WhiteWine" />
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:about="#WhiteBordeaux">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#SemillonGrape" />
+ <owl:Thing rdf:about="#SauvignonBlancGrape" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="Region" />
+
+ <owl:ObjectProperty rdf:ID="locatedIn">
+ <rdf:type rdf:resource="&owl;TransitiveProperty" />
+ <rdfs:domain rdf:resource="http://www.w3.org/2002/07/owl#Thing" />
+ <rdfs:range rdf:resource="#Region" />
+ </owl:ObjectProperty>
+
+ <owl:ObjectProperty rdf:ID="adjacentRegion">
+ <rdf:type rdf:resource="&owl;SymmetricProperty" />
+ <rdfs:domain rdf:resource="#Region" />
+ <rdfs:range rdf:resource="#Region" />
+ </owl:ObjectProperty>
+
+ <owl:Class rdf:ID="VintageYear" />
+
+ <owl:DatatypeProperty rdf:ID="yearValue">
+ <rdfs:domain rdf:resource="#VintageYear" />
+ <rdfs:range rdf:resource="&xsd;positiveInteger" />
+ </owl:DatatypeProperty>
+
+ <VintageYear rdf:ID="Year1998">
+ <yearValue rdf:datatype="&xsd;positiveInteger">1998</yearValue>
+ </VintageYear>
+
+ <owl:ObjectProperty rdf:ID="hasVintageYear">
+ <rdf:type rdf:resource="&owl;FunctionalProperty" />
+ <rdfs:domain rdf:resource="#Vintage" />
+ <rdfs:range rdf:resource="#VintageYear" />
+ </owl:ObjectProperty>
+
+ <owl:ObjectProperty rdf:ID="madeFromGrape">
+ <rdfs:subPropertyOf rdf:resource="&food;madeFromFruit" />
+ <rdfs:domain rdf:resource="#Wine" />
+ <rdfs:range rdf:resource="#WineGrape" />
+ </owl:ObjectProperty>
+
+ <owl:ObjectProperty rdf:ID="madeIntoWine">
+ <owl:inverseOf rdf:resource="#madeFromGrape" />
+ </owl:ObjectProperty>
+
+ <owl:ObjectProperty rdf:ID="hasWineDescriptor">
+ <rdfs:domain rdf:resource="#Wine" />
+ <rdfs:range rdf:resource="#WineDescriptor" />
+ </owl:ObjectProperty>
+
+ <owl:ObjectProperty rdf:ID="hasSugar">
+ <rdf:type rdf:resource="&owl;FunctionalProperty" />
+ <rdfs:subPropertyOf rdf:resource="#hasWineDescriptor" />
+ <rdfs:range rdf:resource="#WineSugar" />
+ </owl:ObjectProperty>
+
+ <owl:ObjectProperty rdf:ID="hasBody">
+ <rdf:type rdf:resource="&owl;FunctionalProperty" />
+ <rdfs:subPropertyOf rdf:resource="#hasWineDescriptor" />
+ <rdfs:range rdf:resource="#WineBody" />
+ </owl:ObjectProperty>
+
+ <owl:ObjectProperty rdf:ID="hasFlavor">
+ <rdf:type rdf:resource="&owl;FunctionalProperty" />
+ <rdfs:subPropertyOf rdf:resource="#hasWineDescriptor" />
+ <rdfs:range rdf:resource="#WineFlavor" />
+ </owl:ObjectProperty>
+
+ <owl:ObjectProperty rdf:ID="hasColor">
+ <rdf:type rdf:resource="&owl;FunctionalProperty" />
+ <rdfs:subPropertyOf rdf:resource="#hasWineDescriptor" />
+ <rdfs:domain rdf:resource="#Wine" />
+ <rdfs:range rdf:resource="#WineColor" />
+ </owl:ObjectProperty>
+
+ <owl:ObjectProperty rdf:ID="hasMaker">
+ <rdf:type rdf:resource="&owl;FunctionalProperty" />
+ </owl:ObjectProperty>
+
+ <owl:ObjectProperty rdf:ID="producesWine">
+ <owl:inverseOf rdf:resource="#hasMaker" />
+ </owl:ObjectProperty>
+
+ <owl:Class rdf:ID="Zinfandel">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#ZinfandelGrape" />
+ </owl:Restriction>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:about="#Zinfandel">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#Red" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:hasValue rdf:resource="#Dry" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Full" />
+ <owl:Thing rdf:about="#Medium" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Moderate" />
+ <owl:Thing rdf:about="#Strong" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="Winery" />
+
+ <owl:Class rdf:ID="WineDescriptor">
+ <rdfs:comment>Made WineDescriptor unionType of tastes and color</rdfs:comment>
+ <owl:unionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#WineTaste" />
+ <owl:Class rdf:about="#WineColor" />
+ </owl:unionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="WineTaste">
+ <rdfs:subClassOf rdf:resource="#WineDescriptor" />
+ </owl:Class>
+
+ <owl:Class rdf:ID="WineColor">
+ <rdfs:subClassOf rdf:resource="#WineDescriptor" />
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#White" />
+ <owl:Thing rdf:about="#Rose" />
+ <owl:Thing rdf:about="#Red" />
+ </owl:oneOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="WineSugar">
+ <rdfs:subClassOf rdf:resource="#WineTaste" />
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Sweet" />
+ <owl:Thing rdf:about="#OffDry" />
+ <owl:Thing rdf:about="#Dry" />
+ </owl:oneOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="WineFlavor">
+ <rdfs:subClassOf rdf:resource="#WineTaste" />
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Delicate" />
+ <owl:Thing rdf:about="#Moderate" />
+ <owl:Thing rdf:about="#Strong" />
+ </owl:oneOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="WineBody">
+ <rdfs:subClassOf rdf:resource="#WineTaste" />
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Light" />
+ <owl:Thing rdf:about="#Medium" />
+ <owl:Thing rdf:about="#Full" />
+ </owl:oneOf>
+ </owl:Class>
+
+ <Region rdf:ID="USRegion" />
+
+ <owl:Class rdf:ID="Tours">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Loire" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#ToursRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:about="#Tours">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#CheninBlancGrape" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="TableWine">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:hasValue rdf:resource="#Dry" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="SweetWine">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:hasValue rdf:resource="#Sweet" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="SweetRiesling">
+ <rdfs:subClassOf rdf:resource="#DessertWine" />
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:hasValue rdf:resource="#Full" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Moderate" />
+ <owl:Thing rdf:about="#Strong" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Riesling" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:hasValue rdf:resource="#Sweet" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="StEmilion">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#Red" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:hasValue rdf:resource="#Strong" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#CabernetSauvignonGrape" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Bordeaux" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#StEmilionRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="SemillonOrSauvignonBlanc">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#White" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Medium" />
+ <owl:Thing rdf:about="#Full" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#SemillonGrape" />
+ <owl:Thing rdf:about="#SauvignonBlancGrape" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="Semillon">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#SemillonOrSauvignonBlanc" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#SemillonGrape" />
+ </owl:Restriction>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="SauvignonBlanc">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#SemillonOrSauvignonBlanc" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#SauvignonBlancGrape" />
+ </owl:Restriction>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="Sauterne">
+ <rdfs:subClassOf rdf:resource="#LateHarvest" />
+ <rdfs:subClassOf rdf:resource="#Bordeaux" />
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#SauterneRegion" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:hasValue rdf:resource="#Medium" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#White" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="Sancerre">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:hasValue rdf:resource="#Medium" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:hasValue rdf:resource="#OffDry" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:hasValue rdf:resource="#Delicate" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#SauvignonBlancGrape" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Loire" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#SancerreRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="RoseWine">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#Rose" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="Riesling">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#White" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#RieslingGrape" />
+ </owl:Restriction>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="RedWine">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#Red" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="RedTableWine">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#TableWine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#Red" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="RedBurgundy">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#PinotNoirGrape" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Burgundy" />
+ <owl:Class rdf:about="#RedWine" />
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="RedBordeaux">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#CabernetSauvignonGrape" />
+ <owl:Thing rdf:about="#MerlotGrape" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Bordeaux" />
+ <owl:Class rdf:about="#RedWine" />
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="Port">
+ <rdfs:subClassOf rdf:resource="#RedWine" />
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#PortugalRegion" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:hasValue rdf:resource="#Full" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:hasValue rdf:resource="#Strong" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:hasValue rdf:resource="#Sweet" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="PinotNoir">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#Red" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#PinotNoirGrape" />
+ </owl:Restriction>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="PinotBlanc">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#White" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#PinotBlancGrape" />
+ </owl:Restriction>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="PetiteSyrah">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#Red" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:hasValue rdf:resource="#Dry" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Moderate" />
+ <owl:Thing rdf:about="#Strong" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Medium" />
+ <owl:Thing rdf:about="#Full" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#PetiteSyrahGrape" />
+ </owl:Restriction>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="Pauillac">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:hasValue rdf:resource="#Full" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:hasValue rdf:resource="#Strong" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#CabernetSauvignonGrape" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Medoc" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#PauillacRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="Muscadet">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:hasValue rdf:resource="#Light" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:hasValue rdf:resource="#Delicate" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:hasValue rdf:resource="#Dry" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#PinotBlancGrape" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Loire" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#MuscadetRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="Meursault">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:hasValue rdf:resource="#Full" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#WhiteBurgundy" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#MeursaultRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="Merlot">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#Red" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:hasValue rdf:resource="#Dry" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Moderate" />
+ <owl:Thing rdf:about="#Delicate" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Light" />
+ <owl:Thing rdf:about="#Medium" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#MerlotGrape" />
+ </owl:Restriction>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="Meritage">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#Red" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#CabernetSauvignonGrape" />
+ <owl:Thing rdf:about="#CabernetFrancGrape" />
+ <owl:Thing rdf:about="#MalbecGrape" />
+ <owl:Thing rdf:about="#PetiteVerdotGrape" />
+ <owl:Thing rdf:about="#MerlotGrape" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:minCardinality rdf:datatype="&xsd;nonNegativeInteger">2</owl:minCardinality>
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <Region rdf:ID="MedocRegion">
+ <locatedIn rdf:resource="#BordeauxRegion" />
+ </Region>
+
+ <owl:Class rdf:ID="Medoc">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#Red" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:hasValue rdf:resource="#Dry" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Bordeaux" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#MedocRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="Margaux">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:hasValue rdf:resource="#Delicate" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#MerlotGrape" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Medoc" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#MargauxRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <Region rdf:ID="LoireRegion">
+ <locatedIn rdf:resource="#FrenchRegion" />
+ </Region>
+
+ <owl:Class rdf:ID="Loire">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#LoireRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="LateHarvest">
+ <rdfs:subClassOf rdf:resource="#Wine" />
+ <owl:disjointWith rdf:resource="#EarlyHarvest" />
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:hasValue rdf:resource="#Sweet" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Moderate" />
+ <owl:Thing rdf:about="#Strong" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="ItalianWine">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#ItalianRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <Region rdf:ID="ItalianRegion" />
+
+ <owl:Class rdf:ID="IceWine">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Medium" />
+ <owl:Thing rdf:about="#Full" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Moderate" />
+ <owl:Thing rdf:about="#Strong" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#LateHarvest" />
+ <owl:Class rdf:about="#DessertWine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#White" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="GermanWine">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#GermanyRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="Gamay">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#GamayGrape" />
+ </owl:Restriction>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="FullBodiedWine">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:hasValue rdf:resource="#Full" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <Region rdf:ID="FrenchRegion" />
+
+ <owl:Class rdf:ID="FrenchWine">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#FrenchRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="EarlyHarvest">
+ <rdfs:subClassOf rdf:resource="#Wine" />
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Dry" />
+ <owl:Thing rdf:about="#OffDry" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="DryWine">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:hasValue rdf:resource="#Dry" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="DryWhiteWine">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#DryWine" />
+ <owl:Class rdf:about="#WhiteWine" />
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="DryRiesling">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#White" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:hasValue rdf:resource="#Delicate" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Light" />
+ <owl:Thing rdf:about="#Medium" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Riesling" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:hasValue rdf:resource="#Dry" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="DryRedWine">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#DryWine" />
+ <owl:Class rdf:about="#RedWine" />
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="DessertWine">
+ <rdfs:subClassOf rdf:resource="#Wine" />
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#OffDry" />
+ <owl:Thing rdf:about="#Sweet" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="CotesDOr">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:hasValue rdf:resource="#Moderate" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#RedBurgundy" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#CotesDOrRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="Chianti">
+ <rdfs:subClassOf rdf:resource="#ItalianWine" />
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#ChiantiRegion" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#Red" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#SangioveseGrape" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:hasValue rdf:resource="#Moderate" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:hasValue rdf:resource="#Dry" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Light" />
+ <owl:Thing rdf:about="#Medium" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="CheninBlanc">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#White" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:hasValue rdf:resource="#Moderate" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Full" />
+ <owl:Thing rdf:about="#Medium" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Dry" />
+ <owl:Thing rdf:about="#OffDry" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#CheninBlancGrape" />
+ </owl:Restriction>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="Chardonnay">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#White" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Full" />
+ <owl:Thing rdf:about="#Medium" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Strong" />
+ <owl:Thing rdf:about="#Moderate" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#ChardonnayGrape" />
+ </owl:Restriction>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <Region rdf:ID="CaliforniaRegion">
+ <locatedIn rdf:resource="#USRegion" />
+ </Region>
+
+ <Region rdf:ID="TexasRegion">
+ <locatedIn rdf:resource="#USRegion" />
+ </Region>
+
+ <owl:Class rdf:ID="CaliforniaWine">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#CaliforniaRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="TexasWine">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#TexasRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="CabernetSauvignon">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#Red" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:hasValue rdf:resource="#Dry" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Moderate" />
+ <owl:Thing rdf:about="#Strong" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:allValuesFrom>
+ <owl:Class>
+ <owl:oneOf rdf:parseType="Collection">
+ <owl:Thing rdf:about="#Medium" />
+ <owl:Thing rdf:about="#Full" />
+ </owl:oneOf>
+ </owl:Class>
+ </owl:allValuesFrom>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#CabernetSauvignonGrape" />
+ </owl:Restriction>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="CabernetFranc">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#Red" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:hasValue rdf:resource="#Moderate" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:hasValue rdf:resource="#Medium" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:hasValue rdf:resource="#Dry" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#CabernetFrancGrape" />
+ </owl:Restriction>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="Burgundy">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#BourgogneRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:hasValue rdf:resource="#Dry" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ </owl:Class>
+
+ <Region rdf:ID="BourgogneRegion">
+ <locatedIn rdf:resource="#FrenchRegion" />
+ </Region>
+
+ <Region rdf:ID="BordeauxRegion">
+ <locatedIn rdf:resource="#FrenchRegion" />
+ </Region>
+
+ <owl:Class rdf:ID="Bordeaux">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#BordeauxRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="Beaujolais">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#Red" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:hasValue rdf:resource="#Light" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:hasValue rdf:resource="#Dry" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:hasValue rdf:resource="#Delicate" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:hasValue rdf:resource="#GamayGrape" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#madeFromGrape" />
+ <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#BeaujolaisRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <Region rdf:ID="AustralianRegion" />
+
+ <owl:Class rdf:ID="Anjou">
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasColor" />
+ <owl:hasValue rdf:resource="#Rose" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasBody" />
+ <owl:hasValue rdf:resource="#Light" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasFlavor" />
+ <owl:hasValue rdf:resource="#Delicate" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#hasSugar" />
+ <owl:hasValue rdf:resource="#OffDry" />
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Loire" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#AnjouRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="AmericanWine">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#USRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <owl:Class rdf:ID="AlsatianWine">
+ <owl:intersectionOf rdf:parseType="Collection">
+ <owl:Class rdf:about="#Wine" />
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="#locatedIn" />
+ <owl:hasValue rdf:resource="#AlsaceRegion" />
+ </owl:Restriction>
+ </owl:intersectionOf>
+ </owl:Class>
+
+ <WineBody rdf:ID="Full" />
+
+ <WineBody rdf:ID="Medium" />
+
+ <WineBody rdf:ID="Light" />
+
+ <WineColor rdf:ID="Red" />
+
+ <WineColor rdf:ID="Rose" />
+
+ <WineColor rdf:ID="White" />
+
+ <WineFlavor rdf:ID="Strong" />
+
+ <WineFlavor rdf:ID="Moderate" />
+
+ <WineFlavor rdf:ID="Delicate" />
+
+ <WineSugar rdf:ID="Dry" />
+
+ <WineSugar rdf:ID="OffDry">
+ <owl:differentFrom rdf:resource="#Dry"/>
+ <owl:differentFrom rdf:resource="#Sweet"/>
+ </WineSugar>
+
+ <WineSugar rdf:ID="Sweet">
+ <owl:differentFrom rdf:resource="#Dry"/>
+ </WineSugar>
+
+ <owl:AllDifferent>
+ <owl:distinctMembers rdf:parseType="Collection">
+ <vin:WineColor rdf:about="#Red" />
+ <vin:WineColor rdf:about="#White" />
+ <vin:WineColor rdf:about="#Rose" />
+ </owl:distinctMembers>
+ </owl:AllDifferent>
+
+ <owl:AllDifferent>
+ <owl:distinctMembers rdf:parseType="Collection">
+ <vin:WineBody rdf:about="#Light" />
+ <vin:WineBody rdf:about="#Medium" />
+ <vin:WineBody rdf:about="#Full" />
+ </owl:distinctMembers>
+ </owl:AllDifferent>
+
+ <owl:AllDifferent>
+ <owl:distinctMembers rdf:parseType="Collection">
+ <vin:WineFlavor rdf:about="#Delicate" />
+ <vin:WineFlavor rdf:about="#Moderate" />
+ <vin:WineFlavor rdf:about="#Strong" />
+ </owl:distinctMembers>
+ </owl:AllDifferent>
+
+ <owl:AllDifferent>
+ <owl:distinctMembers rdf:parseType="Collection">
+ <vin:WineSugar rdf:about="#Sweet" />
+ <vin:WineSugar rdf:about="#OffDry" />
+ <vin:WineSugar rdf:about="#Dry" />
+ </owl:distinctMembers>
+ </owl:AllDifferent>
+
+ <Region rdf:ID="AlsaceRegion">
+ <locatedIn rdf:resource="#FrenchRegion" />
+ </Region>
+
+ <Region rdf:ID="AnjouRegion">
+ <locatedIn rdf:resource="#LoireRegion" />
+ </Region>
+
+ <Region rdf:ID="ArroyoGrandeRegion">
+ <locatedIn rdf:resource="#CaliforniaRegion" />
+ </Region>
+
+ <Winery rdf:ID="Beringer" />
+
+ <Winery rdf:ID="Bancroft" />
+
+ <Chardonnay rdf:ID="BancroftChardonnay">
+ <locatedIn rdf:resource="#NapaRegion" />
+ <hasMaker rdf:resource="#Bancroft" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Medium" />
+ </Chardonnay>
+
+ <Region rdf:ID="BeaujolaisRegion">
+ <locatedIn rdf:resource="#FrenchRegion" />
+ </Region>
+
+ <WineGrape rdf:ID="CabernetFrancGrape" />
+
+ <WineGrape rdf:ID="CabernetSauvignonGrape" />
+
+ <Region rdf:ID="CentralCoastRegion">
+ <locatedIn rdf:resource="#CaliforniaRegion" />
+ </Region>
+
+ <WineGrape rdf:ID="ChardonnayGrape" />
+
+ <Winery rdf:ID="ChateauChevalBlanc" />
+
+ <StEmilion rdf:ID="ChateauChevalBlancStEmilion">
+ <hasMaker rdf:resource="#ChateauChevalBlanc" />
+ </StEmilion>
+
+ <Winery rdf:ID="ChateauDYchem" />
+
+ <Sauterne rdf:ID="ChateauDYchemSauterne">
+ <madeFromGrape rdf:resource="#SauvignonBlancGrape" />
+ <madeFromGrape rdf:resource="#SemillonGrape" />
+ <hasFlavor rdf:resource="#Strong" />
+ <hasMaker rdf:resource="#ChateauDYchem" />
+ </Sauterne>
+
+ <Winery rdf:ID="ChateauDeMeursault" />
+
+ <Meursault rdf:ID="ChateauDeMeursaultMeursault">
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasMaker rdf:resource="#ChateauDeMeursault" />
+ </Meursault>
+
+ <Winery rdf:ID="ChateauLafiteRothschild" />
+
+ <Pauillac rdf:ID="ChateauLafiteRothschildPauillac">
+ <hasMaker rdf:resource="#ChateauLafiteRothschild" />
+ </Pauillac>
+
+ <Margaux rdf:ID="ChateauMargaux">
+ <hasMaker rdf:resource="#ChateauMargauxWinery" />
+ </Margaux>
+
+ <Winery rdf:ID="ChateauMargauxWinery" />
+
+ <Winery rdf:ID="ChateauMorgon" />
+
+ <Beaujolais rdf:ID="ChateauMorgonBeaujolais">
+ <hasMaker rdf:resource="#ChateauMorgon" />
+ </Beaujolais>
+
+ <WineGrape rdf:ID="CheninBlancGrape" />
+
+ <WineGrape rdf:ID="ZinfandelGrape" />
+
+ <Chianti rdf:ID="ChiantiClassico">
+ <hasBody rdf:resource="#Medium" />
+ <hasMaker rdf:resource="#McGuinnesso" />
+ </Chianti>
+
+ <Region rdf:ID="ChiantiRegion">
+ <locatedIn rdf:resource="#ItalianRegion" />
+ </Region>
+
+ <Winery rdf:ID="ClosDeLaPoussie" />
+
+ <Sancerre rdf:ID="ClosDeLaPoussieSancerre">
+ <hasMaker rdf:resource="#ClosDeLaPoussie" />
+ </Sancerre>
+
+ <Winery rdf:ID="ClosDeVougeot" />
+
+ <CotesDOr rdf:ID="ClosDeVougeotCotesDOr">
+ <hasMaker rdf:resource="#ClosDeVougeot" />
+ </CotesDOr>
+
+ <Winery rdf:ID="CongressSprings" />
+
+ <Semillon rdf:ID="CongressSpringsSemillon">
+ <hasMaker rdf:resource="#CongressSprings" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Medium" />
+ </Semillon>
+
+ <Winery rdf:ID="Corbans" />
+
+ <Riesling rdf:ID="CorbansDryWhiteRiesling">
+ <locatedIn rdf:resource="#NewZealandRegion" />
+ <hasMaker rdf:resource="#Corbans" />
+ <hasSugar rdf:resource="#OffDry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Medium" />
+ </Riesling>
+
+ <SauvignonBlanc rdf:ID="CorbansPrivateBinSauvignonBlanc">
+ <locatedIn rdf:resource="#NewZealandRegion" />
+ <hasMaker rdf:resource="#Corbans" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Strong" />
+ <hasBody rdf:resource="#Full" />
+ </SauvignonBlanc>
+
+ <SauvignonBlanc rdf:ID="CorbansSauvignonBlanc">
+ <locatedIn rdf:resource="#NewZealandRegion" />
+ <hasMaker rdf:resource="#Corbans" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Strong" />
+ <hasBody rdf:resource="#Medium" />
+ </SauvignonBlanc>
+
+ <Winery rdf:ID="CortonMontrachet" />
+
+ <WhiteBurgundy rdf:ID="CortonMontrachetWhiteBurgundy">
+ <hasMaker rdf:resource="#CortonMontrachet" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Strong" />
+ <hasBody rdf:resource="#Full" />
+ </WhiteBurgundy>
+
+ <Region rdf:ID="CotesDOrRegion">
+ <locatedIn rdf:resource="#BourgogneRegion" />
+ </Region>
+
+ <Winery rdf:ID="Cotturi" />
+
+ <Zinfandel rdf:ID="CotturiZinfandel">
+ <locatedIn rdf:resource="#SonomaRegion" />
+ <hasMaker rdf:resource="#Cotturi" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Strong" />
+ <hasBody rdf:resource="#Full" />
+ </Zinfandel>
+
+ <Winery rdf:ID="DAnjou" />
+
+ <Region rdf:ID="EdnaValleyRegion">
+ <locatedIn rdf:resource="#CaliforniaRegion" />
+ </Region>
+
+ <Winery rdf:ID="Elyse" />
+
+ <Zinfandel rdf:ID="ElyseZinfandel">
+ <locatedIn rdf:resource="#NapaRegion" />
+ <hasMaker rdf:resource="#Elyse" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Full" />
+ </Zinfandel>
+
+ <Winery rdf:ID="Forman" />
+
+ <CabernetSauvignon rdf:ID="FormanCabernetSauvignon">
+ <locatedIn rdf:resource="#NapaRegion" />
+ <hasMaker rdf:resource="#Forman" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Strong" />
+ <hasBody rdf:resource="#Medium" />
+ </CabernetSauvignon>
+
+ <Chardonnay rdf:ID="FormanChardonnay">
+ <locatedIn rdf:resource="#NapaRegion" />
+ <hasMaker rdf:resource="#Forman" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Full" />
+ </Chardonnay>
+
+ <Winery rdf:ID="Foxen" />
+
+ <CheninBlanc rdf:ID="FoxenCheninBlanc">
+ <locatedIn rdf:resource="#SantaBarbaraRegion" />
+ <hasMaker rdf:resource="#Foxen" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Full" />
+ </CheninBlanc>
+
+ <WineGrape rdf:ID="GamayGrape" />
+
+ <Winery rdf:ID="GaryFarrell" />
+
+ <Merlot rdf:ID="GaryFarrellMerlot">
+ <locatedIn rdf:resource="#SonomaRegion" />
+ <hasMaker rdf:resource="#GaryFarrell" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Medium" />
+ </Merlot>
+
+ <Region rdf:ID="GermanyRegion" />
+
+ <Winery rdf:ID="Handley" />
+
+ <Winery rdf:ID="KalinCellars" />
+
+ <Semillon rdf:ID="KalinCellarsSemillon">
+ <hasMaker rdf:resource="#KalinCellars" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Strong" />
+ <hasBody rdf:resource="#Full" />
+ </Semillon>
+
+ <Winery rdf:ID="KathrynKennedy" />
+
+ <Meritage rdf:ID="KathrynKennedyLateral">
+ <hasMaker rdf:resource="#KathrynKennedy" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Delicate" />
+ <hasBody rdf:resource="#Medium" />
+ </Meritage>
+
+ <Winery rdf:ID="LaneTanner" />
+
+ <PinotNoir rdf:ID="LaneTannerPinotNoir">
+ <locatedIn rdf:resource="#SantaBarbaraRegion" />
+ <hasMaker rdf:resource="#LaneTanner" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Delicate" />
+ <hasBody rdf:resource="#Light" />
+ </PinotNoir>
+
+ <Winery rdf:ID="Longridge" />
+
+ <Merlot rdf:ID="LongridgeMerlot">
+ <locatedIn rdf:resource="#NewZealandRegion" />
+ <hasMaker rdf:resource="#Longridge" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Light" />
+ </Merlot>
+
+ <WineGrape rdf:ID="MalbecGrape" />
+
+ <Region rdf:ID="MargauxRegion">
+ <locatedIn rdf:resource="#MedocRegion" />
+ </Region>
+
+ <Winery rdf:ID="Marietta" />
+
+ <CabernetSauvignon rdf:ID="MariettaCabernetSauvignon">
+ <locatedIn rdf:resource="#SonomaRegion" />
+ <hasMaker rdf:resource="#Marietta" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Medium" />
+ </CabernetSauvignon>
+
+ <RedTableWine rdf:ID="MariettaOldVinesRed">
+ <locatedIn rdf:resource="#SonomaRegion" />
+ <hasMaker rdf:resource="#Marietta" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Medium" />
+ </RedTableWine>
+
+ <PetiteSyrah rdf:ID="MariettaPetiteSyrah">
+ <locatedIn rdf:resource="#SonomaRegion" />
+ <hasMaker rdf:resource="#Marietta" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Medium" />
+ </PetiteSyrah>
+
+ <Zinfandel rdf:ID="MariettaZinfandel">
+ <locatedIn rdf:resource="#SonomaRegion" />
+ <hasMaker rdf:resource="#Marietta" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Medium" />
+ </Zinfandel>
+
+ <Winery rdf:ID="McGuinnesso" />
+
+ <Region rdf:ID="MendocinoRegion">
+ <locatedIn rdf:resource="#CaliforniaRegion" />
+ <adjacentRegion rdf:resource="#SonomaRegion" />
+ </Region>
+
+ <WineGrape rdf:ID="MerlotGrape" />
+
+ <Region rdf:ID="MeursaultRegion">
+ <locatedIn rdf:resource="#BourgogneRegion" />
+ </Region>
+
+ <Winery rdf:ID="MountEdenVineyard" />
+
+ <Chardonnay rdf:ID="MountEdenVineyardEdnaValleyChardonnay">
+ <locatedIn rdf:resource="#EdnaValleyRegion" />
+ <hasMaker rdf:resource="#MountEdenVineyard" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Medium" />
+ </Chardonnay>
+
+ <PinotNoir rdf:ID="MountEdenVineyardEstatePinotNoir">
+ <locatedIn rdf:resource="#EdnaValleyRegion" />
+ <hasMaker rdf:resource="#MountEdenVineyard" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Strong" />
+ <hasBody rdf:resource="#Full" />
+ </PinotNoir>
+
+ <Winery rdf:ID="Mountadam" />
+
+ <Chardonnay rdf:ID="MountadamChardonnay">
+ <locatedIn rdf:resource="#SouthAustraliaRegion" />
+ <hasMaker rdf:resource="#Mountadam" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Strong" />
+ <hasBody rdf:resource="#Full" />
+ </Chardonnay>
+
+ <PinotNoir rdf:ID="MountadamPinotNoir">
+ <locatedIn rdf:resource="#SouthAustraliaRegion" />
+ <hasMaker rdf:resource="#Mountadam" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Medium" />
+ </PinotNoir>
+
+ <DryRiesling rdf:ID="MountadamRiesling">
+ <locatedIn rdf:resource="#SouthAustraliaRegion" />
+ <hasMaker rdf:resource="#Mountadam" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Delicate" />
+ <hasBody rdf:resource="#Medium" />
+ </DryRiesling>
+
+ <Region rdf:ID="MuscadetRegion">
+ <locatedIn rdf:resource="#LoireRegion" />
+ </Region>
+
+ <Region rdf:ID="NapaRegion">
+ <locatedIn rdf:resource="#CaliforniaRegion" />
+ </Region>
+
+ <Region rdf:ID="NewZealandRegion" />
+
+ <Winery rdf:ID="PageMillWinery" />
+
+ <CabernetSauvignon rdf:ID="PageMillWineryCabernetSauvignon">
+ <locatedIn rdf:resource="#NapaRegion" />
+ <hasMaker rdf:resource="#PageMillWinery" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Medium" />
+ </CabernetSauvignon>
+
+ <Region rdf:ID="PauillacRegion">
+ <locatedIn rdf:resource="#MedocRegion" />
+ </Region>
+
+ <Winery rdf:ID="PeterMccoy" />
+
+ <Chardonnay rdf:ID="PeterMccoyChardonnay">
+ <locatedIn rdf:resource="#SonomaRegion" />
+ <hasMaker rdf:resource="#PeterMccoy" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Medium" />
+ </Chardonnay>
+
+ <WineGrape rdf:ID="PetiteSyrahGrape" />
+
+ <WineGrape rdf:ID="PetiteVerdotGrape" />
+
+ <WineGrape rdf:ID="PinotBlancGrape" />
+
+ <WineGrape rdf:ID="PinotNoirGrape" />
+
+ <Region rdf:ID="PortugalRegion" />
+
+ <Winery rdf:ID="PulignyMontrachet" />
+
+ <WhiteBurgundy rdf:ID="PulignyMontrachetWhiteBurgundy">
+ <hasMaker rdf:resource="#PulignyMontrachet" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Medium" />
+ </WhiteBurgundy>
+
+ <WineGrape rdf:ID="RieslingGrape" />
+
+ <Anjou rdf:ID="RoseDAnjou">
+ <hasMaker rdf:resource="#DAnjou" />
+ </Anjou>
+
+ <Region rdf:ID="SancerreRegion">
+ <locatedIn rdf:resource="#LoireRegion" />
+ </Region>
+
+ <WineGrape rdf:ID="SangioveseGrape" />
+
+ <Region rdf:ID="SantaBarbaraRegion">
+ <locatedIn rdf:resource="#CaliforniaRegion" />
+ </Region>
+
+ <Winery rdf:ID="SantaCruzMountainVineyard" />
+
+ <CabernetSauvignon rdf:ID="SantaCruzMountainVineyardCabernetSauvignon">
+ <locatedIn rdf:resource="#SantaCruzMountainsRegion" />
+ <hasMaker rdf:resource="#SantaCruzMountainVineyard" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Strong" />
+ <hasBody rdf:resource="#Full" />
+ </CabernetSauvignon>
+
+ <Region rdf:ID="CentralTexasRegion">
+ <locatedIn rdf:resource="#TexasRegion" />
+ </Region>
+
+ <Winery rdf:ID="StGenevieve" />
+
+ <WhiteWine rdf:ID="StGenevieveTexasWhite">
+ <locatedIn rdf:resource="#CentralTexasRegion" />
+ <hasMaker rdf:resource="#StGenevieve" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ </WhiteWine>
+
+ <Region rdf:ID="SantaCruzMountainsRegion">
+ <locatedIn rdf:resource="#CaliforniaRegion" />
+ </Region>
+
+ <Winery rdf:ID="SaucelitoCanyon" />
+
+ <Zinfandel rdf:ID="SaucelitoCanyonZinfandel">
+ <locatedIn rdf:resource="#ArroyoGrandeRegion" />
+ <hasMaker rdf:resource="#SaucelitoCanyon" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Medium" />
+ </Zinfandel>
+
+ <Zinfandel rdf:ID="SaucelitoCanyonZinfandel1998">
+ <locatedIn rdf:resource="#ArroyoGrandeRegion" />
+ <hasVintageYear rdf:resource="#Year1998" />
+ <hasMaker rdf:resource="#SaucelitoCanyon" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Medium" />
+ </Zinfandel>
+
+ <Region rdf:ID="SauterneRegion">
+ <locatedIn rdf:resource="#BordeauxRegion" />
+ </Region>
+
+ <WineGrape rdf:ID="SauvignonBlancGrape" />
+
+ <Winery rdf:ID="SchlossRothermel" />
+
+ <SweetRiesling rdf:ID="SchlossRothermelTrochenbierenausleseRiesling">
+ <locatedIn rdf:resource="#GermanyRegion" />
+ <hasMaker rdf:resource="#SchlossRothermel" />
+ <hasSugar rdf:resource="#Sweet" />
+ <hasFlavor rdf:resource="#Strong" />
+ <hasBody rdf:resource="#Full" />
+ </SweetRiesling>
+
+ <Winery rdf:ID="SchlossVolrad" />
+
+ <SweetRiesling rdf:ID="SchlossVolradTrochenbierenausleseRiesling">
+ <locatedIn rdf:resource ="#GermanyRegion" />
+ <hasMaker rdf:resource="#SchlossVolrad" />
+ <hasSugar rdf:resource="#Sweet" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Full" />
+ </SweetRiesling>
+
+ <Winery rdf:ID="SeanThackrey" />
+
+ <PetiteSyrah rdf:ID="SeanThackreySiriusPetiteSyrah">
+ <locatedIn rdf:resource="#NapaRegion" />
+ <hasMaker rdf:resource="#SeanThackrey" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Strong" />
+ <hasBody rdf:resource="#Full" />
+ </PetiteSyrah>
+
+ <Winery rdf:ID="Selaks" />
+
+ <IceWine rdf:ID="SelaksIceWine">
+ <locatedIn rdf:resource="#NewZealandRegion" />
+ <hasMaker rdf:resource="#Selaks" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Medium" />
+ <hasColor rdf:resource="#White" />
+ </IceWine>
+
+ <SauvignonBlanc rdf:ID="SelaksSauvignonBlanc">
+ <locatedIn rdf:resource="#NewZealandRegion" />
+ <hasMaker rdf:resource="#Selaks" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Medium" />
+ </SauvignonBlanc>
+
+ <WineGrape rdf:ID="SemillonGrape" />
+
+ <Winery rdf:ID="SevreEtMaine" />
+
+ <Muscadet rdf:ID="SevreEtMaineMuscadet">
+ <hasMaker rdf:resource="#SevreEtMaine" />
+ </Muscadet>
+
+ <Region rdf:ID="SonomaRegion">
+ <locatedIn rdf:resource="#CaliforniaRegion" />
+ </Region>
+
+ <Region rdf:ID="SouthAustraliaRegion">
+ <locatedIn rdf:resource="#AustralianRegion" />
+ </Region>
+
+ <Region rdf:ID="StEmilionRegion">
+ <locatedIn rdf:resource="#BordeauxRegion" />
+ </Region>
+
+ <Winery rdf:ID="Stonleigh" />
+
+ <SauvignonBlanc rdf:ID="StonleighSauvignonBlanc">
+ <locatedIn rdf:resource="#NewZealandRegion" />
+ <hasMaker rdf:resource="#Stonleigh" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Delicate" />
+ <hasBody rdf:resource="#Medium" />
+ </SauvignonBlanc>
+
+ <Winery rdf:ID="Taylor" />
+
+ <Port rdf:ID="TaylorPort">
+ <hasMaker rdf:resource="#Taylor" />
+ </Port>
+
+ <Region rdf:ID="ToursRegion">
+ <locatedIn rdf:resource="#LoireRegion" />
+ </Region>
+
+ <Winery rdf:ID="Ventana" />
+
+ <CheninBlanc rdf:ID="VentanaCheninBlanc">
+ <locatedIn rdf:resource="#CentralCoastRegion" />
+ <hasMaker rdf:resource="#Ventana" />
+ <hasSugar rdf:resource="#OffDry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Medium" />
+ </CheninBlanc>
+
+ <Winery rdf:ID="WhitehallLane" />
+
+ <CabernetFranc rdf:ID="WhitehallLaneCabernetFranc">
+ <locatedIn rdf:resource="#NapaRegion" />
+ <hasMaker rdf:resource="#WhitehallLane" />
+ <hasSugar rdf:resource="#Dry" />
+ <hasFlavor rdf:resource="#Moderate" />
+ <hasBody rdf:resource="#Medium" />
+ </CabernetFranc>
+
+ <DessertWine rdf:ID="WhitehallLanePrimavera">
+ <locatedIn rdf:resource="#NapaRegion" />
+ <hasSugar rdf:resource="#Sweet" />
+ <hasFlavor rdf:resource="#Delicate" />
+ <hasBody rdf:resource="#Light" />
+ </DessertWine>
+
+ <owl:AllDifferent>
+ <owl:distinctMembers rdf:parseType="Collection">
+ <vin:Winery rdf:about="#Bancroft" />
+ <vin:Winery rdf:about="#ChateauChevalBlanc" />
+ <vin:Winery rdf:about="#ChateauDYchem" />
+ <vin:Winery rdf:about="#ChateauDeMeursault" />
+ <vin:Winery rdf:about="#ChateauLafiteRothschild" />
+ <vin:Winery rdf:about="#ChateauMargauxWinery" />
+ <vin:Winery rdf:about="#ChateauMorgon" />
+ <vin:Winery rdf:about="#ClosDeLaPoussie" />
+ <vin:Winery rdf:about="#ClosDeVougeot" />
+ <vin:Winery rdf:about="#CongressSprings" />
+ <vin:Winery rdf:about="#Corbans" />
+ <vin:Winery rdf:about="#CortonMontrachet" />
+ <vin:Winery rdf:about="#Cotturi" />
+ <vin:Winery rdf:about="#DAnjou" />
+ <vin:Winery rdf:about="#Elyse" />
+ <vin:Winery rdf:about="#Forman" />
+ <vin:Winery rdf:about="#Foxen" />
+ <vin:Winery rdf:about="#GaryFarrell" />
+ <vin:Winery rdf:about="#KalinCellars" />
+ <vin:Winery rdf:about="#KathrynKennedy" />
+ <vin:Winery rdf:about="#LaneTanner" />
+ <vin:Winery rdf:about="#Longridge" />
+ <vin:Winery rdf:about="#Marietta" />
+ <vin:Winery rdf:about="#McGuinnesso" />
+ <vin:Winery rdf:about="#MountEdenVineyard" />
+ <vin:Winery rdf:about="#Mountadam" />
+ <vin:Winery rdf:about="#PageMillWinery" />
+ <vin:Winery rdf:about="#PeterMccoy" />
+ <vin:Winery rdf:about="#PulignyMontrachet" />
+ <vin:Winery rdf:about="#SantaCruzMountainVineyard" />
+ <vin:Winery rdf:about="#SaucelitoCanyon" />
+ <vin:Winery rdf:about="#SchlossRothermel" />
+ <vin:Winery rdf:about="#SchlossVolrad" />
+ <vin:Winery rdf:about="#SeanThackrey" />
+ <vin:Winery rdf:about="#Selaks" />
+ <vin:Winery rdf:about="#SevreEtMaine" />
+ <vin:Winery rdf:about="#StGenevieve" />
+ <vin:Winery rdf:about="#Stonleigh" />
+ <vin:Winery rdf:about="#Taylor" />
+ <vin:Winery rdf:about="#Ventana" />
+ <vin:Winery rdf:about="#WhitehallLane" />
+ </owl:distinctMembers>
+ </owl:AllDifferent>
+
+</rdf:RDF>