@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dt: <http://www.w3.org/2001/XMLSchema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix wdrs: <http://www.w3.org/2007/05/powder-s#> .
@prefix ns3: <http://www.openlinksw.com/ontology/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix ns6: <http://purl.org/goodrelations/> .
@prefix ns7: <http://open.vocab.org/terms/> .
@prefix ns8: <http://www.openlinksw.com/ontology/purchases#> .
@prefix schema: <http://schema.org/> .
@prefix ns10: <http://www.openlinksw.com/dataspace/organization/openlink#> .
@prefix xhv: <http://www.w3.org/1999/xhtml/vocab#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix ns14: <http://creativecommons.org/ns#> .
@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix ns16: <http://reference.data.gov.uk/def/payment#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix ns18: <http://www.openlinksw.com/ontology/creditcards#> .
@prefix ldp: <http://www.w3.org/ns/ldp#> .

<http://www.openlinksw.com/DAV/data/turtle/purchases.ttl>
    ns14:license <http://creativecommons.org/licenses/by-sa/3.0/> ;
    dcterms:created "2014-05-18T13:00:00-05:00"^^dt:dateTime ;
    dcterms:modified "2015-03-20T13:38:00-05:00"^^dt:dateTime ;
    dcterms:subject <http://www.openlinksw.com/ontology/purchases#> ;
    schema:about <http://www.openlinksw.com/ontology/purchases#> ;
    schema:creator ns10:this ;
    a schema:TechArticle, rdfs:Resource, ldp:Resource, foaf:Document ;
    xhv:canonical ns3:purchases ;
    xhv:describes <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:comment "This is a turtle document that uses Linked Data oriented content to describe an OpenLink ontology for Purchases."@en ;
    rdfs:label "OpenLink Purchases Ontology Description Document (Turtle)"^^dt:string ;
    foaf:primaryTopic <http://www.openlinksw.com/ontology/purchases#> .

<http://www.openlinksw.com/data/turtle/purchases.ttl>
    ns14:license <http://creativecommons.org/licenses/by-sa/3.0/> ;
    dcterms:created "2014-05-18T13:00:00-05:00"^^dt:dateTime ;
    dcterms:modified "2015-03-20T13:38:00-05:00"^^dt:dateTime ;
    dcterms:subject <http://www.openlinksw.com/ontology/purchases#> ;
    schema:about <http://www.openlinksw.com/ontology/purchases#> ;
    schema:creator ns10:this ;
    a schema:TechArticle, foaf:Document ;
    xhv:canonical ns3:purchases ;
    xhv:describes <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:comment "This is a turtle document that uses Linked Data oriented content to describe the OpenLink Purchases Ontology."@en ;
    rdfs:label "OpenLink Purchases Ontology Description Document (Turtle)"^^dt:string ;
    rdfs:seeAlso <http://uda.openlinksw.com/offers/>, <http://virtuoso.openlinksw.com/offers/>, <http://www.openlinksw.com/data/turtle/contracts.ttl>, <http://www.openlinksw.com/data/turtle/features.ttl>, <http://www.openlinksw.com/data/turtle/licenses.ttl>, <http://www.openlinksw.com/data/turtle/machines.ttl>, <http://www.openlinksw.com/data/turtle/offers.ttl>, <http://www.openlinksw.com/data/turtle/payments.ttl>, <http://www.openlinksw.com/data/turtle/products.ttl>, <http://www.openlinksw.com/data/turtle/shop.ttl>, <http://www.openlinksw.com/data/turtle/software.ttl>, <http://www.openlinksw.com/data/turtle/vendors.ttl> ;
    foaf:primaryTopic <http://www.openlinksw.com/ontology/purchases#> .

ns3:purchases
    ns14:license <http://creativecommons.org/licenses/by-sa/3.0/> ;
    dcterms:created "2014-05-18T13:00:00-05:00"^^dt:dateTime ;
    dcterms:modified "2015-03-20T13:38:00-05:00"^^dt:dateTime ;
    dcterms:subject <http://www.openlinksw.com/ontology/purchases#> ;
    schema:creator ns10:this ;
    a schema:TechArticle, foaf:Document ;
    rdfs:comment "This is a document that uses Linked Data oriented content to describe OpenLink Purchases Ontology."@en ;
    rdfs:label "OpenLink Purchases Ontology Description Document"^^dt:string ;
    foaf:primaryTopic <http://www.openlinksw.com/ontology/purchases#> ;
    foaf:topic ns8:ClientAccessCertificateFile, ns8:CopiedToUserStorage, ns8:CreditCardPayment, ns8:FailedPayment, ns8:InvoiceGenerated, ns8:LicencesGenerated, ns8:LicenseFile, ns8:PaymentCompleted, ns8:PaymentFailed, ns8:PaymentPending, ns8:Purchase, ns8:PurchaseCompleted, ns8:PurchaseEndState, ns8:PurchaseState, ns8:PurchasedFile, ns8:PurchasedItem, ns8:SupportCertificateFile, ns8:contains, ns8:containsFile, ns8:customerPurchaseId, ns8:hasFollowingState, ns8:hasInvoice, ns8:hasOffering, ns8:hasPreceedingState, ns8:hasProcessMessage, ns8:hasSource, ns8:hasTotalPrice, ns8:lastUsedBillingAgent, ns8:lastUsedCustomerAgent, ns8:lastUsedShippingAgent, ns8:madePurchase, ns8:paymentDetails, ns8:purchaseDate, ns8:purchaseNumber, ns8:purchaseState, ns8:serialNumber, ns8:transactionId, ns8:usedBillingAgent, ns8:usedCreditCard, ns8:usedCustomerAgent, ns8:usedShippingAgent .

<http://www.openlinksw.com/ontology/purchases#>
    ns7:defines ns8:ClientAccessCertificateFile, ns8:CopiedToUserStorage, ns8:CreditCardPayment, ns8:FailedPayment, ns8:InvoiceGenerated, ns8:LicencesGenerated, ns8:LicenseFile, ns8:PaymentCompleted, ns8:PaymentFailed, ns8:PaymentPending, ns8:Purchase, ns8:PurchaseCompleted, ns8:PurchaseEndState, ns8:PurchaseState, ns8:PurchasedFile, ns8:PurchasedItem, ns8:SupportCertificateFile, ns8:contains, ns8:containsFile, ns8:customerPurchaseId, ns8:hasFollowingState, ns8:hasInvoice, ns8:hasOffering, ns8:hasPreceedingState, ns8:hasProcessMessage, ns8:hasSource, ns8:hasTotalPrice, ns8:lastUsedBillingAgent, ns8:lastUsedCustomerAgent, ns8:lastUsedShippingAgent, ns8:madePurchase, ns8:paymentDetails, ns8:purchaseDate, ns8:purchaseNumber, ns8:purchaseState, ns8:serialNumber, ns8:transactionId, ns8:usedBillingAgent, ns8:usedCreditCard, ns8:usedCustomerAgent, ns8:usedShippingAgent ;
    dcterms:created "2014-05-18T13:00:00-05:00"^^dt:dateTime ;
    dcterms:modified "2015-03-20T13:38:00-05:00"^^dt:dateTime ;
    schema:about ns8:ClientAccessCertificateFile, ns8:CopiedToUserStorage, ns8:CreditCardPayment, ns8:FailedPayment, ns8:InvoiceGenerated, ns8:LicencesGenerated, ns8:LicenseFile, ns8:PaymentCompleted, ns8:PaymentFailed, ns8:PaymentPending, ns8:Purchase, ns8:PurchaseCompleted, ns8:PurchaseEndState, ns8:PurchaseState, ns8:PurchasedFile, ns8:PurchasedItem, ns8:SupportCertificateFile, ns8:contains, ns8:containsFile, ns8:customerPurchaseId, ns8:hasFollowingState, ns8:hasInvoice, ns8:hasOffering, ns8:hasPreceedingState, ns8:hasProcessMessage, ns8:hasSource, ns8:hasTotalPrice, ns8:lastUsedBillingAgent, ns8:lastUsedCustomerAgent, ns8:lastUsedShippingAgent, ns8:madePurchase, ns8:paymentDetails, ns8:purchaseDate, ns8:purchaseNumber, ns8:purchaseState, ns8:serialNumber, ns8:transactionId, ns8:usedBillingAgent, ns8:usedCreditCard, ns8:usedCustomerAgent, ns8:usedShippingAgent ;
    schema:creator ns10:this ;
    a owl:Ontology ;
    rdfs:comment """Ontology that defines entity and relation types used to describe purchases. Examples include states,
  licenses files, purchase date etc."""@en ;
    rdfs:label "OpenLink Purchases Ontology"^^dt:string ;
    owl:imports <http://purl.org/dc/terms/>, ns6:v1, <http://www.w3.org/1999/02/22-rdf-syntax-ns#>, <http://www.w3.org/2002/07/owl#>, <http://www.w3.org/2006/vcard/> ;
    owl:versionInfo "1.4.0"^^dt:string ;
    wdrs:describedby ns3:purchases .

ns8:ClientAccessCertificateFile
    a owl:Class ;
    rdfs:comment "Entity type of resource representing purchased client access certificate files (Class)."@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "Client Access Certificate" ;
    rdfs:subClassOf ns8:PurchasedFile ;
    skos:altLabel "Client Access Certificate" .

ns8:CopiedToUserStorage
    ns8:hasFollowingState ns8:PurchaseCompleted ;
    ns8:hasPreceedingState ns8:LicencesGenerated ;
    ns8:hasProcessMessage "Your Purchase is being completed." ;
    a ns8:PurchaseState ;
    rdfs:comment "The purchase details have been written to the user's storage space."@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "CopiedToUserStorage" ;
    skos:altLabel "Copied to User Storage" .

ns8:CreditCardPayment
    a owl:Class ;
    rdfs:comment "Entity type of resource representing credit card payments (Class)."@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "Credit card payment" ;
    rdfs:subClassOf ns16:Payment ;
    skos:altLabel "Credit card payment" .

ns8:FailedPayment
    a owl:Class ;
    rdfs:comment "Entity type of resource representing failed payments (Class). This is typically used as a marker class, i.e. in combination with other Payment sub-classes like CreditCardPayment."@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "Failed payment" ;
    rdfs:subClassOf ns16:Payment ;
    skos:altLabel "Failed payment" .

ns8:InvoiceGenerated
    ns8:hasFollowingState ns8:LicensesGenerated ;
    ns8:hasPreceedingState ns8:PaymentCompleted ;
    ns8:hasProcessMessage "The Licenses are being generated and saved." ;
    a ns8:PurchaseState ;
    rdfs:comment "The purchase invoice has been created and stored in the customer's storage space."@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "InvoiceGenerated" ;
    skos:altLabel "Invoice Generated" .

ns8:LicenseFile
    a owl:Class ;
    rdfs:comment "Entity type of resource representing purchased license files (Class)."@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "License" ;
    rdfs:subClassOf ns8:PurchasedFile ;
    skos:altLabel "License" .

ns8:LicensesGenerated
    ns8:hasFollowingState ns8:CopiedToUserStorage ;
    ns8:hasPreceedingState ns8:InvoiceGenerated ;
    ns8:hasProcessMessage "Your purchase is being copied into your ODS profile." ;
    a ns8:PurchaseState ;
    rdfs:comment "The purchased licenses have been generated and stored in the customer's storage space."@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "LicencesGenerated" ;
    skos:altLabel "Licences Generated" .

ns8:PaymentCompleted
    ns8:hasFollowingState ns8:InvoiceGenerated ;
    ns8:hasPreceedingState ns8:PaymentPending ;
    ns8:hasProcessMessage "Your invoice is being generated and saved." ;
    a ns8:PurchaseState ;
    rdfs:comment "This purchase has already been payed for. Post-processing like license generation is still pending."@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "Payment completed" ;
    skos:altLabel "Payment completed" .

ns8:PaymentFailed
    ns8:hasPreceedingState ns8:PaymentPending ;
    ns8:hasProcessMessage "The payment failed." ;
    a ns8:PurchaseEndState, ns8:PurchaseState ;
    rdfs:comment "This purchase has not been completed, the payment has failed."@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "Payment failed" ;
    skos:altLabel "Payment failed" .

ns8:PaymentPending
    ns8:hasFollowingState ns8:PaymentCompleted, ns8:PaymentFailed ;
    ns8:hasProcessMessage "The payment is being processed." ;
    a ns8:PurchaseState ;
    rdfs:comment "This purchase has not been completed yet, the payment is still pending."@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "Payment pending" ;
    skos:altLabel "Payment pending" .

ns8:Purchase
    a owl:Class ;
    rdfs:comment "Entity type of resources representing a Purchase (Class)."@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "Purchase" ;
    rdfs:subClassOf sioc:Container, ns16:Purchase ;
    skos:altLabel "Purchase"^^dt:string .

ns8:PurchaseCompleted
    ns8:hasPreceedingState ns8:CopiedToUserStorage ;
    ns8:hasProcessMessage "Your purchase is complete." ;
    a ns8:PurchaseEndState, ns8:PurchaseState ;
    rdfs:comment "This purchase has been completed, all license files have been generated, notification have been sent, etc.."@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "Purchase completed" ;
    skos:altLabel "Purchase completed" .

ns8:PurchaseEndState
    <http://www.openlinksw.com/dataspace/oerling/weblog/Orri%20Erling's%20Blog/1321> "Purchase end state" ;
    a owl:Class ;
    rdfs:comment "A purchase end state marks a purchase as finsished, either successful or not."@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "PurchaseEndState state" ;
    rdfs:subClassOf ns8:PurchaseState .

ns8:PurchaseState
    <http://www.openlinksw.com/dataspace/oerling/weblog/Orri%20Erling's%20Blog/1321> "Purchase state" ;
    a owl:Class ;
    rdfs:comment "Entity type of resources representing the state of a purchase (Class)."@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "Purchase state" .

ns8:PurchasedFile
    a owl:Class ;
    rdfs:comment "Entity type of resource representing purchased files (Class). Typically more specific sub-classes are used."@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "Purchased File" ;
    skos:altLabel "Purchased File" .

ns8:PurchasedItem
    a owl:Class ;
    rdfs:comment "Entity type of resources representing a purchased item (Class)."@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "Purchased Item" ;
    rdfs:subClassOf sioc:Item ;
    skos:altLabel "Purchased Item"^^dt:string .

ns8:SupportCertificateFile
    a owl:Class ;
    rdfs:comment "Entity type of resource representing purchased support certificate files (Class)."@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "Support Certificate" ;
    rdfs:subClassOf ns8:PurchasedFile ;
    skos:altLabel "Support Certificate" .

ns8:contains
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "Associates a Purchase with one or more Purchased Items."@en ;
    rdfs:domain ns8:Purchase ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "contains" ;
    rdfs:range ns8:PurchasedItem ;
    rdfs:subPropertyOf sioc:container_of ;
    skos:altLabel "Contains"^^dt:string .

ns8:containsFile
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "The files that are contained in a purchase, i.e. the files the customer purchased."@en ;
    rdfs:domain ns8:PurchasedItem ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "containsFile" ;
    rdfs:range ns8:PurchasedFile ;
    skos:altLabel "Contains File"^^dt:string .

ns8:customerPurchaseId
    a rdf:Property, owl:DatatypeProperty ;
    rdfs:comment "An optional purchase order ID provided by the customer and printed on the invoice. It allows the customer to easier map the invoice."@en ;
    rdfs:domain ns8:Purchase ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "customerPurchaseId" ;
    rdfs:range dt:string ;
    skos:altLabel "Customer Purchase ID" .

ns8:hasFollowingState
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "Identified the valid states a purchase can be in after this state."@en ;
    rdfs:domain ns8:PurchaseState ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "hasFollowingState" ;
    rdfs:range ns8:PurchaseState ;
    owl:inverseOf ns8:hasPreceedingState ;
    skos:altLabel "Following State"^^dt:string .

ns8:hasInvoice
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "Associates a Purchase with the invoice file."@en ;
    rdfs:domain ns8:Purchase ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "hasInvoice" ;
    rdfs:range rdfs:Resource ;
    skos:altLabel "Invoice"^^dt:string .

ns8:hasOffering
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "Associates a PurchasedItem with the schema:Offer that has been purchased."@en ;
    rdfs:domain ns8:PurchasedItem ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "hasOffering" ;
    rdfs:range schema:Offer ;
    skos:altLabel "Offering"^^dt:string .

ns8:hasPreceedingState
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "Identified the valid states a purchase can be in before entering this state."@en ;
    rdfs:domain ns8:PurchaseState ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "hasPreceedingState" ;
    rdfs:range ns8:PurchaseState ;
    owl:inverseOf ns8:hasFollowingState ;
    skos:altLabel "Preceeding State"^^dt:string .

ns8:hasProcessMessage
    a rdf:Property, owl:DatatypeProperty ;
    rdfs:comment "A message that can be shown to the user while a shop system processes a purchase in the given state."@en ;
    rdfs:domain ns8:PurchaseState ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "hasProcessMessage" ;
    rdfs:range dt:string ;
    skos:altLabel "Process message" .

ns8:hasSource
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "The Resource a purchased file is based on. This can be for example the license description used to generate a license file."@en ;
    rdfs:domain ns8:PurchasedFile ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "hasSource" ;
    rdfs:range rdfs:Resource ;
    skos:altLabel "Source"^^dt:string .

ns8:hasTotalPrice
    a rdf:Property, owl:DatatypeProperty ;
    rdfs:comment "Associates a Purchase with total price."@en ;
    rdfs:domain ns8:Purchase ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "hasTotalPrice" ;
    rdfs:range dt:decimal ;
    skos:altLabel "TotalPrice"^^dt:string .

ns8:lastUsedBillingAgent
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "Relates the user account with the last used billing agent, i.e. the default billing address."@en ;
    rdfs:domain foaf:Agent ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "lastUsedBillingAgent" ;
    rdfs:range foaf:Agent ;
    skos:altLabel "Last Used Billing Agent"^^dt:string .

ns8:lastUsedCustomerAgent
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "Relates the user account with the last used customer agent, i.e. the default customer address that will actually get the purchased items."@en ;
    rdfs:domain foaf:Agent ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "lastUsedCustomerAgent" ;
    rdfs:range foaf:Agent ;
    skos:altLabel "Last Used Customer Agent"^^dt:string .

ns8:lastUsedShippingAgent
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "Relates the user account with the last used shipping agent, i.e. the default shipping address."@en ;
    rdfs:domain foaf:Agent ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "lastUsedShippingAgent" ;
    rdfs:range foaf:Agent ;
    skos:altLabel "Last Used Shipping Agent"^^dt:string .

ns8:madePurchase
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "Associates a Purchase with the agent (Organization, Person or Bot) that actually made the Purchase, i.e. the owner of the purchased items."@en ;
    rdfs:domain ns8:Purchase ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "madePurchase" ;
    rdfs:range foaf:Agent ;
    skos:altLabel "Made Purchase"^^dt:string .

ns8:paymentDetails
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "Associates a Purchase with its payment details."@en ;
    rdfs:domain ns8:Purchase ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "paymentDetails" ;
    rdfs:range ns16:Payment ;
    owl:inverseOf ns16:purchase ;
    skos:altLabel "Payment details"^^dt:string .

ns8:purchaseDate
    a rdf:Property, owl:DatatypeProperty ;
    rdfs:comment "The date and time the Purchase was completed."@en ;
    rdfs:domain ns8:Purchase ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "purchaseDate" ;
    rdfs:range dt:dateTime ;
    skos:altLabel "Purchase Date"^^dt:string .

ns8:purchaseNumber
    a rdf:Property, owl:DatatypeProperty ;
    rdfs:comment "The Purchase number, an internal identifier for the purchase."@en ;
    rdfs:domain ns8:Purchase ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "purchaseNumber" ;
    rdfs:range dt:string ;
    skos:altLabel "Purchase Number"^^dt:string .

ns8:purchaseState
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "The state of a purchase indicates the processing step it is currently in."@en ;
    rdfs:domain ns8:Purchase ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "purchaseState" ;
    rdfs:range ns8:PurchaseState ;
    skos:altLabel "Purchase state" .

ns8:serialNumber
    a rdf:Property, owl:DatatypeProperty, owl:InverseFunctionalProperty ;
    rdfs:comment "The serial number, an internal identifier for the purchased item, also used for license file creation."@en ;
    rdfs:domain ns8:PurchasedItem ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "serialNumber" ;
    rdfs:range dt:string ;
    skos:altLabel "Serial Number"^^dt:string .

ns8:transactionId
    a rdf:Property, owl:DatatypeProperty ;
    rdfs:comment "The transaction ID of a credit card payment."@en ;
    rdfs:domain ns8:CreditCardPayment ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "transactionId" ;
    rdfs:range dt:string ;
    skos:altLabel "Transaction ID" .

ns8:usedBillingAgent
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "The billing agent used for a particular purchase."@en ;
    rdfs:domain ns8:Purchase ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "usedBillingAgent" ;
    rdfs:range foaf:Agent ;
    skos:altLabel "Used Billing Agent"^^dt:string .

ns8:usedCreditCard
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "Associates a CreditCardPayment with the used credit card."@en ;
    rdfs:domain ns8:CreditCardPayment ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "usedCreditCard" ;
    rdfs:range ns18:CreditCard ;
    skos:altLabel "Used Credit card"^^dt:string .

ns8:usedCustomerAgent
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "The customer agent (the person initiating the purchase) used for a particular purchase."@en ;
    rdfs:domain ns8:Purchase ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "usedCustomerAgent" ;
    rdfs:range foaf:Agent ;
    skos:altLabel "Used Customer Agent"^^dt:string .

ns8:usedShippingAgent
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "The shipping agent used for a particular purchase."@en ;
    rdfs:domain ns8:Purchase ;
    rdfs:isDefinedBy <http://www.openlinksw.com/ontology/purchases#> ;
    rdfs:label "usedShippingAgent" ;
    rdfs:range foaf:Agent ;
    skos:altLabel "Used Shipping Agent"^^dt:string .

xhv:related
    owl:equivalentProperty rdfs:seeAlso .

