/// UNDER CONSTRUCTION wsmlVariant _"http://www.wsmo.org/wsml/wsml-syntax/wsml-core" namespace {_"http://tripcom.org/ontologies/EDI/EDIFACT/TAXTemplates#", ac _"http://tripcom.org/ontologies/EDI/AllowanceCharge#", sd _"http://tripcom.org/ontologies/EDI/StatusDescription#", scp _"http://tripcom.org/ontologies/EDI/SubcomponentPosition#", ds _"http://tripcom.org/ontologies/EDI/EDIFACT/DataSegments#", cde _"http://tripcom.org/ontologies/EDI/EDIFACT/ComplexDataElements#", de _"http://tripcom.org/ontologies/EDI/EDIFACT/DataElements#", ecs _"http://tripcom.org/ontologies/EDI/EDIFACT/EDIFACTcodeSets#", edis _"http://tripcom.org/ontologies/EDI/EDI_Semantics#", cyc _"http://sw.cyc.com/2006/07/27/cyc/#", dc _"http://purl.org/dc/elements/1.1#" } ontology _"http://tripcom.org/ontologies/EDI/TAXTemplates" nonFunctionalProperties dc#title hasValue "TAX templates" dc#subject hasValue "TAX templates" dc#description hasValue "TAX (Duty/tax/fee details) data segment templates" dc#contributor hasValue { _"http://foxvog.org/doug/" } dc#date hasValue "2007-2-14" 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.5 $" endNonFunctionalProperties importsOntology _"http://tripcom.org/ontologies/EDI/EDI_Semantics" concept cyc#Individual concept cyc#TemporalThing subConceptOf cyc#Individual concept cyc#TemporallyExistingThing subConceptOf cyc#TemporalThing concept cyc#SomethingExisting subConceptOf cyc#TemporallyExistingThing concept cyc#LegalAgent subConceptOf cyc#SomethingExisting concept cyc#Obligation subConceptOf cyc#SomethingExisting concept cyc#FinancialObligation subConceptOf cyc#Obligation concept cyc#TaxObligation subConceptOf cyc#FinancialObligation // This data segment is used to indicate an assessed tax or fee (to be) paid ... relationInstance edis#componentOfType (ds#TAX_DS, cyc#FinancialObligation) // The first DE of the TAX data segment is a binary predicate... relationInstance edis#subComponentRelationArity (ds#TAX_DS, 1, 2) relationInstance edis#directlyEncoded (ds#TAX_DS, 1) // ???? !!!!! This is true only for EAN codes the standard EDIFACT values // !!!! are object types (Tool, Equipment, Footnote, Value list, Org. structure ... // The second DE of the TAX data segment is the type of tax or fee ... relationInstance edis#subComponentOfSubtype (ds#TAX_DS, 2, cyc#FinancialObligation) relationInstance edis#directlyEncoded (ds#TAX_DS, 2) // ... which the DS is an instance of: relationInstance edis#componentOfEncodedType (ds#TAX_DS, 2) relationInstance edis#componentUsesCodeSet (de#DE_5153, ecs#DE_5153CodeSet) // The third slot of the TAX data segment is an account ... relationInstance edis#subComponentOfType (ds#TAX_DS, 3, cyc#Account) // ... which is the same as is represented by the CDE. relationInstance edis#directlyEncoded (ds#TAX_DS, 3) // The fourth position of the TAX data segment is the amount owed ("basis value") ... relationInstance edis#subComponentOfType (ds#TAX_DS, 4, cyc#MonetaryAmount) // assemble value of 4th position from the default currency and the number stored in its DE // ??? // The amount owed is the numeric value present in the fourth component as an // amount of the default currency. instance TAXTemplate1 memberOf edis#ComponentTemplate edis#templateForComponent hasValue ds#TAX_DS edis#templateRelation hasValue cyc#debtAmount edis#templateArg1Encoded hasValue scp#ThisFAPosition // The financial obligation edis#templateArg2 hasValue scp#FourthFAPosition // The fifth DE of the TAX data segment provides information about the tax/fee ... relationInstance edis#subComponentOfType (ds#TAX_DS, 5, cyc#FinancialObligation) // ... so it is treated as the tax/fee itself. relationInstance edis#hasSameMeaningAs (ds#TAX_DS, scp#ThisFAPosition, scp#FifthFAPosition) // The sixth DE of the TAX data segment is a type of tax ... relationInstance edis#subComponentOfSubtype (ds#TAX_DS, 6, _"http://sw.cyc.com/2006/07/27/cyc/Tax-COC") // which is directly encoded in its data element relationInstance edis#directlyEncoded (ds#TAX_DS, 6) /* The seventh DE of the TAX data segment is a calculation sequence code ... instance ds#TAX_DS memberOf edi#DataSegment edis#integerValuedComponent hasValue 7 relationInstance edis#directlyEncoded (ds#TAX_DS, 7) !!! but not used ??? */ //====================== // Complex Data Elements //====================== // The C206 compound data element represents an object ... relationInstance edis#componentOfType (cde#C206_DE, cyc#SomethingExisting) // The first DE of C206 is an identifying string... instance cde#C206_DE memberOf edi#ComplexDataElement stringValuedSubcomponent hasValue 1 // The second DE of C206 represents a binary predicate ... relationInstance edis#subComponentRelationArity (cde#C206_DE, 2, 2) relationInstance edis#subComponentSubrelationOf (cde#C206_DE, 2, cyc#identificationStrings) // which is a specialization of identificationStrings // The third DE of C206 is a status ... relationInstance edis#subComponentOfType (cde#C206_DE, 3, sd#ObjectEventStatus) relationInstance edis#directlyEncoded (cde#C206_DE, 3) // The relation in the second data element of C206 specifies the relation // for the way that the party which is the meaning of the CDE is // identified using the ID in its first data element. instance C206Template1 memberOf edis#ComponentTemplate edis#templateForComponent hasValue cde#C206_DE edis#templateRelationEncoded hasValue scp#SecondSubcomponentPosition edis#templateArg1Encoded hasValue scp#ThisFAPosition edis#templateArg2Value hasValue scp#FirstSubcomponentPosition // The status in the third data element of C206 applies to the object // which the CDE itself represents instance C206Template2 memberOf edis#ComponentTemplate edis#templateForComponent hasValue cde#C206_DE edis#templateArg1Encoded hasValue scp#ThisFAPosition edis#templateArg2Value hasValue scp#ThirdSubcomponentPosition relationInstance edis#templateRelation ( C206Template2, sd#hasStatus) // The C082 compound data element represents an organization or person ... relationInstance edis#componentOfType (cde#C082_DE, cyc#LegalAgent) // The first DE of C082 is an identifying string... instance cde#C082_DE memberOf edi#ComplexDataElement stringValuedSubcomponent hasValue 1 // The second DE of C082 represents a binary predicate ... relationInstance edis#subComponentRelationArity (cde#C082_DE, 2, 2) relationInstance edis#subComponentSubrelationOf (cde#C082_DE, 2, cyc#identificationStrings) // ... which is a specialization of identificationStrings ... relationInstance edis#subcomponentUsesEncodedCodeSet (cde#C082_DE, 2, 3) // ... and encoded in the code set specified by the third DE. // If no third DE, the default may be: // EDIFACT: relationInstance edis#subcomponentUsesCodeSet (cde#C082_DE, 2, ecs#DE_4405CodeSet) // EDIFICE: relationInstance edis#subcomponentUsesCodeSet (cde#C082_DE, 2, ecs#DE_4405FCodeSet) // EANCOM: relationInstance edis#subcomponentUsesCodeSet (cde#C082_DE, 2, ecs#DE_4405ECodeSet) // UN xport recc: relationInstance edis#subcomponentUsesCodeSet (cde#C082_DE, 2, ecs#DE_UNRec24CodeSet) // The third DE of C082 is a code set ... relationInstance edis#subComponentOfType (cde#C082_DE, 3, edis#CodeSet) relationInstance edis#subcomponentUsesCodeSet (cde#C082_DE, 3, ecs#DE_3005CodeSet) // The relation in the second data element of C082 specifies a code set for the relation // for the way that the party which is the meaning of the CDE is // identified using the ID in its first data element. instance C082Template1 memberOf edis#ComponentTemplate edis#templateForComponent hasValue cde#C082_DE edis#templateRelationEncoded hasValue scp#SecondSubcomponentPosition edis#templateArg1Encoded hasValue scp#ThisFAPosition edis#templateArg2Value hasValue scp#FirstSubcomponentPosition // The C778 compound data element represents a position in a structure ... relationInstance edis#componentOfType (cde#C778_DE, scp#FormulaArgPosition) // The first DE of C778 is an string specifying a level in a hierarchical structure ... instance cde#C778_DE memberOf edi#ComplexDataElement stringValuedSubcomponent hasValue 1 // The second DE of C778 is an string representing a position in a sequence ... stringValuedSubcomponent hasValue 2 /* instance C778Template1 memberOf edis#ComponentTemplate edis#templateForComponent hasValue cde#C778_DE edis#templateRelation hasValue edis#templateArg1Encoded hasValue scp#ThisFAPosition edis#templateArg2Value hasValue scp#FirstSubcomponentPosition edis#templateArg3Value hasValue scp#SecondSubcomponentPosition */ // Data Elements // The 1050 data element specifies the identifier of a sequence position instance de#DE_1050 memberOf edi#DataElement edis#stringValuedComponent hasValue _true relationInstance edis#directlyEncoded (de#DE_1050 , 0) // The 1050 data element specifies a numeric configuration level instance de#DE_1050 memberOf edi#DataElement edis#integerValuedComponent hasValue _true relationInstance edis#directlyEncoded (de#DE_1050 , 0) // The 3039 data element specifies an organization or personal identifier // No required code set, but "For identification of parties it is recommended to use GLN - Format n13." instance de#DE_3039 memberOf edi#DataElement relationInstance edis#componentOfType (de#DE_3039, cyc#LegalAgent) // uses cyc#identificationStrings // see cyc#taxIDNumber // The 3446 data element specifies an organization or personal identifier // A number assigned to a party by a tax authority. instance de#DE_3446 memberOf edi#DataElement edis#stringValuedComponent hasValue _true relationInstance edis#directlyEncoded (de#DE_3446 , 0) // The 4405 data element represents an object status and/or an event status. instance de#DE_4405 memberOf edi#DataElement // Object type code qualifier edis#usesCodeSet hasValue ecs#DE_4405CodeSet relationInstance edis#componentOfType (de#DE_4405, sd#ObjectEventStatus) // The 7402 data element specifies the identifier used by the relation // specified by DE 7405 instance de#DE_7402 memberOf edi#DataElement edis#stringValuedComponent hasValue _true relationInstance edis#directlyEncoded (de#DE_7402 , 0) instance de#DE_7405 memberOf edi#DataElement // Object type code qualifier edis#usesCodeSet hasValue ecs#DE_7405CodeSet edis#componentIsBinaryPredicate hasValue _true edis#componentSubrelationOf hasValue cyc#identificationStrings // This data element represents a binary relation -- a subrelation of // cyc#identificationStrings. // ================================================================================== // The 3446 data element identifies a number assigned to a party by a tax authority instance de#DE_3446 memberOf edi#DataElement edis#stringValuedComponent hasValue _true relationInstance edis#directlyEncoded (de#DE_3446 , 0) // See cyc#taxIDNumber instance de#DE_5053 memberOf edi#DataElement // Duty or tax or fee category code edis#usesCodeSet hasValue ecs#DE_5053CodeSet relationInstance edis#componentOfSubtype (de#DE_4405, _"http://sw.cyc.com/2006/07/27/cyc/Tax-COC")