forked from easyrdf/easyrdf
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into issue/58-bugfix-turtle-bool-parser
- Loading branch information
Showing
8 changed files
with
72 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# paths are not in turtle | ||
@prefix : <http://example.org/stuff/1.0/> . | ||
:a.:b.:c . | ||
:a^:b^:c . |
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,9 @@ | ||
@prefix : <http://example.org/#> . | ||
|
||
# A dot can't be the first nor the last character of the "after the semicolon part of a prefixed name" but is allowed in the middle | ||
# See https://www.w3.org/TR/turtle/#grammar-production-PN_LOCAL | ||
# See https://github.com/sweetrdf/easyrdf/issues/51 | ||
# The triples below should not parse! | ||
:SubjectWithEndDot. :predicate :Object . | ||
:Subject :predicateWithEndDot. :Object . | ||
:Subject :predicate :ObjectWithEndDot. . |
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,2 @@ | ||
<http://example.org/#Subject.WithADot> <http://example.org/#predicate.withADot> <http://example.org/#Object.WithADot> . | ||
<http://example.org/#Subject.With.Dots> <http://example.org/#predicate.with.dots> <http://example.org/#Object.With.Dots> . |
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,7 @@ | ||
@prefix : <http://example.org/#> . | ||
|
||
# A dot can't be the first nor the last character of the "after the semicolon part of a prefixed name" but is allowed in the middle | ||
# See https://www.w3.org/TR/turtle/#grammar-production-PN_LOCAL | ||
# See https://github.com/sweetrdf/easyrdf/issues/51 | ||
:Subject.WithADot :predicate.withADot :Object.WithADot . | ||
:Subject.With.Dots :predicate.with.dots :Object.With.Dots . |
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,2 @@ | ||
<http://example.org/#a> <http://www.w3.org/2000/01/rdf-schema#label> "Test"@en . | ||
<http://example.org/#a> <http://www.w3.org/2000/01/rdf-schema#label> "Test"^^<http://www.w3.org/2001/XMLSchema#string> . |
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,9 @@ | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix xs: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix : <http://example.org/#> . | ||
|
||
# Allow whitespace between literal and language tag | ||
:a rdfs:label "Test" @en . | ||
|
||
# Allow whitespace between literal and datatype IRI | ||
:a rdfs:label "Test" ^^xs:string . |
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