-
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
5 changed files
with
145 additions
and
9 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
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
18 changes: 18 additions & 0 deletions
18
...date/src/test/resources/org/aksw/rdfunit/validate/data/dsp/languageOccurrence_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,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 | ||
|
||
exdsp:correct1 a exdsp:languageOccurrenceMandatoryClass ; | ||
exdsp:languageOccurrenceMandatoryProp "value"@en . | ||
|
||
exdsp:correct2 exdsp:languageOccurrenceMandatoryPropSA "value"@en . | ||
|
||
exdsp:correct3 a exdsp:languageOccurrenceDisallowedClass ; | ||
exdsp:languageOccurrenceDisallowedProp "value" . | ||
|
||
exdsp:correct4 exdsp:languageOccurrenceDisallowedPropSA "value"@en . |
18 changes: 18 additions & 0 deletions
18
...lidate/src/test/resources/org/aksw/rdfunit/validate/data/dsp/languageOccurrence_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 | ||
|
||
exdsp:correct1 a exdsp:languageOccurrenceMandatoryClass ; | ||
exdsp:languageOccurrenceMandatoryProp "value" . # 1 error | ||
|
||
exdsp:correct2 exdsp:languageOccurrenceMandatoryPropSA "value" . # 1 error | ||
|
||
exdsp:correct3 a exdsp:languageOccurrenceDisallowedClass ; | ||
exdsp:languageOccurrenceDisallowedProp "value"@it . # 1 error | ||
|
||
exdsp:correct4 exdsp:languageOccurrenceDisallowedPropSA "value" . # 1 error |