Skip to content

Commit

Permalink
prepare-0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
takemikami committed May 29, 2022
1 parent 8d91d83 commit 03f5d65
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ Use [vscode-rdflint](vscode-rdflint/README.md)
Download from jitpack.

```
$ wget https://jitpack.io/com/github/imas/rdflint/0.2.0/rdflint-0.2.0.jar
$ wget https://jitpack.io/com/github/imas/rdflint/0.2.1/rdflint-0.2.1.jar
```

Run for apply to your RDF files.

```
$ java -jar rdflint-0.2.0.jar -targetdir example/dataset
$ java -jar rdflint-0.2.1.jar -targetdir example/dataset
```

``-targetdir`` parameter is location of target RDF files.
Expand Down Expand Up @@ -76,7 +76,7 @@ See [imas/setup-rdflint](https://github.com/imas/setup-rdflint) for more informa
When create a configuration file of rdflint, rdflint provide additional checks. Run with ``-config`` parameter like following.

```
$ java -jar rdflint-0.2.0.jar -targetdir example/dataset -config example/dataset/rdflint-config.yml
$ java -jar rdflint-0.2.1.jar -targetdir example/dataset -config example/dataset/rdflint-config.yml
```

``-config`` parameter is location of rdflint configuration file.
Expand Down Expand Up @@ -117,13 +117,12 @@ rules:

And run SPARQL query of ``rules-query`` to target file of ``rules-target``. Groovy script of ``rules-valid`` apply to result set of query.


### Degrade validation

Run with ``-origindir`` parameter like following.

```
$ java -jar rdflint-0.2.0.jar -targetdir example/dataset -origindir example/dataset_origin -config example/dataset/rdflint-config.yml
$ java -jar rdflint-0.2.1.jar -targetdir example/dataset -origindir example/dataset_origin -config example/dataset/rdflint-config.yml
```

And check subject and triple, removed from origindir. Its problem report as INFO level.
Expand Down Expand Up @@ -187,13 +186,12 @@ xmlns:imas="https://sparql.crssnky.xyz/imasrdf/URIs/imas-schema.ttl#"
....
```


## Interactive Mode

Run interactive mode with ``-i`` parameter.

```
$ java -jar rdflint-0.2.0.jar -i -targetdir example/dataset -config example/dataset/rdflint-config.yml
$ java -jar rdflint-0.2.1.jar -i -targetdir example/dataset -config example/dataset/rdflint-config.yml
```

And try to query. Double return to perform query, type ``:exit`` to exit interactive mode.
Expand Down
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "rdflint: RDF Linter"
description: "rdflint users guide"
lang: ja-JP
google_analytics: UA-150373815-1
RDFLINT_VERSION: 0.2.0
RDFLINT_VERSION: 0.2.1
cookie_consent: |
<script src="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js" data-cfasync="false"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/github/imas/rdflint/RdfLint.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

public class RdfLint {

public static final String VERSION = "0.2.0";
public static final String VERSION = "0.2.1";
private static final Logger logger = Logger.getLogger(RdfLint.class.getName());

/**
Expand Down
5 changes: 3 additions & 2 deletions vscode-rdflint/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vscode-rdflint/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vscode-rdflint",
"displayName": "RDF language support via rdflint",
"version": "0.2.0",
"version": "0.2.1",
"publisher": "takemikami",
"description": "RDF language support via rdflint",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion vscode-rdflint/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
Executable
} from 'vscode-languageclient';

const RDFLINT_VER = "0.2.0";
const RDFLINT_VER = "0.2.1";
let client: LanguageClient;

export function activate(context: vscode.ExtensionContext) {
Expand Down

0 comments on commit 03f5d65

Please sign in to comment.