Skip to content

Commit

Permalink
[ADD] - Initial construction of DCAP-AP file for De Lijn agency
Browse files Browse the repository at this point in the history
  • Loading branch information
julianrojas87 committed May 23, 2017
1 parent 3789364 commit 493973c
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions Belgium/De_Lijn.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
@base <http://www.delijn.be/metadata>.

This comment has been minimized.

Copy link
@pietercolpaert

pietercolpaert May 24, 2017

Let’s instead put the file at https://gtfs.irail.be/metadata and describe the 4 GTFS files in 1 dcat:Catalog

@prefix adms: <http://www.w3.org/ns/adms#>.
@prefix dcat: <http://www.w3.org/ns/dcat#>.
@prefix dct: <http://purl.org/dc/terms/>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix schema: <http://schema.org/>.
@prefix skos: <http://www.w3.org/2004/02/skos/core#>.
@prefix spdx: <http://spdx.org/rdf/terms#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.

<#catalog-01> a dcat:Catalog ;
dcat:dataset <#agency>, <#calendar_dates>, <#routes>, <#stops>, <#stop_times>, <#trips> ;

This comment has been minimized.

Copy link
@pietercolpaert

pietercolpaert May 24, 2017

We could describe the 6 separate GTFS files in here, yet the time schedules always come packaged in 1 zip file. I’d just describe 1 dataset here: the time schedules of the Flemish bus company. To the same catalog, we can add the other 3 time schedules as well!

This comment has been minimized.

Copy link
@pietercolpaert

pietercolpaert May 24, 2017

Also see a discussion we should have: #1

dct:description "Data set for the De Lijn bus transportation system" ;

This comment has been minimized.

Copy link
@pietercolpaert

pietercolpaert May 24, 2017

No, this should describe the iRail catalog for GTFS. You can see iRail as a third party that brings datasets from various parties together and republishes them

dct:publisher <#agent-01> ;

This comment has been minimized.

Copy link
@pietercolpaert

pietercolpaert May 24, 2017

We should indeed define an official URI for the iRail organization/project -- I’ve added an issue over here: iRail/hyperRail#257

dct:title "De Lijn Bus System" ;
dct:spatial <http://sws.geonames.org/3337388/>;
foaf:homepage <https://www.delijn.be>
dct:language <http://id.loc.gov/vocabulary/iso639-1/en> ;
dct:license <http://www.delijn.be/license> ; #Where is actual license?

This comment has been minimized.

Copy link
@pietercolpaert

pietercolpaert May 24, 2017

This is the license of the catalog, not of the datasets. I would license this file under the CC0 waiver. URI: http://creativecommons.org/publicdomain/zero/1.0/

dct:issued "2011-12-05"^^xsd:date ; #Issue date for this DCAT file?

This comment has been minimized.

Copy link
@pietercolpaert

pietercolpaert May 24, 2017

Yes. Today? :)

dcat:themeTaxonomy <http://www.delijn.be/kos/vocabmetadata> ;

This comment has been minimized.

Copy link
@pietercolpaert

pietercolpaert May 24, 2017

Probably we’ll use the same theme list of @dachafra?

dct:modified "2016-12-05"^^xsd:date ; #Modification date for this DCAT file?
dcat:record <#catalogRecord-01> ;
dct:rights "public".


<#agency> a dcat:Dataset;
dct:description "Company information and contact details";
dct:title "Agency Contact Data" ;
dct:spatial <http://sws.geonames.org/3337388/>;

This comment has been minimized.

Copy link
@pietercolpaert

pietercolpaert May 24, 2017

Nice! :)

dcat:keyword "Bus";
dcat:keyword "AdminUnitLevel3 (Province): Madrid, Spain"; #What is this and why mandatory?
dcat:contactPoint <http://www.delijn.be/en/contact/>;
dcat:distribution <#distribution-01> ;
dcat:theme <http://www.delijn.be/kos/vocabmetadata/interurbanbus> ; #This reference a SKOS file, should we build one?
dct:publisher <#agent-01> ;
dct:conformsTo "GTFS" ;
foaf:page <http://www.delijn.be> ;
dct:accrualPeriodicity <http://purl.org/cld/freq/weekly> ;
dct:hasVersion <#agency01> ;
dct:identifier "Agency" ;
dcat:landingPage <https://services5.arcgis.com/UxADft6QPcvFyDU1/arcgis/rest/services/M8_Red/FeatureServer/0>; #Do not know where to get this
dct:language <http://id.loc.gov/vocabulary/iso639-1/en> ;
adms:identifier "19884a02ac044270b91fa478d80f7858_0" ; #Not sure what is is
dct:relation <http://data-crtm.opendata.arcgis.com/datasets?q=M8+red&sort_by=relevance> ; #Relation with what?
dct:issued "2015-01-01"^^xsd:date ; #How do I know when the dataset was issued?
adms:sample <#distribution-01> ;
dct:source <#dataset-05> ; #Source?
dct:temporal <#periodOfTime-01> ; #optional
dct:modified "2015-12-05"^^xsd:date ; #How do I know when the dataset was modified?
owl:versionInfo "1.0" ;
adms:versionNotes "final version for 2016"; #Same as for modified
dct:accessRights "public" ;
dct:type <http://inspire.ec.europa.eu/metadata-codelist/ResourceType/series> ;
dct:provenance "This dataset belongs to the open data about De Lijn bus system".

1 comment on commit 493973c

@pietercolpaert
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don’t have a dcat:Distribution yet → this is a way to download a specific dataset. It would include the link towards the GTFS file

Please sign in to comment.