@prefix rr: . @prefix DB: . @prefix db-stat: . @prefix rdf: . @prefix void: . @prefix scovo: . @prefix aowl: . <#TriplesMapArtist> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "Demo" ; rr:tableOwner "demo" ; rr:tableName "Artist" ]; rr:subjectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/artist/ArtistID={ArtistID}"; rr:class DB:Artist; rr:graph ]; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:artistid ] ; rr:objectMap [ rr:column "ArtistID" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:name ] ; rr:objectMap [ rr:column "Name" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:artist_has_countries ] ; rr:objectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/countries/CountryCode={CountryCode}" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:artist_of_workofart ] ; rr:objectMap [ rr:parentTriplesMap <#TriplesMapWorkOfArt>; rr:joinCondition [ rr:child "ArtistID" ; rr:parent "ArtistID" ] ; ]; ] . <#TriplesMapCategories> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "Demo" ; rr:tableOwner "demo" ; rr:tableName "Categories" ]; rr:subjectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/categories/CategoryID={CategoryID}"; rr:class DB:Categories; rr:graph ]; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:categoryid ] ; rr:objectMap [ rr:column "CategoryID" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:categoryname ] ; rr:objectMap [ rr:column "CategoryName" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:description ] ; rr:objectMap [ rr:column "Description" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:picture ] ; rr:objectMap [ rr:column "Picture" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:categories_of_products ] ; rr:objectMap [ rr:parentTriplesMap <#TriplesMapProducts>; rr:joinCondition [ rr:child "CategoryID" ; rr:parent "CategoryID" ] ; ]; ] . <#TriplesMapCountries> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "Demo" ; rr:tableOwner "demo" ; rr:tableName "Countries" ]; rr:subjectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/countries/Name={Name}"; rr:class DB:Countries; rr:graph ]; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:name ] ; rr:objectMap [ rr:column "Name" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:code ] ; rr:objectMap [ rr:column "Code" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:smallflagdavresourcename ] ; rr:objectMap [ rr:column "SmallFlagDAVResourceName" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:largeflagdavresourcename ] ; rr:objectMap [ rr:column "LargeFlagDAVResourceName" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:smallflagdavresourceuri ] ; rr:objectMap [ rr:column "SmallFlagDAVResourceURI" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:largeflagdavresourceuri ] ; rr:objectMap [ rr:column "LargeFlagDAVResourceURI" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:lat ] ; rr:objectMap [ rr:column "Lat" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:lng ] ; rr:objectMap [ rr:column "Lng" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:countries_of_artist ] ; rr:objectMap [ rr:parentTriplesMap <#TriplesMapArtist>; rr:joinCondition [ rr:child "Code" ; rr:parent "CountryCode" ] ; ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:countries_of_flags ] ; rr:objectMap [ rr:parentTriplesMap <#TriplesMapFlags>; rr:joinCondition [ rr:child "Code" ; rr:parent "CountryCode" ] ; ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:countries_of_provinces ] ; rr:objectMap [ rr:parentTriplesMap <#TriplesMapProvinces>; rr:joinCondition [ rr:child "Code" ; rr:parent "CountryCode" ] ; ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:countries_of_workofart ] ; rr:objectMap [ rr:parentTriplesMap <#TriplesMapWorkOfArt>; rr:joinCondition [ rr:child "Code" ; rr:parent "CountryCode" ] ; ]; ] . <#TriplesMapCustomers> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "Demo" ; rr:tableOwner "demo" ; rr:tableName "Customers" ]; rr:subjectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/customers/CustomerID={CustomerID}"; rr:class DB:Customers; rr:graph ]; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:customerid ] ; rr:objectMap [ rr:column "CustomerID" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:companyname ] ; rr:objectMap [ rr:column "CompanyName" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:contactname ] ; rr:objectMap [ rr:column "ContactName" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:contacttitle ] ; rr:objectMap [ rr:column "ContactTitle" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:address ] ; rr:objectMap [ rr:column "Address" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:city ] ; rr:objectMap [ rr:column "City" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:region ] ; rr:objectMap [ rr:column "Region" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:postalcode ] ; rr:objectMap [ rr:column "PostalCode" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:country ] ; rr:objectMap [ rr:column "Country" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:countrycode ] ; rr:objectMap [ rr:column "CountryCode" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:phone ] ; rr:objectMap [ rr:column "Phone" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:fax ] ; rr:objectMap [ rr:column "Fax" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:customers_of_orders ] ; rr:objectMap [ rr:parentTriplesMap <#TriplesMapOrders>; rr:joinCondition [ rr:child "CustomerID" ; rr:parent "CustomerID" ] ; ]; ] . <#TriplesMapEmailNotification> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "Demo" ; rr:tableOwner "demo" ; rr:tableName "EmailNotification" ]; rr:subjectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/emailnotification/Addr={Addr}"; rr:class DB:EmailNotification; rr:graph ]; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:addr ] ; rr:objectMap [ rr:column "Addr" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:subject ] ; rr:objectMap [ rr:column "Subject" ]; ] . <#TriplesMapEmployees> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "Demo" ; rr:tableOwner "demo" ; rr:tableName "Employees" ]; rr:subjectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/employees/EmployeeID={EmployeeID}"; rr:class DB:Employees; rr:graph ]; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:employeeid ] ; rr:objectMap [ rr:column "EmployeeID" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:lastname ] ; rr:objectMap [ rr:column "LastName" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:firstname ] ; rr:objectMap [ rr:column "FirstName" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:title ] ; rr:objectMap [ rr:column "Title" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:titleofcourtesy ] ; rr:objectMap [ rr:column "TitleOfCourtesy" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:birthdate ] ; rr:objectMap [ rr:column "BirthDate" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:hiredate ] ; rr:objectMap [ rr:column "HireDate" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:address ] ; rr:objectMap [ rr:column "Address" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:city ] ; rr:objectMap [ rr:column "City" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:region ] ; rr:objectMap [ rr:column "Region" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:postalcode ] ; rr:objectMap [ rr:column "PostalCode" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:country ] ; rr:objectMap [ rr:column "Country" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:countrycode ] ; rr:objectMap [ rr:column "CountryCode" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:homephone ] ; rr:objectMap [ rr:column "HomePhone" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:extension ] ; rr:objectMap [ rr:column "Extension" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:photo ] ; rr:objectMap [ rr:column "Photo" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:notes ] ; rr:objectMap [ rr:column "Notes" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:reportsto ] ; rr:objectMap [ rr:column "ReportsTo" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:employees_of_orders ] ; rr:objectMap [ rr:parentTriplesMap <#TriplesMapOrders>; rr:joinCondition [ rr:child "EmployeeID" ; rr:parent "EmployeeID" ] ; ]; ] . <#TriplesMapFlags> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "Demo" ; rr:tableOwner "demo" ; rr:tableName "Flags" ]; rr:subjectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/flags/CountryCode={CountryCode}"; rr:class DB:Flags; rr:graph ]; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:largeflag ] ; rr:objectMap [ rr:column "LargeFlag" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:smallflag ] ; rr:objectMap [ rr:column "SmallFlag" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:flags_has_countries ] ; rr:objectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/countries/CountryCode={CountryCode}" ]; ] . <#TriplesMapOrderCategoryPeriod> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "Demo" ; rr:tableOwner "demo" ; rr:tableName "OrderCategoryPeriod" ]; rr:subjectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/ordercategoryperiod/yearmonth={yearmonth}/CategoryName={CategoryName}/volume={volume}"; rr:class DB:OrderCategoryPeriod; rr:graph ]; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:yearmonth ] ; rr:objectMap [ rr:column "yearmonth" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:categoryname ] ; rr:objectMap [ rr:column "CategoryName" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:volume ] ; rr:objectMap [ rr:column "volume" ]; ] . <#TriplesMapOrder_Details> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "Demo" ; rr:tableOwner "demo" ; rr:tableName "Order_Details" ]; rr:subjectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/order_details/OrderID={OrderID}/ProductID={ProductID}"; rr:class DB:Order_Details; rr:graph ]; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:unitprice ] ; rr:objectMap [ rr:column "UnitPrice" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:quantity ] ; rr:objectMap [ rr:column "Quantity" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:discount ] ; rr:objectMap [ rr:column "Discount" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:order_details_has_orders ] ; rr:objectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/orders/OrderID={OrderID}" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:order_details_has_products ] ; rr:objectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/products/ProductID={ProductID}" ]; ] . <#TriplesMapOrders> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "Demo" ; rr:tableOwner "demo" ; rr:tableName "Orders" ]; rr:subjectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/orders/OrderID={OrderID}"; rr:class DB:Orders; rr:graph ]; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:orderid ] ; rr:objectMap [ rr:column "OrderID" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:orderdate ] ; rr:objectMap [ rr:column "OrderDate" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:requireddate ] ; rr:objectMap [ rr:column "RequiredDate" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:shippeddate ] ; rr:objectMap [ rr:column "ShippedDate" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:freight ] ; rr:objectMap [ rr:column "Freight" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:shipname ] ; rr:objectMap [ rr:column "ShipName" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:shipaddress ] ; rr:objectMap [ rr:column "ShipAddress" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:shipcity ] ; rr:objectMap [ rr:column "ShipCity" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:shipregion ] ; rr:objectMap [ rr:column "ShipRegion" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:shippostalcode ] ; rr:objectMap [ rr:column "ShipPostalCode" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:shipcountry ] ; rr:objectMap [ rr:column "ShipCountry" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:shipcountrycode ] ; rr:objectMap [ rr:column "ShipCountryCode" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:orders_has_customers ] ; rr:objectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/customers/CustomerID={CustomerID}" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:orders_has_employees ] ; rr:objectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/employees/EmployeeID={EmployeeID}" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:orders_has_shippers ] ; rr:objectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/shippers/ShipVia={ShipVia}" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:orders_of_order_details ] ; rr:objectMap [ rr:parentTriplesMap <#TriplesMapOrder_Details>; rr:joinCondition [ rr:child "OrderID" ; rr:parent "OrderID" ] ; ]; ] . <#TriplesMapOrdersPeriods> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "Demo" ; rr:tableOwner "demo" ; rr:tableName "OrdersPeriods" ]; rr:subjectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/ordersperiods/year={year}/month={month}/yearmonth={yearmonth}"; rr:class DB:OrdersPeriods; rr:graph ]; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:year ] ; rr:objectMap [ rr:column "year" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:month ] ; rr:objectMap [ rr:column "month" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:yearmonth ] ; rr:objectMap [ rr:column "yearmonth" ]; ] . <#TriplesMapProducts> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "Demo" ; rr:tableOwner "demo" ; rr:tableName "Products" ]; rr:subjectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/products/ProductID={ProductID}"; rr:class DB:Products; rr:graph ]; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:productid ] ; rr:objectMap [ rr:column "ProductID" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:productname ] ; rr:objectMap [ rr:column "ProductName" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:quantityperunit ] ; rr:objectMap [ rr:column "QuantityPerUnit" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:unitprice ] ; rr:objectMap [ rr:column "UnitPrice" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:unitsinstock ] ; rr:objectMap [ rr:column "UnitsInStock" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:unitsonorder ] ; rr:objectMap [ rr:column "UnitsOnOrder" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:reorderlevel ] ; rr:objectMap [ rr:column "ReorderLevel" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:discontinued ] ; rr:objectMap [ rr:column "Discontinued" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:products_has_categories ] ; rr:objectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/categories/CategoryID={CategoryID}" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:products_has_suppliers ] ; rr:objectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/suppliers/SupplierID={SupplierID}" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:products_of_order_details ] ; rr:objectMap [ rr:parentTriplesMap <#TriplesMapOrder_Details>; rr:joinCondition [ rr:child "ProductID" ; rr:parent "ProductID" ] ; ]; ] . <#TriplesMapProvinces> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "Demo" ; rr:tableOwner "demo" ; rr:tableName "Provinces" ]; rr:subjectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/provinces/CountryCode={CountryCode}/Province={Province}"; rr:class DB:Provinces; rr:graph ]; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:province ] ; rr:objectMap [ rr:column "Province" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:provinces_has_countries ] ; rr:objectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/countries/CountryCode={CountryCode}" ]; ] . <#TriplesMapShippers> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "Demo" ; rr:tableOwner "demo" ; rr:tableName "Shippers" ]; rr:subjectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/shippers/ShipperID={ShipperID}"; rr:class DB:Shippers; rr:graph ]; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:shipperid ] ; rr:objectMap [ rr:column "ShipperID" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:companyname ] ; rr:objectMap [ rr:column "CompanyName" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:phone ] ; rr:objectMap [ rr:column "Phone" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:shippers_of_orders ] ; rr:objectMap [ rr:parentTriplesMap <#TriplesMapOrders>; rr:joinCondition [ rr:child "ShipperID" ; rr:parent "ShipVia" ] ; ]; ] . <#TriplesMapSuppliers> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "Demo" ; rr:tableOwner "demo" ; rr:tableName "Suppliers" ]; rr:subjectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/suppliers/SupplierID={SupplierID}"; rr:class DB:Suppliers; rr:graph ]; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:supplierid ] ; rr:objectMap [ rr:column "SupplierID" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:companyname ] ; rr:objectMap [ rr:column "CompanyName" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:contactname ] ; rr:objectMap [ rr:column "ContactName" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:contacttitle ] ; rr:objectMap [ rr:column "ContactTitle" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:address ] ; rr:objectMap [ rr:column "Address" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:city ] ; rr:objectMap [ rr:column "City" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:region ] ; rr:objectMap [ rr:column "Region" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:postalcode ] ; rr:objectMap [ rr:column "PostalCode" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:country ] ; rr:objectMap [ rr:column "Country" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:countrycode ] ; rr:objectMap [ rr:column "CountryCode" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:phone ] ; rr:objectMap [ rr:column "Phone" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:fax ] ; rr:objectMap [ rr:column "Fax" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:homepage ] ; rr:objectMap [ rr:column "HomePage" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:suppliers_of_products ] ; rr:objectMap [ rr:parentTriplesMap <#TriplesMapProducts>; rr:joinCondition [ rr:child "SupplierID" ; rr:parent "SupplierID" ] ; ]; ] . <#TriplesMapWholesalers> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "Demo" ; rr:tableOwner "demo" ; rr:tableName "Wholesalers" ]; rr:subjectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/wholesalers/SellerID={SellerID}"; rr:class DB:Wholesalers; rr:graph ]; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:sellerid ] ; rr:objectMap [ rr:column "SellerID" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:companyname ] ; rr:objectMap [ rr:column "CompanyName" ]; ] . <#TriplesMapWorkOfArt> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "Demo" ; rr:tableOwner "demo" ; rr:tableName "WorkOfArt" ]; rr:subjectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/workofart/WorkArtID={WorkArtID}"; rr:class DB:WorkOfArt; rr:graph ]; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:workartid ] ; rr:objectMap [ rr:column "WorkArtID" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:photo ] ; rr:objectMap [ rr:column "Photo" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:photodavresourcename ] ; rr:objectMap [ rr:column "PhotoDAVResourceName" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:photodavresourceuri ] ; rr:objectMap [ rr:column "PhotoDAVResourceURI" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:description ] ; rr:objectMap [ rr:column "Description" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:workofart_has_artist ] ; rr:objectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/artist/ArtistID={ArtistID}" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:workofart_has_countries ] ; rr:objectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/countries/CountryCode={CountryCode}" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:workofart_has_workofarttype ] ; rr:objectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/workofarttype/WorkArtType={WorkArtType}" ]; ] . <#TriplesMapWorkOfArtType> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "Demo" ; rr:tableOwner "demo" ; rr:tableName "WorkOfArtType" ]; rr:subjectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/Demo/workofarttype/WorkArtTypeID={WorkArtTypeID}"; rr:class DB:WorkOfArtType; rr:graph ]; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:workarttypeid ] ; rr:objectMap [ rr:column "WorkArtTypeID" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:description ] ; rr:objectMap [ rr:column "Description" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant DB:workofarttype_of_workofart ] ; rr:objectMap [ rr:parentTriplesMap <#TriplesMapWorkOfArt>; rr:joinCondition [ rr:child "WorkArtTypeID" ; rr:parent "WorkArtType" ] ; ]; ] .