File: n3-writer-test-02.n3

package info (click to toggle)
rdflib 6.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 38,248 kB
  • sloc: python: 39,216; sh: 153; makefile: 110
file content (13 lines) | stat: -rw-r--r-- 344 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
@prefix a: <http://foo/a#> .
@prefix : <#> .

:test :comment "String tests".

a:b a:p01 "123".
a:b a:p02 "123-\"-\'-quote".
a:b a:p03 '123-\"-\'-quote'.

a:b a:p10 """Triple double-quoted string with single quotes (" ') and newline
in it""".
a:b a:p11 '''Triple single-quoted string with single quotes (" ') and newline 
in it'''.