Skip to content

Commit

Permalink
Merge pull request #35 from julianrojas87/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
julianrojas87 authored Mar 15, 2021
2 parents fcd1f50 + a1f90fe commit 8c7ebc6
Show file tree
Hide file tree
Showing 13 changed files with 17,682 additions and 7,547 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To deploy this container follow these steps:
3. Start the application:

```bash
docker run -p ${PORT}:80 era-rcc
docker run -p ${PORT}:80 era-vocabulary
```

Replace `${PORT}` for the TCP port where you want to run the application. Once the container is running you can access these resources:
Expand Down Expand Up @@ -65,13 +65,13 @@ Then follow the next steps:

```bash
cd public
npx http-server -p ${PORT}
npx http-server --cors -p ${PORT}
```

Replace `${PORT}` for the TCP port where you want to run the application. Once the application is running you may access the following resources:

- The vocabulary documentation at `http://localhost:${PORT}/era-vocabulary/index-en.html`.
- The reference data at `http://localhost:${PORT}/era-vocabulary/era-skos.ttl`.
- The vocabulary documentation at `http://localhost:${PORT}/index-en.html`.
- The reference data at `http://localhost:${PORT}/era-skos.ttl`.

## See also

Expand Down
6 changes: 3 additions & 3 deletions era-widoco.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ ontologyName=ERA vocabulary
thisVersionURI=
latestVersionURI=
previousVersionURI=
dateOfRelease=2020-01-29
ontologyRevisionNumber=v1.2.0
dateOfRelease=2020-03-15
ontologyRevisionNumber=v1.2.1
licenseURI=https://creativecommons.org/licenses/by/4.0/
licenseName=https://creativecommons.org/licenses/by/4.0/
licenseIconURL=
citeAs=European Union Agency for Railways. ERA vocabulary. Revision: v1.2.0.
citeAs=European Union Agency for Railways. ERA vocabulary. Revision: v1.2.1.
DOI=
status=Ontology Specification
backwardsCompatibleWith=
Expand Down
2 changes: 1 addition & 1 deletion generate-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ function main() {
# downloadWidoco
main
rm ./public/ontology.ttl
cp ontology.ttl ./public/
cp ontology.ttl era-skos.ttl ./public/
2 changes: 2 additions & 0 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,14 @@ http {
location /era-vocabulary {
root /usr/www;
index index-en.html;
add_header Access-Control-Allow-Origin *;

try_files $uri $uri/ =404;
}

location /era-vocabulary/era-skos {
default_type text/turtle;
add_header Access-Control-Allow-Origin *;
alias /usr/www/era-vocabulary/era-skos.ttl;
}

Expand Down
4,897 changes: 4,897 additions & 0 deletions public/era-skos.ttl

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions public/index-en.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


<!-- SCHEMA.ORG METADATA -->
<script type="application/ld+json">{"@context":"http://schema.org","@type":"TechArticle","url":"http://era.europa.eu/ns#","image":"http://vowl.visualdataweb.org/webvowl/#iri=http://era.europa.eu/ns#","name":"ERA vocabulary", "headline":"Vocabulary defined by the European Union Agency for Railways to describe the concepts and relationships related to the European railway infrastructure and the vehicles authorized to operate over it.", "datePublished":"2020-01-29", "version":"v1.2.0", "license":"https://creativecommons.org/licenses/by/4.0/", "author":[{"@type":"Person","name":"Julián Rojas"}], "contributor":[{"@type":"Person","name":"Dylan Van Assche"},{"@type":"Person","name":"Ivaylo Velitchkov"},{"@type":"Person","name":"Marina Aguado"},{"@type":"Person","name":"Pieter Colpaert"},{"@type":"Person","name":"Polymnia Vasilopoulou"}]}</script>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"TechArticle","url":"http://era.europa.eu/ns#","image":"http://vowl.visualdataweb.org/webvowl/#iri=http://era.europa.eu/ns#","name":"ERA vocabulary", "headline":"Vocabulary defined by the European Union Agency for Railways to describe the concepts and relationships related to the European railway infrastructure and the vehicles authorized to operate over it.", "datePublished":"2020-03-15", "version":"v1.2.1", "license":"https://creativecommons.org/licenses/by/4.0/", "author":[{"@type":"Person","name":"Julián Rojas"}], "contributor":[{"@type":"Person","name":"Dylan Van Assche"},{"@type":"Person","name":"Ivaylo Velitchkov"},{"@type":"Person","name":"Marina Aguado"},{"@type":"Person","name":"Pieter Colpaert"},{"@type":"Person","name":"Polymnia Vasilopoulou"}]}</script>

<script src="resources/jquery.js"></script>
<script src="resources/marked.min.js"></script>
Expand Down Expand Up @@ -60,27 +60,27 @@
<div class="head">
<div style="float:right">language <a href="index-en.html"><b>en</b></a> </div>
<h1>ERA vocabulary</h1>
<h2>Release 2020-01-29</h2>
<h2>Release 2020-03-15</h2>


<dl>
<dt>Revision:</dt>
<dd>v1.2.0</dd>
<dd>v1.2.1</dd>
<dt>Authors:</dt>
<dd>Julián Rojas, (<a href="https://idlab.technology/">Ghent University - imec</a>)</dd>

<dt>Contributors:</dt>
<dd>Dylan Van Assche, (<a href="https://idlab.technology/">Ghent University - imec</a>)</dd><dd>Ivaylo Velitchkov, (<a href="https://ec.europa.eu/info/departments/informatics_en">DG DIGIT</a>)</dd><dd>Marina Aguado, (<a href="https://www.era.europa.eu/">ERA</a>)</dd><dd>Pieter Colpaert, (<a href="https://idlab.technology/">Ghent University - imec</a>)</dd><dd>Polymnia Vasilopoulou, (<a href="https://www.era.europa.eu/">ERA</a>)</dd>

<dt>Publisher:</dt>
<dd><a href="https://www.era.europa.eu/">European Union Agency for Railways</a></dd>
<dd>European Union Agency for Railways</dd>
<dt>Imported Ontologies:</dt>
<dd><a href="http://era.ilabt.imec.be/era-vocabulary/era-skos#">era-skos</a></dd><dd><a href="http://publications.europa.eu/resource/authority/country">eu-country</a></dd><dd><a href="https://www.w3.org/2003/01/geo/wgs84_pos">wgs</a></dd><dd><a href="http://www.opengis.net/ont/geosparql">geosparql</a></dd><dd><a href="https://schema.org">schema</a></dd><dd><a href="http://www.w3.org/2004/02/skos/core">skos</a></dd>

<dt>Download serialization:</dt><dd><span><a href="ontology.json" target="_blank"><img src="https://img.shields.io/badge/Format-JSON_LD-blue.svg" alt="JSON-LD" /></a> </span><span><a href="ontology.xml" target="_blank"><img src="https://img.shields.io/badge/Format-RDF/XML-blue.svg" alt="RDF/XML" /></a> </span><span><a href="ontology.nt" target="_blank"><img src="https://img.shields.io/badge/Format-N_Triples-blue.svg" alt="N-Triples" /></a> </span><span><a href="ontology.ttl" target="_blank"><img src="https://img.shields.io/badge/Format-TTL-blue.svg" alt="TTL" /></a> </span></dd><dt>License: </dt><dd><a href="https://creativecommons.org/licenses/by/4.0/" target="_blank"><img src="https://img.shields.io/badge/License-https://creativecommons.org/licenses/by/4.0/-blue.svg" alt="https://creativecommons.org/licenses/by/4.0/" /></a>
</dd><dt>Visualization:</dt><dd><a href="webvowl/index.html#" target="_blank"><img src="https://img.shields.io/badge/Visualize_with-WebVowl-blue.svg" alt="Visualize with WebVowl" /></a></dd>
<!-- <dt>Evaluation:</dt><dd><a href="OOPSEvaluation/OOPSeval.html#" target="_blank"><img src="https://img.shields.io/badge/Evaluate_with-OOPS! (OntOlogy Pitfall Scanner!)-blue.svg" alt="Evaluate with OOPS!" /></a></dd> --><dt>Cite as:</dt>
<dd>European Union Agency for Railways. ERA vocabulary. Revision: v1.2.0.</dd>
<dd>European Union Agency for Railways. ERA vocabulary. Revision: v1.2.1.</dd>
</dl>

<a href="provenance/provenance-en.html" target="_blank">Provenance of this page</a><hr/>
Expand Down
4 changes: 2 additions & 2 deletions public/ontology.json
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@
} ],
"http://purl.org/dc/terms/modified" : [ {
"@type" : "http://www.w3.org/2001/XMLSchema#date",
"@value" : "2021-01-29"
"@value" : "2021-03-15"
} ],
"http://purl.org/dc/terms/publisher" : [ {
"@value" : "European Union Agency for Railways"
Expand All @@ -366,7 +366,7 @@
"@id" : "https://schema.org/"
} ],
"http://www.w3.org/2002/07/owl#versionInfo" : [ {
"@value" : "v1.2.0"
"@value" : "v1.2.1"
} ]
}, {
"@id" : "http://era.europa.eu/ns#InternalNodeLink",
Expand Down
4 changes: 2 additions & 2 deletions public/ontology.nt
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
<http://era.europa.eu/ns#> <http://purl.org/dc/terms/contributor> "Pieter Colpaert" .
<http://era.europa.eu/ns#> <http://purl.org/dc/terms/contributor> "Polymnia Vasilopoulou" .
<http://era.europa.eu/ns#> <http://purl.org/dc/terms/issued> "2020-07-29"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://era.europa.eu/ns#> <http://purl.org/dc/terms/modified> "2021-01-29"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://era.europa.eu/ns#> <http://purl.org/dc/terms/modified> "2021-03-15"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://era.europa.eu/ns#> <http://purl.org/dc/terms/publisher> "European Union Agency for Railways" .
<http://era.europa.eu/ns#> <http://purl.org/dc/terms/title> "ERA vocabulary"@en .
<http://era.europa.eu/ns#> <http://www.w3.org/2000/01/rdf-schema#comment> "Vocabulary defined by the European Union Agency for Railways to describe the concepts and relationships related to the European railway infrastructure and the vehicles authorized to operate over it."@en .
<http://era.europa.eu/ns#> <http://www.w3.org/2000/01/rdf-schema#label> "ERA vocabulary"@en .
<http://era.europa.eu/ns#> <http://www.w3.org/2002/07/owl#versionInfo> "v1.2.0" .
<http://era.europa.eu/ns#> <http://www.w3.org/2002/07/owl#versionInfo> "v1.2.1" .
#
#
# #################################################################
Expand Down
4 changes: 2 additions & 2 deletions public/ontology.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ era: a owl:Ontology ;
dct:title "ERA vocabulary"@en ;
rdfs:label "ERA vocabulary"@en ;
dct:issued "2020-07-29"^^xsd:date ;
dct:modified "2021-01-29"^^xsd:date ;
dct:modified "2021-03-15"^^xsd:date ;
cc:license <https://creativecommons.org/licenses/by/4.0/> ;
dct:author <https://julianrojas.org/#me> ;
dct:publisher "European Union Agency for Railways" ;
Expand All @@ -55,7 +55,7 @@ era: a owl:Ontology ;
dct:contributor "Dylan Van Assche" ;
dct:contributor "Pieter Colpaert" ;
rdfs:comment "Vocabulary defined by the European Union Agency for Railways to describe the concepts and relationships related to the European railway infrastructure and the vehicles authorized to operate over it."@en ;
owl:versionInfo "v1.2.0" ;
owl:versionInfo "v1.2.1" ;
owl:imports schema:, era-skos:, eu-countries:, wgs:, geosparql: .


Expand Down
4 changes: 2 additions & 2 deletions public/ontology.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
<terms:contributor>Pieter Colpaert</terms:contributor>
<terms:contributor>Polymnia Vasilopoulou</terms:contributor>
<terms:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2020-07-29</terms:issued>
<terms:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2021-01-29</terms:modified>
<terms:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2021-03-15</terms:modified>
<terms:publisher>European Union Agency for Railways</terms:publisher>
<terms:title xml:lang="en">ERA vocabulary</terms:title>
<rdfs:comment xml:lang="en">Vocabulary defined by the European Union Agency for Railways to describe the concepts and relationships related to the European railway infrastructure and the vehicles authorized to operate over it.</rdfs:comment>
<rdfs:label xml:lang="en">ERA vocabulary</rdfs:label>
<owl:versionInfo>v1.2.0</owl:versionInfo>
<owl:versionInfo>v1.2.1</owl:versionInfo>
</owl:Ontology>


Expand Down
2 changes: 1 addition & 1 deletion public/provenance/provenance-en.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1>Provenance for ERA vocabulary Documentation (./public/)</h1>
<ul>
<li>Ontology created by: Julián Rojas (Ghent University - imec)</li> <li>Ontology contributed to by: Dylan Van Assche (Ghent University - imec), Ivaylo Velitchkov (DG DIGIT), Marina Aguado (ERA), Pieter Colpaert (Ghent University - imec), Polymnia Vasilopoulou (ERA)</li>
<li>The ontology documentation was the result of using the <a href="https://github.com/dgarijo/Widoco">Widoco tool</a> (which itself uses <a href="http://www.essepuntato.it/lode/">LODE</a> for generating the crossreference section).</li>
<li>The documentation was generated at 2020-01-29</ul>
<li>The documentation was generated at 2020-03-15</ul>
</div>
<p>back to <a href="..\index-en.html">documentation</a>. <a href="provenance-en.ttl">TTL format</a></p></div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion public/provenance/provenance-en.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
prov:wasAttributedTo :agent4;
prov:wasAttributedTo :agent5;
prov:wasAttributedTo <https://github.com/dgarijo/Widoco/>,<http://www.essepuntato.it/lode/>;
prov:wasGeneratedAt "2020-01-29";
prov:wasGeneratedAt "2020-03-15";
.
:agent0 a prov:Agent; foaf:name "Julián Rojas".
:agent1 a prov:Agent; foaf:name "Dylan Van Assche".
Expand Down
Loading

0 comments on commit 8c7ebc6

Please sign in to comment.