Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Andrei Popescu
JsonSchemaToRDF
Commits
fc97bef5
Commit
fc97bef5
authored
Mar 04, 2022
by
Andrei Popescu
Browse files
Update README.md
parent
d41900a3
Pipeline
#54667
passed with stage
in 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
fc97bef5
...
...
@@ -10,38 +10,26 @@ It transforms GBFS Json schemas into corresponding RDF vocabularies and Shacl sh
*
Install dependencies using
`npm install`
*
Build the typescript using
`npm run build`
*
Run by
`node main.js`
Extra
*
Check the resulting vocabularies and provide feedback on term mapping choices.
## Program flow
<!--
## Program flow
*
the
`files`
folder contains GBFS json schemas.
*
the
`build`
folder contains the vocabularies and shapes generated by the component.
*
foreach json schema in
`files`
,
`main.ts`
instantiates
`rdfVocabulary.ts`
to create the equivalent vocabulary and shape.
*
`rdfVocabulary.ts`
is responsible for creating both the vocabulary and shapes.
*
`rdfVocabulary.ts`
uses
`shaclShape.ts`
to initialize the basics of the shape such as the target class, and to get the corresponding property shapes.
<img
src=
"images/pseudocode.png"
width=
"500"
>
<img
src=
"images/pseudocode.png"
width=
"500"
>
-->
## Useful links
*
mobility data bike sharing system json schemas: https://github.com/MobilityData/gbfs-json-schema
## Author
Andrei Popescu
<andrei.popescu@ugent.be>
## ToDos
# List of unmanaged details
- start_time, end_time pattern in system_hours.json
- minimum/maximum in system_calendar.json
- minimum in vehicle_types.json
- ? (any other missing)
## Future Work
*
gbfs.json apparently has a slightly different structure, so it needs special treatment -> ignored for now
*
Main challenge: How to be fully general with respect to the Json Schema Specification? https://json-schema.org/draft/ 2020-12/json-schema-core.html
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment