/* // UNDER CONSTRUCTION ; CUXTemplates.wsml ; ; Templates for EDIFACT CUX Data Segment ; doug foxvog ; February 2008 ; */ wsmlVariant _"http://www.wsmo.org/wsml/wsml-syntax/wsml-flight" namespace {_"http://tripcom.org/ontologies/EDI/EDIFACT/CUXTemplates#", ds _"http://tripcom.org/ontologies/EDI/EDIFACT/DataSegments#", cur _"http://tripcom.org/ontologies/EDI/Currencies#", cde _"http://tripcom.org/ontologies/EDI/EDIFACT/ComplexDataElements#", de _"http://tripcom.org/ontologies/EDI/EDIFACT/DataElements#", ecs _"http://tripcom.org/ontologies/EDI/EDIFACT/EDIFACTcodeSets#", edi _"http://tripcom.org/ontologies/EDI/EDI_Format#", edis _"http://tripcom.org/ontologies/EDI/EDI_Semantics#", scp _"http://tripcom.org/ontologies/EDI/SubcomponentPosition#", cyc _"http://sw.cyc.com/2006/07/27/cyc/#", dc _"http://purl.org/dc/elements/1.1#" } ontology _"http://tripcom.org/ontologies/EDI/CUXTemplates" nonFunctionalProperties dc#title hasValue "CUX templates" dc#subject hasValue "CUX templates" dc#description hasValue "CUX templates" dc#contributor hasValue { _"http://foxvog.org/doug/" } dc#date hasValue "2007-11-30" dc#type hasValue _"http://www.wsmo.org/2004/d2/v1.0/#ontologies" dc#format hasValue "text/plain" dc#language hasValue "en-US" dc#rights hasValue _"http://www.deri.org/privacy.html" version hasValue "$Revision: 1.6 $" endNonFunctionalProperties importsOntology _"http://tripcom.org/ontologies/EDI/EDI_Semantics" concept cyc#Individual concept cyc#UnitOfMeasure subConceptOf cyc#Individual concept cyc#UnitOfMoney subConceptOf cyc#UnitOfMeasure concept cyc#TemporalThing subConceptOf cyc#Individual concept cyc#SomethingExisting subConceptOf cyc#TemporalThing concept cyc#IntelligentAgent subConceptOf cyc#SomethingExisting concept cyc#SocialBeing subConceptOf cyc#IntelligentAgent concept cyc#LegalAgent subConceptOf cyc#SocialBeing concept cyc#Organization subConceptOf cyc#SocialBeing concept cyc#FinancialOrganization subConceptOf cyc#Organization concept cyc#FinancialExchange subConceptOf cyc#FinancialOrganization relation cur#usedExchangeRateBetween ( ofType cyc#UnitOfMoney, ofType cyc#UnitOfMoney, ofType _decimal) relation cur#useMarketExchangeRateBetween ( ofType cyc#UnitOfMeasure, ofType cyc#UnitOfMoney, ofType cyc#FinancialExchange) relation cur#usedExchangeRateBetweenRefMarket ( ofType cyc#UnitOfMoney, ofType cyc#UnitOfMoney, ofType _decimal, ofType cyc#FinancialExchange) instance de#DE_5402 memberOf edi#DataElement edis#decimalValuedComponent hasValue _true // This data element is a decimal exchange rate used between two specified currencies relationInstance edis#componentOfType (de#DE_6341, cyc#CurrencyExchange) // if used, this identifies a currency exchange. instance de#DE_6343 edis#usesCodeSet hasValue ecs#DE_6343CodeSet edis#componentIsBinaryPredicate hasValue true relationInstance subComponentRelationArity (de#DE_6343, 0, 2) // This data element represents a binary predicate as encoded in the specified code set instance de#DE_6345 memberOf edi#DataElement edis#usesCodeSet hasValue ecs#ISO4217CodeSet edis#usesCodeSet hasValue ecs#ISO4217NumberSet relationInstance edis#componentOfType (de#DE_6345, cyc#UnitOfMoney) // This data element represents a currency as encoded in one of two code sets. instance de#DE_6347 memberOf edi#DataElement edis#usesCodeSet hasValue ecs#DE_6347CodeSet edis#componentIsBinaryPredicate hasValue true // This data element represents a binary predicate as encoded in the specified code set // indicating what the currency is used for in the message instance de#DE_6348 memberOf edi#DataElement edis#decimalValuedComponent hasValue _true // This data element is a decimal number used as a multiplication factor for the specified currency. relationInstance edis#componentOfType (cde#C504_DE, cyc#UnitOfMoney) // The compound data element represents a currency relationInstance edis#hasSameMeaningAs (cde#C504_DE, scp#ThisFAPosition, scp#SecondSubcomponentPosition) // ... which is the same currency as is represented by its second slot relationInstance edis#subComponentOfType (cde#C504_DE, 2, cyc#UnitOfMoney) // The second slot of the compound data element represents a currency relationInstance edis#directlyEncoded (cde#C504_DE, 2) // ... which is the same as that encoded in its data element relationInstance subComponentRelationArity (cde#C504_DE, 3, 2) // The third slot of the compound data element represents a binary predicate relationInstance edis#directlyEncoded (cde#C504_DE, 3) // ... which is the same as that encoded in its data element instance cde#C504_DE memberOf edi#DataSegment decimalValuedSubcomponent hasValue 4 // The third slot of the compound data element represents a decimal multiplier // for the indicated currency values relationInstance edis#directlyEncoded (cde#C504_DE, 4) // ... which is the same number as that encoded in its data element relationInstance edis#componentOfType (ds#CUX_DS, cyc#UnitOfMoney) // The CUX data segment represents a currency relationInstance edis#hasSameMeaningAs (ds#CUX_DS, scp#ThisFAPosition, scp#FirstSubcomponentPosition) // ... which is the same as that encoded in its first data element relationInstance edis#subComponentOfType (ds#CUX_DS, 1, cyc#UnitOfMoney) // The first slot of the CUX data segment represents a currency relationInstance edis#directlyEncoded (ds#CUX_DS, 1) // ... which is the same as that encoded in its data element relationInstance edis#subComponentOfType (ds#CUX_DS, 2, cyc#UnitOfMoney) // The second slot of the compound data element represents a currency relationInstance edis#directlyEncoded (ds#CUX_DS, 2) // ... which is the same as that encoded in its data element instance ds#CUX_DS memberOf edi#DataSegment decimalValuedSubcomponent hasValue 3 relationInstance edis#directlyEncoded (ds#CUX_DS, 3) relationInstance edis#subComponentOfType (ds#CUX_DS, 4, cyc#CurrencyExchange) // The fourth slot of the CUX data segment represents a currency exchange relationInstance edis#directlyEncoded (ds#CUX_DS, 4) // ... which is the same as that encoded in its data element instance CUXTemplate1 memberOf edis#ComponentTemplate edis#templateForComponent hasValue ds#CUX_DS edis#templateRelation hasValue cur#usedExchangeRateBetween edis#templateArg1Encoded hasValue scp#FirstSubcomponentPosition edis#templateArg2Encoded hasValue scp#SecondSubcomponentPosition edis#templateArg3Encoded hasValue scp#ThirdSubcomponentPosition // The exchange rate used between the two specified currencies is the specified number instance CUXTemplate2 memberOf edis#ComponentTemplate edis#templateForComponent hasValue ds#CUX_DS edis#templateRelation hasValue cur#useMarketExchangeRateBetween edis#templateArg1Encoded hasValue scp#FirstSubcomponentPosition edis#templateArg2Encoded hasValue scp#SecondSubcomponentPosition edis#templateArg3Encoded hasValue scp#FourthSubcomponentPosition // The exchange rate used between the two specified currencies is that of the specified market instance CUXTemplate3 memberOf edis#ComponentTemplate edis#templateForComponent hasValue ds#CUX_DS edis#templateRelation hasValue cur#usedExchangeRateBetweenRefMarket edis#templateArg1Encoded hasValue scp#FirstSubcomponentPosition edis#templateArg2Encoded hasValue scp#SecondSubcomponentPosition edis#templateArg3Encoded hasValue scp#ThirdSubcomponentPosition edis#templateArg4Encoded hasValue scp#FourthSubcomponentPosition // The exchange rate used between the two specified currencies is the // specified number, which is that of the specified market (at the reference time)