@prefix : .
@prefix owl: .
@prefix rdf: .
@prefix xml: .
@prefix xsd: .
@prefix rdfs: .
@prefix skos: .
@prefix dc: .
@prefix dcterms: .
@base .
@prefix foaf: .
rdf:type owl:Ontology ;
owl:imports ;
rdfs:comment "The CODI ontology covers the document requests and the public register. More information about the intentional semantics are found in the Council's Open Data manual.".
#################################################################
#
# Classes
#
#################################################################
## within the DocumentRequests
foaf:Agent rdf:type owl:Class ;
rdfs:label "Applicant" ;
rdfs:subClassOf owl:Thing ;
"The person who requested access to documents. Only general information, privacy insensitive, is exposed." .
rdf:type owl:Class ;
rdfs:label "RequestForDocument" ;
rdfs:subClassOf owl:Thing ;
dcterms:description "The issued question requesting access to some documents." .
rdf:type owl:Class ;
rdfs:label "DocumentStatus" ;
rdfs:subClassOf owl:Thing ;
"The publication status and accessibility status of the document at the time of the response." .
rdf:type owl:Class ;
rdfs:label "Document" ;
rdfs:subClassOf owl:Thing, , ;
"The document about which information is made available. The document requests replies contain references to documents that are not public and hence are not part of the public register." .
## within the PublicRegister
rdf:type owl:Class ;
rdfs:label "PublicRegisterDocument" ;
rdfs:subClassOf ;
"The document as it appears in the public register. This is a subclass of the general document class, as not all documents are public." .
rdf:type owl:Class ;
rdfs:label "DocumentExpression" ;
rdfs:subClassOf owl:Thing ;
rdfs:subClassOf ;
dcterms:description "A document can be expressed in several languages." .
rdf:type owl:Class ;
rdfs:label "Meeting" ;
dcterms:description "A meeting (in the broad sense) happened at the council.";
rdfs:subClassOf owl:Thing.
#################################################################
#
# Auxiliary Classes
# http://data.consilium.europa.eu/def/codi/aux
# The Classes having the aux prefix are auxiliary classes to assist the definition of the ranges
#
#################################################################
rdf:type owl:Class ;
rdfs:label "Professional Activity" ;
dcterms:description "The set of possible professional activities that are being recorded.";
rdfs:subClassOf skos:Concept ,
[ rdf:type owl:Restriction ;
owl:onProperty skos:inscheme ;
owl:hasValue
] .
rdf:type owl:Class ;
rdfs:label "Interinstitutional Code" ;
dcterms:description "The set of possible interinstitutional codes that are being recorded.";
rdfs:subClassOf skos:Concept ,
[ rdf:type owl:Restriction ;
owl:onProperty skos:inscheme ;
owl:hasValue
] .
rdf:type owl:Class ;
rdfs:label "Subject Matter" ;
dcterms:description "The set of possible subject matters that are being recorded.";
rdfs:subClassOf skos:Concept ,
[ rdf:type owl:Restriction ;
owl:onProperty skos:inscheme ;
owl:hasValue
] .
rdf:type owl:Class ;
rdfs:label "Policy Area" ;
dcterms:description "The set of available policy areas considered by the Council.";
rdfs:subClassOf skos:Concept ,
[ rdf:type owl:Restriction ;
owl:onProperty skos:inscheme ;
owl:hasValue
] .
rdf:type owl:Class ;
rdfs:label "Request Type" ;
dcterms:description "A request for documents are categorized as initial requests or confirmatory applications.";
rdfs:subClassOf skos:Concept ,
[ rdf:type owl:Restriction ;
owl:onProperty skos:inscheme ;
owl:hasValue
] .
rdf:type owl:Class ;
rdfs:label "Type of Reply" ;
dcterms:description "The motivation about the accessibility to the document in a response";
rdfs:subClassOf skos:Concept ,
[ rdf:type owl:Restriction ;
owl:onProperty skos:inscheme ;
owl:hasValue
] .
rdf:type owl:Class ;
rdfs:label "Geographical Area" ;
dcterms:description "The set of possible places from where applicants may originate. The basis forms the Country NAL from the Publications Office. However it has been extended with two special cases: the applicants origin is unknown or the applicant origin is affiated with the Council itself (an internal request). " ;
rdfs:subClassOf skos:Concept .
# owl:unionOf ( [ rdf:type owl:Restriction ;
# owl:onProperty skos:inscheme ;
# owl:hasValue
# ] [ rdf:type owl:Restriction ;
# owl:onProperty skos:inscheme ;
# owl:hasValue
# ]
# ).
rdf:type owl:Class ;
rdfs:label "Document Category" ;
rdfs:subClassOf skos:Concept ,
[ rdf:type owl:Restriction ;
owl:onProperty skos:inscheme ;
owl:hasValue
] .
rdf:type owl:Class ;
rdfs:label "Document Publication Status" ;
rdfs:subClassOf skos:Concept ,
[ rdf:type owl:Restriction ;
owl:onProperty skos:inscheme ;
owl:hasValue
] .
rdf:type owl:Class ;
rdfs:label "Council Document Suffix" ;
rdfs:subClassOf skos:Concept ,
[ rdf:type owl:Restriction ;
owl:onProperty skos:inscheme ;
owl:hasValue
] .
#################################################################
#
# Object Properties
#
#################################################################
### http://data.consilium.europa.eu/def/codi/appliesFor
rdf:type owl:ObjectProperty ;
rdfs:label "applies for" ;
"The applicant requests access to documents." ;
rdfs:domain foaf:Agent ;
rdfs:range .
### http://data.consilium.europa.eu/def/codi/documentCategory
rdf:type owl:ObjectProperty ;
rdfs:label "document category" ;
dcterms:description "The type of document. The Council documents are categorized in a limited set of types." ;
rdfs:range .
### http://data.consilium.europa.eu/def/codi/expressed
rdf:type owl:ObjectProperty ;
rdfs:label "expressed" ;
dcterms:description "The document is expressed in a language" ;
rdfs:subPropertyOf ;
rdfs:range ;
rdfs:domain .
### http://data.consilium.europa.eu/def/codi/geographicalOrigin
rdf:type owl:ObjectProperty ;
dcterms:description "The (estimated) geographical origin from where the applicant is.";
rdfs:range ;
rdfs:domain foaf:Agent .
### http://data.consilium.europa.eu/def/codi/hasFollowupRequest
rdf:type owl:ObjectProperty ;
rdfs:label "hasFollowupRequest" ;
dcterms:description "The request that is a follow-up of another.";
rdfs:domain ;
rdfs:range .
### http://data.consilium.europa.eu/def/codi/hasReply
rdf:type owl:ObjectProperty ;
rdfs:label "hasReply" ;
"a request has one or more replies. A reply corresponds to the accessibility details of a document." ;
rdfs:range ;
rdfs:domain .
rdf:type owl:ObjectProperty ;
rdfs:label "relatesTo" ;
dcterms:description "The meeting that is referring to this document expression. The usage of the document in the meeting is various: it might be the invitation, the agenda, the meeting notes, the discussed topic, the official outcome, etc. " ;
rdfs:domain ;
rdfs:range .
rdf:type owl:ObjectProperty ;
rdfs:label "policy area" ;
dcterms:description "The policy area to which the request is related to." ;
rdfs:range .
rdf:type owl:ObjectProperty ;
rdfs:label "request type" ;
dcterms:description "The kind of request that is filed: an initial, first request or an confirmatory request." ;
rdfs:range .
rdf:type owl:ObjectProperty ;
rdfs:label "Type of reply" ;
dcterms:description "A reply corresponds to the accessibility details of a document." ;
rdfs:domain ;
rdfs:range .
### http://data.consilium.europa.eu/def/codi/professionalActivity
rdf:type owl:ObjectProperty ;
rdfs:label "professional activity" ;
dcterms:description "The professional activity of the applicant." ;
rdfs:range .
### http://data.consilium.europa.eu/def/codi/publicationStatus
rdf:type owl:ObjectProperty ;
rdfs:label "publicationStatus" ;
dcterms:description "The accessibility information of the referenced document at the time of the reply is submitted to the applicant. The current status can be different." ;
rdfs:domain ;
rdfs:range .
### http://data.consilium.europa.eu/def/codi/refersTo
rdf:type owl:ObjectProperty ;
rdfs:label "refersTo" ;
dcterms:description "The document about which this is the reply";
rdfs:subPropertyOf dcterms:references;
rdfs:domain ;
rdfs:range .
#################################################################
#
# Data properties
#
#################################################################
rdf:type owl:DatatypeProperty ;
rdfs:label "date of request" ;
dcterms:description "The date the request has been registered." ;
rdfs:domain ;
rdfs:range xsd:date;
rdfs:subPropertyOf dcterms:dateAccepted;
rdfs:subPropertyOf owl:topDataProperty .
rdf:type owl:DatatypeProperty ;
rdfs:label "deadline" ;
dcterms:description "The deadline date the request ought to be replied." ;
rdfs:domain ;
rdfs:range xsd:date;
rdfs:subPropertyOf owl:topDataProperty .
rdf:type owl:DatatypeProperty ;
rdfs:label "extended deadline" ;
dcterms:description "The extended deadline date the request ought to be replied. Extension of the reply deadline is an exceptional case." ;
rdfs:domain ;
rdfs:range xsd:date;
rdfs:subPropertyOf owl:topDataProperty .
rdf:type owl:DatatypeProperty ;
rdfs:label "reply date" ;
dcterms:description "The date the respons has been provided to the applicant." ;
rdfs:domain ;
rdfs:range xsd:date;
rdfs:subPropertyOf dcterms:issued;
rdfs:subPropertyOf owl:topDataProperty .
rdf:type owl:DatatypeProperty ;
rdfs:label "spent effort" ;
dcterms:description "The actual effort spent for replying to the request. In days." ;
rdfs:domain ;
rdfs:range xsd:duration;
rdfs:subPropertyOf dcterms:extent;
rdfs:subPropertyOf owl:topDataProperty .
### http://data.consilium.europa.eu/def/codi/dateOfMeeting
rdf:type owl:DatatypeProperty ;
rdfs:label "dateOfMeeting" ;
rdfs:domain ;
rdfs:range xsd:date;
rdfs:subPropertyOf owl:topDataProperty .
### http://data.consilium.europa.eu/def/codi/interinstitutionalCode
rdf:type owl:DatatypeProperty ;
dcterms:description "The code used to identify a document within the EU (connect to cellar)";
rdfs:label "interinstitutionalCode" ;
rdfs:range ;
rdfs:subPropertyOf ,
owl:topDataProperty .
### http://data.consilium.europa.eu/def/codi/subjectMatter
rdf:type owl:DatatypeProperty ;
dcterms:description "The code used to identify a domain or area of interest of a requested document.";
rdfs:label "Subject Matter" ;
rdfs:range ;
rdfs:subPropertyOf owl:topDataProperty .
### http://data.consilium.europa.eu/def/codi/suffix
rdf:type owl:DatatypeProperty ;
rdfs:label "Suffix" ;
rdfs:range ;
rdfs:subPropertyOf ,
owl:topDataProperty .
#################################################################
# reused properties from DCterms
# we encoded each usage as an individual property. In proper OWL ontology modeling
# this should be done via creating local (hence CODI specific) subproperties and
# then attributing these.
#################################################################
foaf:page rdf:type owl:DataProperty ;
rdfs:label "metadata html view" ;
dcterms:description "The metadata view offered by the Public Register of the document." ;
rdfs:domain .
foaf:page rdf:type owl:DataProperty ;
rdfs:label "PDF" ;
rdfs:label "The PDF representation of the document according to its dissemination status (completely/partially)" ;
rdfs:domain .
dcterms:issued rdf:type owl:DataProperty ;
rdfs:label "Issue date" ;
dcterms:description "The issue date of a document (expression).";
rdfs:domain .
dcterms:title rdf:type owl:DataProperty ;
rdfs:label "Document expression title" ;
dcterms:description "The title of a document (expression).";
rdfs:domain .
dcterms:language rdf:type owl:ObjectProperty ;
rdfs:label "Document expression language" ;
dcterms:description "The language in which the document expression is expressed.";
rdfs:subPropertyOf ;
rdfs:domain ;
rdfs:range .
dcterms:originator rdf:type owl:DataProperty ;
rdfs:label "Document expression author" ;
dcterms:description "The author of a document expression";
rdfs:domain ;
rdfs:range .
dcterms:audience rdf:type owl:DataProperty ;
rdfs:label "Addressee" ;
dcterms:description "The addressee of a document (expression)";
rdfs:domain ;
rdfs:range .