<?xml version="1.0"?>
<rdf:RDF xmlns="urn:adventure-works:classes#"
     xml:base="urn:adventure-works:classes"
     xmlns:owl="http://www.w3.org/2002/07/owl#"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:xml="http://www.w3.org/XML/1998/namespace"
     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
    <owl:Ontology rdf:about="urn:adventure-works:classes"/>
    

       <!-- Class DetailedSalesOrder -->
    <owl:Class rdf:about="urn:adventure-works:classes#DetailedSalesOrder"/>

    <!-- SalesAmount -->
    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#SalesAmount">
        <rdfs:label>SalesAmount</rdfs:label>
        <rdfs:domain rdf:resource="urn:adventure-works:classes#DetailedSalesOrder"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#decimal"/>
    </owl:DatatypeProperty>

    <!-- OrderDate -->
    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#OrderDate">
        <rdfs:label>OrderDate</rdfs:label>
        <rdfs:domain rdf:resource="urn:adventure-works:classes#DetailedSalesOrder"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
    </owl:DatatypeProperty>

    <!-- Quantity -->
    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#Quantity">
        <rdfs:label>Quantity</rdfs:label>
        <rdfs:domain rdf:resource="urn:adventure-works:classes#DetailedSalesOrder"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
    </owl:DatatypeProperty>

    <!-- TerritoryName -->
    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#TerritoryName">
        <rdfs:label>TerritoryName</rdfs:label>
        <rdfs:domain rdf:resource="urn:adventure-works:classes#DetailedSalesOrder"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    </owl:DatatypeProperty>

    <!-- ShipMethodName -->
    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#ShipMethodName">
        <rdfs:label>ShipMethodName</rdfs:label>
        <rdfs:domain rdf:resource="urn:adventure-works:classes#DetailedSalesOrder"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    </owl:DatatypeProperty>

    <!-- ProductName -->
    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#ProductName">
        <rdfs:label>ProductName</rdfs:label>
        <rdfs:domain rdf:resource="urn:adventure-works:classes#DetailedSalesOrder"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    </owl:DatatypeProperty>

<owl:Class rdf:about="urn:adventure-works:classes#SalesPerson"/>

<owl:DatatypeProperty rdf:about="urn:adventure-works:properties#SalesPersonID">
    <rdfs:domain rdf:resource="urn:adventure-works:classes#SalesPerson"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
    <rdfs:comment>Primary key for SalesPerson records.</rdfs:comment>
</owl:DatatypeProperty>

<owl:DatatypeProperty rdf:about="urn:adventure-works:properties#TerritoryID">
    <rdfs:domain rdf:resource="urn:adventure-works:classes#SalesPerson"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
    <rdfs:comment>Sales territory assigned to the salesperson.</rdfs:comment>
</owl:DatatypeProperty>

<owl:DatatypeProperty rdf:about="urn:adventure-works:properties#SalesQuota">
    <rdfs:domain rdf:resource="urn:adventure-works:classes#SalesPerson"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#decimal"/>
    <rdfs:comment>Sales quota assigned to the salesperson.</rdfs:comment>
</owl:DatatypeProperty>

<owl:DatatypeProperty rdf:about="urn:adventure-works:properties#Bonus">
    <rdfs:domain rdf:resource="urn:adventure-works:classes#SalesPerson"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#decimal"/>
    <rdfs:comment>Bonus awarded to the salesperson for achieving sales targets.</rdfs:comment>
</owl:DatatypeProperty>

<owl:DatatypeProperty rdf:about="urn:adventure-works:properties#CommissionPct">
    <rdfs:domain rdf:resource="urn:adventure-works:classes#SalesPerson"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#decimal"/>
    <rdfs:comment>Commission percentage earned by the salesperson on sales.</rdfs:comment>
</owl:DatatypeProperty>

<owl:DatatypeProperty rdf:about="urn:adventure-works:properties#SalesYTD">
    <rdfs:domain rdf:resource="urn:adventure-works:classes#SalesPerson"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#decimal"/>
    <rdfs:comment>Total sales year-to-date for the salesperson.</rdfs:comment>
</owl:DatatypeProperty>

<owl:DatatypeProperty rdf:about="urn:adventure-works:properties#SalesLastYear">
    <rdfs:domain rdf:resource="urn:adventure-works:classes#SalesPerson"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#decimal"/>
    <rdfs:comment>Total sales made by the salesperson in the previous year.</rdfs:comment>
</owl:DatatypeProperty>

<owl:DatatypeProperty rdf:about="urn:adventure-works:properties#RowGuid">
    <rdfs:domain rdf:resource="urn:adventure-works:classes#SalesPerson"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <rdfs:comment>Globally unique identifier for the row.</rdfs:comment>
</owl:DatatypeProperty>

<owl:DatatypeProperty rdf:about="urn:adventure-works:properties#ModifiedDate">
    <rdfs:domain rdf:resource="urn:adventure-works:classes#SalesPerson"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
    <rdfs:comment>Date when the record was last modified.</rdfs:comment>
</owl:DatatypeProperty>

     <!-- ShipMethod -->
    <owl:Class rdf:about="urn:adventure-works:classes#ShipMethod"/>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#ShipMethodID">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#ShipMethod"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:comment>Primary key for ShipMethod records.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#ShipName">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#ShipMethod"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
        <rdfs:comment>Shipping company name.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#ShipBase">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#ShipMethod"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#decimal"/>
        <rdfs:comment>Minimum shipping charge.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#ShipRate">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#ShipMethod"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#decimal"/>
        <rdfs:comment>Shipping charge per pound.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#RowGuid">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#ShipMethod"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
        <rdfs:comment>Globally unique identifier for the row.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#ModifiedDate">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#ShipMethod"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
        <rdfs:comment>Date when the record was last modified.</rdfs:comment>
    </owl:DatatypeProperty>


     <!-- ProductVendor -->
    <owl:Class rdf:about="urn:adventure-works:classes#ProductVendor"/>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#ProductID">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#ProductVendor"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:comment>Primary key. Foreign key to Product.ProductID.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#BusinessEntityID">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#ProductVendor"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:comment>Primary key. Foreign key to Vendor.BusinessEntityID.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#AverageLeadTime">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#ProductVendor"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:comment>The average span of time (in days) between placing an order with the vendor and receiving the purchased product.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#StandardPrice">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#ProductVendor"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#decimal"/>
        <rdfs:comment>The vendor's usual selling price.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#LastReceiptCost">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#ProductVendor"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#decimal"/>
        <rdfs:comment>The selling price when last purchased.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#LastReceiptDate">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#ProductVendor"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
        <rdfs:comment>Date the product was last received by the vendor.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#MinOrderQty">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#ProductVendor"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:comment>The minimum quantity that should be ordered.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#MaxOrderQty">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#ProductVendor"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:comment>The maximum quantity that should be ordered.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#OnOrderQty">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#ProductVendor"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:comment>The quantity currently on order.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#UnitMeasureCode">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#ProductVendor"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
        <rdfs:comment>The product's unit of measure.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#ModifiedDate">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#ProductVendor"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
        <rdfs:comment>Date when the record was last modified.</rdfs:comment>
    </owl:DatatypeProperty>

 <!-- PurchaseOrderHeader -->
    <owl:Class rdf:about="urn:adventure-works:classes#PurchaseOrderHeader"/>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#PurchaseOrderID">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#PurchaseOrderHeader"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:comment>Primary key.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#RevisionNumber">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#PurchaseOrderHeader"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#short"/>
        <rdfs:comment>Incremental number to track changes to the purchase order over time.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#Status">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#PurchaseOrderHeader"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#short"/>
        <rdfs:comment>Order current status. 1 = Pending; 2 = Approved; 3 = Rejected; 4 = Complete.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#EmployeeID">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#PurchaseOrderHeader"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:comment>Employee who created the purchase order. Foreign key to Employee.BusinessEntityID.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#VendorID">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#PurchaseOrderHeader"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:comment>Vendor with whom the purchase order is placed. Foreign key to Vendor.BusinessEntityID.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#ShipMethodID">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#PurchaseOrderHeader"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:comment>Shipping method. Foreign key to ShipMethod.ShipMethodID.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#OrderDate">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#PurchaseOrderHeader"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
        <rdfs:comment>Purchase order creation date.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#ShipDate">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#PurchaseOrderHeader"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
        <rdfs:comment>Estimated shipment date from the vendor.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#SubTotal">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#PurchaseOrderHeader"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#decimal"/>
        <rdfs:comment>Purchase order subtotal. Computed as SUM(PurchaseOrderDetail.LineTotal) for the appropriate PurchaseOrderID.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#TaxAmt">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#PurchaseOrderHeader"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#decimal"/>
        <rdfs:comment>Tax amount.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#Freight">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#PurchaseOrderHeader"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#decimal"/>
        <rdfs:comment>Shipping cost.</rdfs:comment>
    </owl:DatatypeProperty>

<!-- PurchaseOrderDetail -->
    <owl:Class rdf:about="urn:adventure-works:classes#PurchaseOrderDetail"/>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#PurchaseOrderID">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#PurchaseOrderDetail"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:comment>Primary key. Foreign key to PurchaseOrderHeader.PurchaseOrderID.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#PurchaseOrderDetailID">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#PurchaseOrderDetail"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:comment>Primary key. One line number per purchased product.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#DueDate">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#PurchaseOrderDetail"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
        <rdfs:comment>Date the product is expected to be received.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#OrderQty">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#PurchaseOrderDetail"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#short"/>
        <rdfs:comment>Quantity ordered.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#ProductID">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#PurchaseOrderDetail"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:comment>Product identification number. Foreign key to Product.ProductID.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#UnitPrice">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#PurchaseOrderDetail"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#decimal"/>
        <rdfs:comment>Vendor's selling price of a single product.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#ReceivedQty">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#PurchaseOrderDetail"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#decimal"/>
        <rdfs:comment>Quantity actually received from the vendor.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#RejectedQty">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#PurchaseOrderDetail"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#decimal"/>
        <rdfs:comment>Quantity rejected during inspection.</rdfs:comment>
    </owl:DatatypeProperty>

    <!-- Vendor -->
    <owl:Class rdf:about="urn:adventure-works:classes#Vendor"/>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#BusinessEntityID">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#Vendor"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:comment>Primary key for Vendor records. Foreign key to BusinessEntity.BusinessEntityID.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#AccountNumber">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#Vendor"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
        <rdfs:comment>Vendor account (identification) number.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#Name">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#Vendor"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
        <rdfs:comment>Company name.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#CreditRating">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#Vendor"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#short"/>
        <rdfs:comment>1 = Superior, 2 = Excellent, 3 = Above average, 4 = Average, 5 = Below average.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#PreferredVendorStatus">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#Vendor"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
        <rdfs:comment>0 = Do not use if another vendor is available. 1 = Preferred over other vendors supplying the same product.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#ActiveFlag">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#Vendor"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
        <rdfs:comment>0 = Vendor no longer used. 1 = Vendor is actively used.</rdfs:comment>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#PurchasingWebServiceURL">
        <rdfs:domain rdf:resource="urn:adventure-works:classes#Vendor"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
        <rdfs:comment>Vendor URL.</rdfs:comment>
    </owl:DatatypeProperty>



    <!-- http://ofertasysales/properties#hasProduct -->

    <owl:ObjectProperty rdf:about="urn:adventure-works:properties#hasProduct">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topObjectProperty"/>
        <rdfs:label>hasProduct</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://ofertasysales/properties#hasProductCostHistory -->

    <owl:ObjectProperty rdf:about="urn:adventure-works:properties#hasProductCostHistory">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topObjectProperty"/>
        <rdfs:label>hasProductCostHistory</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://ofertasysales/properties#hasSalesOrderDetail -->

    <owl:ObjectProperty rdf:about="urn:adventure-works:properties#hasSalesOrderDetail">
        <rdfs:label>hasSalesOrderDetail</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://ofertasysales/properties#hasSpecialOffer -->

    <owl:ObjectProperty rdf:about="urn:adventure-works:properties#hasSpecialOffer">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topObjectProperty"/>
        <rdfs:label>hasSpecialOffer</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://ofertasysales/properties#hasSpecialOfferProduct -->

    <owl:ObjectProperty rdf:about="urn:adventure-works:properties#hasSpecialOfferProduct">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topObjectProperty"/>
        <rdfs:label>hasSpecialOfferProduct</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Data properties
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->

    


    <!-- http://ofertasysales/properties#CurrentListPrice -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#CurrentListPrice">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/Product"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
        <rdfs:label>CurrentListPrice</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- http://ofertasysales/properties#CurrentStandardCost -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#CurrentStandardCost">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/ProductCostHistory"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
        <rdfs:label>CurrentStandardCost</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- http://ofertasysales/properties#MaximumOfferQuantity -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#MaximumOfferQuantity">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SpecialOffer"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:label>MaximumOfferQuantity</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- http://ofertasysales/properties#MinimumOfferQuantity -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#MinimumOfferQuantity">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SpecialOffer"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:label>MinimumOfferQuantity</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- http://ofertasysales/properties#OfferDescription -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#OfferDescription">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SpecialOffer"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
        <rdfs:label>OfferDescription</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- http://ofertasysales/properties#OfferEndDate -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#OfferEndDate">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SpecialOffer"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTimeStamp"/>
        <rdfs:label>OfferEndDate</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- http://ofertasysales/properties#OfferStartDate -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#OfferStartDate">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SpecialOffer"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTimeStamp"/>
        <rdfs:label>OferStartDate</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- http://ofertasysales/properties#OfferType -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#OfferType">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SpecialOffer"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
        <rdfs:label>OfferType</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- http://ofertasysales/properties#OnlineOrderFlag -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#OnlineOrderFlag">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SalesOrderHeader"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
        <rdfs:label>OnlineOrderFlag</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- http://ofertasysales/properties#OrderQuantity -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#OrderQuantity">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SalesOrderDetail"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:label>OrderQuantity</rdfs:label>
    </owl:DatatypeProperty>
    
    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#SalesAmount">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SalesOrderHeader"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:label>SalesAmount</rdfs:label>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#TotalDue">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SalesOrderHeader"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:label>TotalDue</rdfs:label>
    </owl:DatatypeProperty>

    <!-- http://ofertasysales/properties#ProductCostEndDate -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#ProductCostEndDate">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/ProductCostHistory"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTimeStamp"/>
        <rdfs:label>ProductCostEndDate</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- http://ofertasysales/properties#ProductCostStartDate -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#ProductCostStartDate">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/ProductCostHistory"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTimeStamp"/>
        <rdfs:label>ProductCostStartDate</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- http://ofertasysales/properties#ProductID -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#ProductID">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/Product"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/ProductCostHistory"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SalesOrderDetail"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SpecialOfferProduct"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:label>ProductID</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- http://ofertasysales/properties#ProductName -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#ProductName">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/Product"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
        <rdfs:label>ProductName</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- http://ofertasysales/properties#SaleOrderDate -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#SaleOrderDate">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SalesOrderHeader"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTimeStamp"/>
        <rdfs:label>SaleOrderDate</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- http://ofertasysales/properties#SalesOrderDetailID -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#SalesOrderDetailID">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SalesOrderDetail"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:label>SalesOrderDetailID</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- http://ofertasysales/properties#SalesOrderID -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#SalesPersonID">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SalesOrderHeader"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:label>SalesPersonID</rdfs:label>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#ShipMethodID">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SalesOrderHeader"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:label>ShipMethodID</rdfs:label>
    </owl:DatatypeProperty>

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#SalesOrderID">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SalesOrderDetail"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SalesOrderHeader"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:label>SalesOrderID</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- http://ofertasysales/properties#SpecialOfferID -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#SpecialOfferID">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SalesOrderDetail"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SpecialOffer"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SpecialOfferProduct"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
        <rdfs:label>SpecialOfferID</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- http://ofertasysales/properties#UnitPrice -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#UnitPrice">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SalesOrderDetail"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
        <rdfs:label>UnitPrice</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- http://ofertasysales/properties#UnitPriceDiscount -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:properties#UnitPriceDiscount">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SalesOrderDetail"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SpecialOffer"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
        <rdfs:label>UnitPriceDiscount</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- urn:adventure-works:classes#Countryregioncode -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:classes#Countryregioncode">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes#SalesTerritory"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    </owl:DatatypeProperty>
    


    <!-- urn:adventure-works:classes#TerritoryId -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:classes#TerritoryId">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes/SalesOrderHeader"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes#SalesTerritory"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
    </owl:DatatypeProperty>
    


    <!-- urn:adventure-works:classes#TerritoryName -->

    <owl:DatatypeProperty rdf:about="urn:adventure-works:classes#TerritoryName">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topDataProperty"/>
        <rdfs:domain rdf:resource="urn:adventure-works:classes#SalesTerritory"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    </owl:DatatypeProperty>
    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Classes
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->

    


    <!-- http://ofertasysales/entities/Product -->

    <owl:Class rdf:about="urn:adventure-works:classes/Product">
        <rdfs:subClassOf rdf:resource="urn:adventure-works:classes/Production"/>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="http://ofertasysales/properties#hasProductCostHistory"/>
                <owl:someValuesFrom rdf:resource="urn:adventure-works:classes/ProductCostHistory"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:label>Product</rdfs:label>
    </owl:Class>
    


    <!-- http://ofertasysales/entities/ProductCostHistory -->

    <owl:Class rdf:about="urn:adventure-works:classes/ProductCostHistory">
        <rdfs:subClassOf rdf:resource="urn:adventure-works:classes/Production"/>
        <rdfs:label>ProductCostHistory</rdfs:label>
    </owl:Class>
    
    <owl:Class rdf:about="urn:adventure-works:classes/Production">
        <rdfs:label>Production</rdfs:label>
    </owl:Class>
    


    <!-- http://ofertasysales/entities/Sales -->

    <owl:Class rdf:about="urn:adventure-works:classes/Sales">
        <rdfs:label>Sales</rdfs:label>
    </owl:Class>
    


    <!-- http://ofertasysales/entities/SalesOrderDetail -->

    <owl:Class rdf:about="urn:adventure-works:classes/SalesOrderDetail">
        <rdfs:subClassOf rdf:resource="urn:adventure-works:classes/Sales"/>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="http://ofertasysales/properties#hasProduct"/>
                <owl:someValuesFrom rdf:resource="urn:adventure-works:classes/Product"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="http://ofertasysales/properties#hasSpecialOfferProduct"/>
                <owl:someValuesFrom rdf:resource="urn:adventure-works:classes/SpecialOfferProduct"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:label>SalesOrderDetail</rdfs:label>
    </owl:Class>
    


    <!-- http://ofertasysales/entities/SalesOrderHeader -->

    <owl:Class rdf:about="urn:adventure-works:classes/SalesOrderHeader">
        <rdfs:subClassOf rdf:resource="urn:adventure-works:classes/Sales"/>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="http://ofertasysales/properties#hasSalesOrderDetail"/>
                <owl:someValuesFrom rdf:resource="urn:adventure-works:classes/SalesOrderDetail"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:label>SalesOrderHeader</rdfs:label>
    </owl:Class>
    


    <!-- http://ofertasysales/entities/SpecialOffer -->

    <owl:Class rdf:about="urn:adventure-works:classes/SpecialOffer">
        <rdfs:subClassOf rdf:resource="urn:adventure-works:classes/Sales"/>
        <rdfs:label>SpecialOffer</rdfs:label>
    </owl:Class>
    


    <!-- http://ofertasysales/entities/SpecialOfferProduct -->

    <owl:Class rdf:about="urn:adventure-works:classes/SpecialOfferProduct">
        <rdfs:subClassOf rdf:resource="urn:adventure-works:classes/Sales"/>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="http://ofertasysales/properties#hasProduct"/>
                <owl:someValuesFrom rdf:resource="urn:adventure-works:classes/Product"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="http://ofertasysales/properties#hasSpecialOffer"/>
                <owl:someValuesFrom rdf:resource="urn:adventure-works:classes/SpecialOffer"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:label>SpecialOfferProduct</rdfs:label>
    </owl:Class>
    
    <owl:Class rdf:about="urn:adventure-works:classes#SalesTerritory">
        <rdfs:subClassOf rdf:resource="urn:adventure-works:classes/Sales"/>
    </owl:Class>
</rdf:RDF>
