Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
simplify test by merging files
Browse files Browse the repository at this point in the history
Signed-off-by: Håvard Ottestad <hmottestad@gmail.com>
  • Loading branch information
hmottestad committed Mar 25, 2019
1 parent 9aa5137 commit 728915d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 17 deletions.

This file was deleted.

This file was deleted.

17 changes: 15 additions & 2 deletions shacl/src/test/resources/w3c/core/property/uniqueLang-002.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,24 @@
<uniqueLang-002>
) .

ex:i ex:message "HI"@en, "Hi"@en .

ex:s1 a sh:PropertyShape ;
sh:targetNode ex:i ;
sh:path ex:message ;
sh:minCount 0 ;
sh:uniqueLang "1"^^xsd:boolean .

# Note that the value above is "1"^^xsd:boolean, which is distinct from "true"^^xsd:boolean.
# Only true is mentioned in the spec, meaning that "1" will not activate the constraint
# and the constraint is being ignored.


<uniqueLang-002> a sht:Validate ;
rdfs:label "Test uniqueLang with other boolean literal for true" ;
mf:action [
sht:dataGraph <uniqueLang-002-data.ttl> ;
sht:shapesGraph <uniqueLang-002-shapes.ttl> ] ;
sht:dataGraph <> ;
sht:shapesGraph <> ] ;
mf:result [ a sh:ValidationReport ;
sh:conforms "true"^^xsd:boolean ] ;
mf:status sht:approved .

0 comments on commit 728915d

Please sign in to comment.