1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
@base <http://example.com/> . # test
@prefix ex: </> . # Prefix
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
BASE # Base
<http://example.org/test.ttl>
# Plain
# Plain 2
# Plain 3
<s> a ex:Foo ;
<p> <http://example.com/o\u00E9> , ex:\-v\-\_v\.\. , "foo\u00E9\t\n\r'\"\u0022" , 'bar\U000000E9\'"' , "bar"@en-US , "test"^^<http://example.com/dt> , ( +01 +1.0 1.0e0 ) . # Foo
# Comment
[ ex:p ex:o , ex:o2 ; ex:p2 ex:o3 ] rdf:type ex:o4 . # Bar
# Literal normalization
<s> <p> """ foo
bar"\n\tbaz\"\"\"
\"""" .
<s> <p> '''foo'"bar''' .
<s> <p> "true"^^xsd:boolean , "false"^^<http://www.w3.org/2001/XMLSchema#boolean> , "+12"^^xsd:integer , "1.1"^^xsd:decimal , "1.2e2"^^xsd:double .
|