Skip to content

Commit

Permalink
DM update as per DMWG 17/10/2024
Browse files Browse the repository at this point in the history
- Added temperatureInstructions to Piece
 (IATA-Cargo#227)
- Added new property textualPostalCode to Address (IATA-Cargo#221)
- Added new property operatingParties to TransportMovement (IATA-Cargo#229)
- Added new class AccountingNote (IATA-Cargo#231)
- Added new property accountingNoteIdentifier to AccountingNote (IATA-Cargo#231)
- Added new property accountingNoteText to AccountingNote (IATA-Cargo#231)
- Added new property accountingNotes to Waybill (IATA-Cargo#231)
- Added new property taxAmount to Waybill (IATA-Cargo#247) - max 1, CurrencyValue
- Added new property locationIndicator to OtherCharge (IATA-Cargo#247) - max 1, Location
- Added new property reasonDescription to OtherCharge (IATA-Cargo#247) - max 1, string
- Added new property chargeQuantity to OtherCharge (IATA-Cargo#247) - max 1, double
- Deprecated postalCode in favor of textualPostalCode (IATA-Cargo#221)
- Deprecated accountingInformation in favor of AccountingNote and included properties (IATA-Cargo#231)
- Removed specialHandlingCodes from Shipment (IATA-Cargo#228)
- Changed value of partyDetails from Organization to LogisticsAgent (IATA-Cargo#222)
- Lifted cardinality restriction on regulatedEntityAcceptor in SecurityDeclaration (IATA-Cargo#244)
  • Loading branch information
nscheiber-champ committed Oct 18, 2024
1 parent 3ceee68 commit 1c70148
Showing 1 changed file with 162 additions and 36 deletions.
198 changes: 162 additions & 36 deletions working_draft/ontology/IATA-1R-DM-Ontology.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -10,38 +10,55 @@
@base <https://onerecord.iata.org/ns/cargo#> .

<https://onerecord.iata.org/ns/cargo> rdf:type owl:Ontology ;
owl:versionIRI <https://onerecord.iata.org/ns/cargo/3.0.1> ;
owl:versionIRI <https://onerecord.iata.org/ns/cargo/3.0.3> ;
owl:imports <https://raw.githubusercontent.com/IATA-Cargo/ONE-Record/master/2023-12-standard/Data-Model/IATA-1R-CCL-Ontology.ttl> ;
dc:description "The ONE Record vocabulary, described using W3C RDF Schema and the Web Ontology Language."@en ;
dc:title "ONE Record Ontology"@en ;
terms:abstract "The ontology of the ONE Record standard is the core data model underlying the Linked Data solution drafted by the ONE Record standard: https://github.com/IATA-Cargo/ONE-Record. ONE Record is a standard for data sharing and creates a single record view of the shipment. This standard defines a common data model for the data that is shared via standardized and secured web API."@en ;
terms:modified "02-05-2024" ;
terms:title "ONE Record Ontology"@en ;
rdfs:comment """Details available on GitHub https://github.com/IATA-Cargo/ONE-Record

Version 3.1.0 (ongoing)

Additions:
- Added temperatureInstructions to Piece

Additions: Visualization
- Added vis_ annotation properties for ontology visualizer
- Annotated as per business logic inverse properties by vis_inverseProperty

Bugfixes
- Removed line breaks in descriptions
- Simplified descriptions of Check and related objects
- Fixed labels (commodityItemNumber and WaybillLineItem)
- Removed specialHandlingCodes from Shipment
- Fixed RegEx pattern for waybillNumber to allow alphanumeric sequences (used in House Air Waybills."""@en ;
rdfs:comment """Details available on GitHub https://github.com/IATA-Cargo/ONE-Record

Version 3.1.0 (ongoing)

Additions:
- Added temperatureInstructions to Piece (#227)
- Added new property textualPostalCode to Address (#221)
- Added new property operatingParties to TransportMovement (#229)
- Added new class AccountingNote (#231)
- Added new property accountingNoteIdentifier to AccountingNote (#231)
- Added new property accountingNoteText to AccountingNote (#231)
- Added new property accountingNotes to Waybill (#231)
- Added new property taxAmount to Waybill (#247) - max 1

Removals:
- Deprecated postalCode in favor of textualPostalCode (#221)
- Deprecated accountingInformation in favor of AccountingNote and included properties (#231)
- Removed specialHandlingCodes from Shipment (#228)

Changes:
- Changed value of partyDetails from Organization to LogisticsAgent (#222)
- Lifted cardinality restriction on regulatedEntityAcceptor in SecurityDeclaration (#244)

Visualization:
- Added vis_ annotation properties for ontology visualizer
- Annotated as per business logic inverse properties by vis_inverseProperty

Bugfixes:
- Removed line breaks in descriptions
- Simplified descriptions of Check and related objects
- Fixed labels (commodityItemNumber and WaybillLineItem) (#234)

- Fixed RegEx pattern for waybillNumber to allow alphanumeric sequences (used in House Air Waybills)
- Fixes to descriptions"""@en ;
rdfs:isDefinedBy "https://www.iata.org/one-record/"^^xsd:anyURI ;
rdfs:label "ONE Record Ontology"@en ;
owl:versionInfo "3.0.0"@en .

#################################################################
# Annotation properties
# Annotation properties
#################################################################

### http://purl.org/dc/elements/1.1/description
dc:description rdf:type owl:AnnotationProperty .

Expand Down Expand Up @@ -103,9 +120,9 @@ owl:minCardinality rdf:type owl:AnnotationProperty .


#################################################################
# Datatypes
# Datatypes
#################################################################

### http://www.w3.org/2001/XMLSchema#date
xsd:date rdf:type rdfs:Datatype .

Expand All @@ -119,8 +136,16 @@ owl:thing rdf:type rdfs:Datatype .


#################################################################
# Object Properties
# Object Properties
#################################################################

### https://onerecord.iata.org/ns/cargo#accountingNotes
:accountingNotes rdf:type owl:ObjectProperty ;
rdfs:range :AccountingNote ;
rdfs:comment "Information about accounting notes (AWB box 10)" ;
rdfs:label "accountingNotes"@en ;
owl:comment "Domain :Waybill"@en .


### https://onerecord.iata.org/ns/cargo#actionTimeType
:actionTimeType rdf:type owl:ObjectProperty ;
Expand Down Expand Up @@ -1429,6 +1454,14 @@ owl:thing rdf:type rdfs:Datatype .
owl:comment "Domain :Location"@en .


### https://onerecord.iata.org/ns/cargo#locationIndicator
:locationIndicator rdf:type owl:ObjectProperty ;
rdfs:domain :Location ;
rdfs:comment "Information about the Location of a charge"@en ;
rdfs:label "locationIndicator"@en ;
owl:comment "Domain :OtherCharge"@en .


### https://onerecord.iata.org/ns/cargo#manufacturer
:manufacturer rdf:type owl:ObjectProperty ;
rdfs:range :Organization ;
Expand Down Expand Up @@ -1579,6 +1612,14 @@ owl:thing rdf:type rdfs:Datatype .
:vis_inverseProperty :operatingTransportMeans .


### https://onerecord.iata.org/ns/cargo#operatingParties
:operatingParties rdf:type owl:ObjectProperty ;
rdfs:range :Party ;
rdfs:comment "Information about the parties operating this TransportMovement, for example pilot and co-pilot; can also refer to organizations through Party" ;
rdfs:label "operatingParties"@en ;
owl:comment "Domain :TransportMovement"@en .


### https://onerecord.iata.org/ns/cargo#operatingTransportMeans
:operatingTransportMeans rdf:type owl:ObjectProperty ;
rdfs:range :TransportMeans ;
Expand Down Expand Up @@ -1838,7 +1879,8 @@ owl:thing rdf:type rdfs:Datatype .
rdfs:range :CodeListElement ;
rdfs:comment "Postal / ZIP code"@en ;
rdfs:label "postalCode"@en ;
owl:comment "Domain :Address"@en .
owl:comment "Domain :Address"@en ;
owl:deprecated "true"^^xsd:boolean .


### https://onerecord.iata.org/ns/cargo#price
Expand Down Expand Up @@ -2285,6 +2327,14 @@ owl:thing rdf:type rdfs:Datatype .
owl:comment "Domain :Item"@en .


### https://onerecord.iata.org/ns/cargo#taxAmount
:taxAmount rdf:type owl:ObjectProperty ;
rdfs:range :CurrencyValue ;
rdfs:comment "Information about taxes"@en ;
rdfs:label "taxAmount"@en ;
owl:comment "Domain :Waybill"@en .


### https://onerecord.iata.org/ns/cargo#taxDueAgent
:taxDueAgent rdf:type owl:ObjectProperty ;
rdfs:range :CurrencyValue ;
Expand Down Expand Up @@ -2634,15 +2684,32 @@ owl:thing rdf:type rdfs:Datatype .


#################################################################
# Data properties
# Data properties
#################################################################

### https://onerecord.iata.org/ns/cargo#accountingInformation
:accountingInformation rdf:type owl:DatatypeProperty ;
rdfs:range xsd:string ;
rdfs:comment "Indicates the details of accounting information. Free text e.g. PAYMENT BY CERTIFIED CHEQUE etc."@en ;
rdfs:label "accountingInformation"@en ;
owl:comment "Domain :Waybill"@en .
owl:comment "Domain :Waybill"@en ;
owl:deprecated "true"^^xsd:boolean .


### https://onerecord.iata.org/ns/cargo#accountingNoteIdentifier
:accountingNoteIdentifier rdf:type owl:DatatypeProperty ;
rdfs:range xsd:string ;
rdfs:comment "String holding accounting information (AWB box 10)"@en ;
rdfs:label "accountingNoteIdentifier"@en ;
owl:comment "Domain :AccountingNote"@en .


### https://onerecord.iata.org/ns/cargo#accountingNoteText
:accountingNoteText rdf:type owl:DatatypeProperty ;
rdfs:range xsd:string ;
rdfs:comment "String holding the identifier in an accounting note (AWB box 10)" ;
rdfs:label "accountingNoteText"@en ;
owl:comment "Domain :AccountingNote"@en .


### https://onerecord.iata.org/ns/cargo#acquisitionDateTime
Expand Down Expand Up @@ -4267,6 +4334,14 @@ owl:thing rdf:type rdfs:Datatype .
owl:comment "Domain owl:Thing"@en .


### https://onerecord.iata.org/ns/cargo#textualPostCode
:textualPostCode rdf:type owl:DatatypeProperty ;
rdfs:range xsd:string ;
rdfs:comment "Postal / ZIP code"@en ;
rdfs:label "textualPostCode"@en ;
owl:comment "Domain :Address"@en .


### https://onerecord.iata.org/ns/cargo#textualValue
:textualValue rdf:type owl:DatatypeProperty ;
rdfs:range xsd:string ;
Expand Down Expand Up @@ -4462,8 +4537,31 @@ owl:thing rdf:type rdfs:Datatype .


#################################################################
# Classes
# Classes
#################################################################

### https://onerecord.iata.org/ns/cargo#AccountingNote
:AccountingNote rdf:type owl:Class ;
rdfs:subClassOf [ rdf:type owl:Restriction ;
owl:onProperty :accountingNoteIdentifier ;
owl:allValuesFrom xsd:string
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :accountingNoteText ;
owl:allValuesFrom xsd:string
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :accountingNoteIdentifier ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :accountingNoteText ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger
] ;
rdfs:comment "Embedded object used for AWB mapping (box 10)"@en ;
rdfs:label "AccountingNote"@en ;
:vis_element "Embedded"@en .


### https://onerecord.iata.org/ns/cargo#ActionTimeType
:ActionTimeType rdf:type owl:Class ;
Expand Down Expand Up @@ -4568,9 +4666,17 @@ owl:thing rdf:type rdfs:Datatype .
owl:onProperty :streetAddressLines ;
owl:allValuesFrom xsd:string
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :textualPostCode ;
owl:allValuesFrom xsd:string
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :postOfficeBox ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :textualPostCode ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger
] ;
rdfs:comment "Address details"@en ;
rdfs:label "Address"@en ;
Expand Down Expand Up @@ -5526,7 +5632,7 @@ owl:thing rdf:type rdfs:Datatype .
] ;
rdfs:comment "Result of a Check"@en ;
rdfs:label "CheckTotalResult"@en ;
:vis_element "Common"@en .
:vis_element "Common"@en .


### https://onerecord.iata.org/ns/cargo#CodeListElement
Expand Down Expand Up @@ -7312,6 +7418,10 @@ owl:thing rdf:type rdfs:Datatype .
owl:onProperty :entitlement ;
owl:allValuesFrom ccodes:EntitlementCode
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :locationIndicator ;
owl:allValuesFrom :Location
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :otherChargeAmount ;
owl:allValuesFrom :CurrencyValue
Expand All @@ -7328,6 +7438,10 @@ owl:thing rdf:type rdfs:Datatype .
owl:onProperty :entitlement ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :locationIndicator ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :otherChargeAmount ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger
Expand Down Expand Up @@ -8487,10 +8601,6 @@ owl:thing rdf:type rdfs:Datatype .
owl:onProperty :receivedFrom ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :regulatedEntityAcceptor ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :regulatedEntityIssuer ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger
Expand Down Expand Up @@ -8966,6 +9076,10 @@ owl:thing rdf:type rdfs:Datatype .
owl:onProperty :movementTimes ;
owl:allValuesFrom :MovementTime
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :operatingParties ;
owl:allValuesFrom :Party
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :operatingTransportMeans ;
owl:allValuesFrom :TransportMeans
Expand Down Expand Up @@ -9375,6 +9489,10 @@ owl:thing rdf:type rdfs:Datatype .
### https://onerecord.iata.org/ns/cargo#Waybill
:Waybill rdf:type owl:Class ;
rdfs:subClassOf :LogisticsObject ,
[ rdf:type owl:Restriction ;
owl:onProperty :accountingNotes ;
owl:allValuesFrom :AccountingNote
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :arrivalLocation ;
owl:allValuesFrom :Location
Expand Down Expand Up @@ -9443,6 +9561,10 @@ owl:thing rdf:type rdfs:Datatype .
owl:onProperty :shipment ;
owl:allValuesFrom :Shipment
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :taxAmount ;
owl:allValuesFrom :CurrencyValue
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :waybillLineItems ;
owl:allValuesFrom :WaybillLineItem
Expand Down Expand Up @@ -9507,6 +9629,10 @@ owl:thing rdf:type rdfs:Datatype .
owl:onProperty :shipment ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :taxAmount ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :waybillType ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger
Expand Down Expand Up @@ -10054,9 +10180,9 @@ ccodes:WeightUnitCode rdf:type owl:Class ;


#################################################################
# Individuals
# Individuals
#################################################################

### https://onerecord.iata.org/ns/cargo#ACCELEROMETER
:ACCELEROMETER rdf:type owl:NamedIndividual ,
:SensorType ;
Expand Down Expand Up @@ -10462,4 +10588,4 @@ ccodes:WeightUnitCode rdf:type owl:Class ;
rdfs:label "WEBSITE"@en .


### Generated by the OWL API (version 4.5.25.2023-02-15T19:15:49Z) https://github.com/owlcs/owlapi
### Generated by the OWL API (version 4.5.29.2024-05-13T12:11:03Z) https://github.com/owlcs/owlapi
Expand Down

0 comments on commit 1c70148

Please sign in to comment.