<docbook><section><title>VirtRDFViewNorthwindOntology</title><bridgehead class="http://www.w3.org/1999/xhtml:h2">Basic Northwind Ontology</bridgehead>
<programlisting>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;!--
 -
 -  $Id: nw.owl,v 1.3 2007/11/14 20:58:28 aziz Exp $
 -
 -  This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
 -  project.
 -
 -  Copyright (C) 1998-2007 OpenLink Software
 -
 -  This project is free software; you can redistribute it and/or modify it
 -  under the terms of the GNU General Public License as published by the
 -  Free Software Foundation; only version 2 of the License, dated June 1991.
 -
 -  This program is distributed in the hope that it will be useful, but
 -  WITHOUT ANY WARRANTY; without even the implied warranty of
 -  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 -  General Public License for more details.
 -
 -  You should have received a copy of the GNU General Public License along
 -  with this program; if not, write to the Free Software Foundation, Inc.,
 -  51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 -
--&gt;
&lt;rdf:RDF xmlns:rdfs=&quot;http://www.w3.org/2000/01/rdf-schema#&quot;
         xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;
         xmlns:owl =&quot;http://www.w3.org/2002/07/owl#&quot;
         xmlns:virtrdf=&quot;http://www.openlinksw.com/schemas/virtrdf#&quot;
         xml:base=&quot;http://demo.openlinksw.com/schemas/northwind#&quot;&gt;
  &lt;owl:Ontology rdf:about=&quot;http://demo.openlinksw.com/schemas/northwind#&quot;&gt;
        &lt;rdfs:label&gt;Northwind&lt;/rdfs:label&gt;
        &lt;rdfs:comment&gt;Northwind database classes and properties&lt;/rdfs:comment&gt;
        &lt;virtrdf:catName&gt;Northwind&lt;/virtrdf:catName&gt;
        &lt;virtrdf:version&gt;1.00&lt;/virtrdf:version&gt;
  &lt;/owl:Ontology&gt;
  
  &lt;rdfs:Class rdf:ID=&quot;Product&quot;&gt;
    &lt;rdfs:label&gt;Product&lt;/rdfs:label&gt;
  &lt;/rdfs:Class&gt;
  &lt;rdf:Property rdf:ID=&quot;has_category&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;#Category&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Product&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Category&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;has_supplier&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;#Supplier&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Product&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Supplier&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;ProductName&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Product&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;ProductName&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;QuantityPerUnit&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Product&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;QuantityPerUnit&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;UnitPrice&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#double&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Product&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#OrderLine&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;UnitPrice&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;UnitsInStock&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#integer&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Product&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;UnitsInStock&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;UnitsOnOrder&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#integer&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Product&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;UnitsOnOrder&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;ReorderLevel&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#integer&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Product&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;ReorderLevel&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;Discontinued&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#integer&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Product&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Discontinued&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;

  &lt;rdfs:Class rdf:ID=&quot;Supplier&quot;&gt;
    &lt;rdfs:label&gt;Supplier&lt;/rdfs:label&gt;
  &lt;/rdfs:Class&gt;
  &lt;rdf:Property rdf:ID=&quot;CompanyName&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:subPropertyOf rdf:resource=&quot;http://xmlns.com/foaf/0.1/name&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Supplier&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Shipper&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Customer&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;CompanyName&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;ContactName&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:subPropertyOf rdf:resource=&quot;http://xmlns.com/foaf/0.1/name&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Supplier&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Customer&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#CustomerContact&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;ContactName&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;ContactTitle&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:subPropertyOf rdf:resource=&quot;http://xmlns.com/foaf/0.1/title&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Supplier&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Customer&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;ContactTitle&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;Address&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Supplier&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Customer&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Employee&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Address&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;City&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Supplier&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Customer&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Employee&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;City&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;Region&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Supplier&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Customer&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Employee&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Region&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;PostalCode&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Supplier&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Customer&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Employee&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;PostalCode&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;CountryName&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;#Country&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Supplier&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Customer&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#CustomerContact&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Employee&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Country&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;Phone&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:subPropertyOf rdf:resource=&quot;http://xmlns.com/foaf/0.1/phone&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Supplier&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Shipper&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Customer&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#CustomerContact&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Employee&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Phone&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;Fax&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Supplier&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Customer&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Fax&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;HomePage&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Supplier&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;HomePage&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;

  &lt;rdfs:Class rdf:ID=&quot;Category&quot;&gt;
    &lt;rdfs:label&gt;Category&lt;/rdfs:label&gt;
  &lt;/rdfs:Class&gt;
  &lt;rdf:Property rdf:ID=&quot;CategoryName&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Category&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;CategoryName&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;Description&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Category&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Description&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;

  &lt;rdfs:Class rdf:ID=&quot;Shipper&quot;&gt;
    &lt;rdfs:label&gt;Shipper&lt;/rdfs:label&gt;
  &lt;/rdfs:Class&gt;

  &lt;rdfs:Class rdf:ID=&quot;CustomerContact&quot;&gt;
    &lt;rdfs:label&gt;CustomerContact&lt;/rdfs:label&gt;
    &lt;rdfs:subClassOf rdf:resource=&quot;http://xmlns.com/foaf/0.1/Person&quot;/&gt;
  &lt;/rdfs:Class&gt;

  &lt;rdfs:Class rdf:ID=&quot;Customer&quot;&gt;
    &lt;rdfs:label&gt;Customer&lt;/rdfs:label&gt;
    &lt;rdfs:subClassOf rdf:resource=&quot;http://xmlns.com/foaf/0.1/Organization&quot;/&gt;
  &lt;/rdfs:Class&gt;

  &lt;rdfs:Class rdf:ID=&quot;Employee&quot;&gt;
    &lt;rdfs:label&gt;Employee&lt;/rdfs:label&gt;
    &lt;rdfs:subClassOf rdf:resource=&quot;http://xmlns.com/foaf/0.1/Person&quot;/&gt;  
  &lt;/rdfs:Class&gt;
  &lt;rdf:Property rdf:ID=&quot;LastName&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:subPropertyOf rdf:resource=&quot;http://xmlns.com/foaf/0.1/surname&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Employee&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;LastName&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;FirstName&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:subPropertyOf rdf:resource=&quot;http://xmlns.com/foaf/0.1/firstName&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Employee&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;FirstName&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;Title&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:subPropertyOf rdf:resource=&quot;http://xmlns.com/foaf/0.1/title&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Employee&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Title&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;TitleOfCourtesy&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Employee&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;TitleOfCourtesy&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;BirthDate&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:subPropertyOf rdf:resource=&quot;http://xmlns.com/foaf/0.1/birthday&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Employee&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;BirthDate&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;HireDate&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Employee&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;HireDate&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;Extension&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Employee&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Extension&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;Notes&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Employee&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Notes&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;ReportsTo&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#integer&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Employee&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;ReportsTo&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;

  &lt;rdfs:Class rdf:ID=&quot;Order&quot;&gt;
    &lt;rdfs:label&gt;Order&lt;/rdfs:label&gt;
  &lt;/rdfs:Class&gt;
  &lt;rdf:Property rdf:ID=&quot;has_customer&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;#Customer&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Order&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Customer&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;has_employee&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;#Employee&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Order&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Employee&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;OrderDate&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Order&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;OrderDate&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;RequiredDate&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Order&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;RequiredDate&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;ShippedDate&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Order&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;ShippedDate&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;order_ship_via&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;#Shipper&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Order&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Shipper&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;Freight&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#double&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Order&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Freight&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;ShipName&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Order&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;ShipName&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;ShipAddress&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Order&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;ShipAddress&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;ShipCity&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Order&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;ShipCity&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;ShipRegion&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Order&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;ShipRegion&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;ShipPostalCode&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Order&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;ShipPostalCode&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;ShipCountry&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Order&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;ShipCountry&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;

  &lt;rdfs:Class rdf:ID=&quot;OrderLine&quot;&gt;
    &lt;rdfs:label&gt;OrderLine&lt;/rdfs:label&gt;
  &lt;/rdfs:Class&gt;
  &lt;rdf:Property rdf:ID=&quot;has_order_id&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;#Order&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#OrderLine&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Order&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;has_product_id&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;#Product&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#OrderLine&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Product&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;Quantity&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#integer&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#OrderLine&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Quantity&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;Discount&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#double&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#OrderLine&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Discount&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;

  &lt;rdfs:Class rdf:ID=&quot;Country&quot;&gt;
    &lt;rdfs:label&gt;Country&lt;/rdfs:label&gt;
    &lt;rdfs:subClassOf rdf:resource=&quot;http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing&quot;/&gt;
  &lt;/rdfs:Class&gt;
  &lt;rdf:Property rdf:ID=&quot;Name&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Country&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Name&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;Code&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Country&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Code&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;SmallFlagDAVResourceName&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Country&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;SmallFlagDAVResourceName&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;LargeFlagDAVResourceName&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Country&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;LargeFlagDAVResourceName&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;SmallFlagDAVResourceURI&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Country&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;SmallFlagDAVResourceURI&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;LargeFlagDAVResourceURI&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Country&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;LargeFlagDAVResourceURI&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;Lat&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;ttp://www.w3.org/2003/01/geo/wgs84_pos#lat&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Country&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Lat&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;Lng&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;ttp://www.w3.org/2003/01/geo/wgs84_pos#lng&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Country&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Lng&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;

  &lt;rdfs:Class rdf:ID=&quot;Province&quot;&gt;
    &lt;rdfs:label&gt;Province&lt;/rdfs:label&gt;
  &lt;/rdfs:Class&gt;  
  &lt;rdf:Property rdf:ID=&quot;has_country_code&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;#Country&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Provinces&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;Country Code&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;
  &lt;rdf:Property rdf:ID=&quot;ProvinceName&quot;&gt;
    &lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2001/XMLSchema#string&quot;/&gt;
    &lt;rdfs:domain rdf:resource=&quot;#Province&quot;/&gt;
    &lt;rdfs:cardinality&gt;1&lt;/rdfs:cardinality&gt;
    &lt;rdfs:label&gt;ProvinceName&lt;/rdfs:label&gt;
  &lt;/rdf:Property&gt;

&lt;/rdf:RDF&gt;
</programlisting></section></docbook>