-
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
4 changed files
with
87 additions
and
2 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
14 changes: 14 additions & 0 deletions
14
rdfunit-validate/src/test/resources/org/aksw/rdfunit/validate/data/dsp/language_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,14 @@ | ||
@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:languageClass ; | ||
exdsp:languageProp "value"@en . | ||
|
||
exdsp:correct2 exdsp:languagePropSA "value"@en . | ||
|
18 changes: 18 additions & 0 deletions
18
rdfunit-validate/src/test/resources/org/aksw/rdfunit/validate/data/dsp/language_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,18 @@ | ||
@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 | ||
|
||
# TODO support lang per domain | ||
#exdsp:correct1 a exdsp:languageClass ; | ||
# exdsp:languageProp "value"@en . | ||
|
||
exdsp:wrong2 exdsp:languagePropSA "value"@it . # 1 error | ||
|
||
exdsp:wrong3 exdsp:languagePropSA "value"@el . # 1 error | ||
|
||
exdsp:wrong4 exdsp:languagePropSA "value" . # 1 error |