-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# UmakaParser | ||
|
||
This tool is to make a JSON file for [Umaka Viewer](https://umaka-viewer.dbcls.jp/). | ||
| ||
First, you need to prepare a metadata file in the [SPARQL Builder Meatadata (SBM)](http://www.sparqlbuilder.org/doc/sbm_2015sep/) format. | ||
If you want to get such a metadata file, [TripleDataProfiler](https://bitbucket.org/yayamamo/tripledataprofiler/src/master/) can generate it for a SPARQL endpoint. | ||
| ||
Then, if you have ontology files for the target endpoint or RDF dataset, you need to make asset files by this tool as follows. | ||
| ||
`umakaparser --build-index [--dist <Path to put an asset file>] <ontology files in Turtle>` | ||
| ||
If you have ontology files only in RDF/XML, this tool converts them into those in Turtle as follows. | ||
| ||
`umakaparser --convert <files in RDF/XML>` | ||
| ||
Finally, this tool generates a JSON file that can be accepted by [Umaka Viewer](https://umaka-viewer.dbcls.jp/) as follows. | ||
| ||
`umakaparser --build [--a <Path to asset files>|--d <Path to put a generated JSON file>] <an SBM file>` | ||
| ||
The JSON file structure is [here](https://github.com/dbcls/umakaparser/wiki/Data-specification). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters