-
Notifications
You must be signed in to change notification settings - Fork 40
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
6 changed files
with
77 additions
and
8 deletions.
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
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
12 changes: 12 additions & 0 deletions
12
rdfunit-validate/src/test/resources/org/aksw/rdfunit/validate/data/dsp/isLiteral_Wrong.ttl
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,12 @@ | ||
@prefix exdsp: <http://example.com/dsp#> . | ||
|
||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
|
||
# Sample correct data for testing | ||
|
||
|
||
exdsp:wrong2 exdsp:languagePropSA exdsp:value2 . # 1 error, should be literal | ||
|
25 changes: 25 additions & 0 deletions
25
rdfunit-validate/src/test/resources/org/aksw/rdfunit/validate/data/dsp/literal_Correct.ttl
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,25 @@ | ||
@prefix exdsp: <http://example.com/dsp#> . | ||
|
||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
|
||
# Sample correct data for testing | ||
|
||
exdsp:correct1 a exdsp:LiteralValuesClass ; | ||
exdsp:literalValuesProp "value1-en"@en; | ||
. | ||
|
||
exdsp:correct2 a exdsp:LiteralValuesClass ; | ||
exdsp:literalValuesProp "value1-de"@de; | ||
. | ||
|
||
exdsp:correct3 a exdsp:LiteralValuesClass ; | ||
exdsp:literalValuesProp "value" ; | ||
. | ||
|
||
exdsp:correct4 a exdsp:LiteralValuesClass ; | ||
exdsp:literalValuesProp "1"^^xsd:integer; | ||
. | ||
|
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
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