diff --git a/rdfunit-core/src/main/resources/org/aksw/rdfunit/autoGeneratorsDSP.ttl b/rdfunit-core/src/main/resources/org/aksw/rdfunit/autoGeneratorsDSP.ttl index 14d1f0741..266020fea 100644 --- a/rdfunit-core/src/main/resources/org/aksw/rdfunit/autoGeneratorsDSP.ttl +++ b/rdfunit-core/src/main/resources/org/aksw/rdfunit/autoGeneratorsDSP.ttl @@ -217,7 +217,7 @@ rutg:DSPLANG-OC a rut:TestGenerator ; # no domain check disallowed rutg:DSPLANG-OC a rut:TestGenerator ; dcterms:description """Generate all rdfs:range constrains defined in a schema (when range is wrongly defined)"""@en ; - rut:sparqlGenerator """ select distinct ?P1 ('=' as ?OP) ('' as ?V1) ?DESCRIPTION where { + rut:sparqlGenerator """ select distinct ?P1 ('!=' as ?OP) ('' as ?V1) ?DESCRIPTION where { ?s a dsp:DescriptionTemplate . ?s dsp:statementTemplate/dsp:property ?P1 . ?s dsp:statementTemplate/dsp:literalConstraint/dsp:languageOccurrence ?lang . @@ -236,7 +236,7 @@ rutg:DSPLANG-OC a rut:TestGenerator ; ########################################## # dsp:literalConstraint -> dsp:language ########################################## - +# TODO check with domain as well? (needs new pattern) # no domain check disallowed rutg:DSPLANG-OC a rut:TestGenerator ; dcterms:description """Generate all rdfs:range constrains defined in a schema (when range is wrongly defined)"""@en ; diff --git a/rdfunit-validate/src/test/resources/org/aksw/rdfunit/validate/data/dsp/languageOccurrence_Correct.ttl b/rdfunit-validate/src/test/resources/org/aksw/rdfunit/validate/data/dsp/languageOccurrence_Correct.ttl index 144f35aa2..691375ee7 100644 --- a/rdfunit-validate/src/test/resources/org/aksw/rdfunit/validate/data/dsp/languageOccurrence_Correct.ttl +++ b/rdfunit-validate/src/test/resources/org/aksw/rdfunit/validate/data/dsp/languageOccurrence_Correct.ttl @@ -15,4 +15,4 @@ exdsp:correct2 exdsp:languageOccurrenceMandatoryPropSA "value"@en . exdsp:correct3 a exdsp:languageOccurrenceDisallowedClass ; exdsp:languageOccurrenceDisallowedProp "value" . -exdsp:correct4 exdsp:languageOccurrenceDisallowedPropSA "value"@en . \ No newline at end of file +exdsp:correct4 exdsp:languageOccurrenceDisallowedPropSA "value" . \ No newline at end of file diff --git a/rdfunit-validate/src/test/resources/org/aksw/rdfunit/validate/data/dsp/languageOccurrence_Wrong.ttl b/rdfunit-validate/src/test/resources/org/aksw/rdfunit/validate/data/dsp/languageOccurrence_Wrong.ttl index 635009264..b972b3f6a 100644 --- a/rdfunit-validate/src/test/resources/org/aksw/rdfunit/validate/data/dsp/languageOccurrence_Wrong.ttl +++ b/rdfunit-validate/src/test/resources/org/aksw/rdfunit/validate/data/dsp/languageOccurrence_Wrong.ttl @@ -6,13 +6,13 @@ @prefix owl: . # Sample correct data for testing - -exdsp:correct1 a exdsp:languageOccurrenceMandatoryClass ; - exdsp:languageOccurrenceMandatoryProp "value" . # 1 error +# TODO check lang with domain +#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:correct3 a exdsp:languageOccurrenceDisallowedClass ; +# exdsp:languageOccurrenceDisallowedProp "value"@it . # 1 error -exdsp:correct4 exdsp:languageOccurrenceDisallowedPropSA "value" . # 1 error \ No newline at end of file +exdsp:correct4 exdsp:languageOccurrenceDisallowedPropSA "value"@it . # 1 error \ No newline at end of file