Skip to content

Instantly share code, notes, and snippets.

@fkleedorfer
Created February 22, 2017 17:52
Show Gist options
  • Save fkleedorfer/866e0bdfb90a1621a865c5879c02a734 to your computer and use it in GitHub Desktop.
Save fkleedorfer/866e0bdfb90a1621a865c5879c02a734 to your computer and use it in GitHub Desktop.
# baseURI: http://ontology.tno.nl/logico
# imports: http://www.w3.org/2003/01/geo/wgs84_pos#
# imports: http://www.w3.org/2006/time
# c14n-version: 3
@prefix LogiCO: <http://ontology.tno.nl/logico#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix dul: <http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#> .
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://ontology.tno.nl/logico>
rdf:type owl:Ontology ;
dcterms:created "29-10-2013"^^xsd:string ;
dcterms:creator "Laura Daniele ([email protected])"^^xsd:string ;
dcterms:description "LogiCO contains the core concepts and properties used in the logistics domain, and mappings (as annotations) to UN/EDIFACTS Data elements. "^^xsd:string ;
dcterms:issued "04-06-2014"^^xsd:string ;
dcterms:publisher "TNO"^^xsd:string ;
dcterms:title "LogiCO: Logistics Core Ontology"^^xsd:string ;
rdfs:label "LogiCO"@en ;
owl:imports geo: ;
owl:imports <http://www.w3.org/2006/time> ;
owl:versionInfo "1.0"^^xsd:string ;
.
LogiCO:Abstract
rdf:type owl:Class ;
rdfs:comment """Any Entity that cannot be located in space-time.
Equivalent to the concept of Abstract in DOLCE UltraLite (DUL) ontology.""" ;
rdfs:isDefinedBy <http://www.ontologydesignpatterns.org/ont/dul/DUL.owl> ;
rdfs:subClassOf LogiCO:Entity ;
.
LogiCO:Activity
rdf:type owl:Class ;
rdfs:comment """An Activity denotes an action that is relevant for the purpose of logistics and provides value for a potential customer.
The Activity concept is further specialised in the LogiServ ontology with URL https://raw.githubusercontent.com/danielelm/tno/master/ontology/LogiServ.tt)
"""^^xsd:string ;
rdfs:subClassOf LogiCO:Entity ;
.
LogiCO:Actor
rdf:type owl:Class ;
LogiCO:mappingToEDI <http://www.unece.org/fileadmin/DAM/trade/untdid/d12b/tred/tred3035.htm> ;
LogiCO:mappingToEDI """UN/EDIFACT D.12B Data Element 3035 Party function code qualifier
Desc: Code giving specific meaning to a party.
D.12B Core Component Library UN02000044""" ;
rdfs:comment """An actor represents a company, an authority or an individual that provides or requests activities and operates on physical resources.
We have identified a number of Actor types that are relevant for logistics, but the list can be further extended.
Equivalent to the concept of Agent in:
DOLCE UltraLite (DUL) ontology: 'Any agentive Object , either physical (e.g. a whale, a robot, an oak), or social (e.g. a corporation, an institution, a community)'."""^^xsd:string ;
rdfs:subClassOf LogiCO:Object ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty LogiCO:hasWebsiteURI ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:minCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty LogiCO:hasEmail ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:minCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty LogiCO:hasPhoneNr ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:onProperty LogiCO:hasAddress ;
owl:someValuesFrom LogiCO:Address ;
] ;
.
LogiCO:Actor_1
rdf:type LogiCO:Actor ;
rdfs:label "Actor 1"^^xsd:string ;
.
LogiCO:Address
rdf:type owl:Class ;
LogiCO:mappingToEDI <http://www.unece.org/fileadmin/DAM/trade/untdid/d12b/trcd/trcdc058.htm> ;
LogiCO:mappingToEDI """UN/EDIFACT D.12B Composite Data Element C058 NAME AND ADDRESS
Desc: Unstructured name and address: one to five lines""" ;
rdfs:subClassOf LogiCO:Object ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty LogiCO:hasPostbox ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
owl:onClass LogiCO:City ;
owl:onProperty LogiCO:hasCity ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
owl:onClass LogiCO:Country ;
owl:onProperty LogiCO:hasCountry ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
owl:onClass LogiCO:Region ;
owl:onProperty LogiCO:hasRegion ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
owl:onClass LogiCO:Street ;
owl:onProperty LogiCO:hasStreet ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
owl:onDataRange xsd:string ;
owl:onProperty LogiCO:hasPostalCode ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
owl:onDataRange xsd:string ;
owl:onProperty LogiCO:hasStreetNumber ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
owl:onClass LogiCO:Building ;
owl:onProperty LogiCO:hasBuilding ;
] ;
.
LogiCO:AddressDenHaagCentralStation
rdf:type LogiCO:Address ;
LogiCO:hasCity LogiCO:DenHaag ;
LogiCO:hasCountry LogiCO:Netherlands ;
LogiCO:hasPostalCode "2595DH"^^xsd:string ;
LogiCO:hasStreet LogiCO:AnnaVanBuerenPlein ;
LogiCO:hasStreetNumber "1"^^xsd:string ;
rdfs:label "Address 1"^^xsd:string ;
.
LogiCO:AirTransport
rdf:type owl:Class ;
rdfs:subClassOf LogiCO:TransportMode ;
owl:disjointWith LogiCO:InlandWaterTransport ;
owl:disjointWith LogiCO:RailwayTransport ;
owl:disjointWith LogiCO:RoadTransport ;
owl:disjointWith LogiCO:SeaTransport ;
.
LogiCO:Airplane
rdf:type owl:Class ;
rdfs:subClassOf LogiCO:TransportMeans ;
owl:disjointWith LogiCO:Barge ;
owl:disjointWith LogiCO:Train ;
owl:disjointWith LogiCO:Truck ;
owl:disjointWith LogiCO:Van ;
owl:disjointWith LogiCO:Vessel ;
.
LogiCO:Airport
rdf:type owl:Class ;
rdfs:subClassOf LogiCO:FacilityStructure ;
.
LogiCO:Amount
rdf:type owl:Class ;
rdfs:comment """A quantity, independently from how it is measured, computed, etc.
Equivalent to the concept of Amount in DOLCE UltraLite (DUL) ontology.""" ;
rdfs:isDefinedBy <http://www.ontologydesignpatterns.org/ont/dul/DUL.owl> ;
rdfs:subClassOf LogiCO:Abstract ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:onProperty LogiCO:isMeasuredIn ;
owl:someValuesFrom LogiCO:AmountUnit ;
] ;
.
LogiCO:AmountUnit
rdf:type owl:Class ;
rdfs:subClassOf LogiCO:UnitOfMeasure ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:allValuesFrom LogiCO:Amount ;
owl:onProperty LogiCO:measures ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:onProperty LogiCO:measures ;
owl:someValuesFrom LogiCO:Amount ;
] ;
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment