File: TurtleTestVocab.ttl

package info (click to toggle)
apache-jena 4.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 108,360 kB
  • sloc: java: 569,560; xml: 21,014; sh: 7,545; ruby: 1,097; javascript: 971; perl: 912; python: 24; makefile: 4
file content (54 lines) | stat: -rw-r--r-- 1,426 bytes parent folder | download | duplicates (2)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
## Vocabulary specific to Turtle tests
@prefix rdf:        <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:	    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dc:         <http://purl.org/dc/elements/1.1/> .

@prefix :           <http://jena.hpl.hp.com/2005/12/test-turtle#> .

<>  rdfs:comment     "Vocabulary for Turtle testing" ;
    dc:creator       "Andy Seaborne" ;
    dc:subject       "" ;
    dc:publisher     "Hewlett-Packard" ;
    dc:title         "Test case vocabulary for Turtle" ;
    dc:description   "Test case vocabulary for Turtle" ;
    dc:date          "2005-12" ;
    dc:format        "RDF" ;
    dc:identifier    : ;
    rdfs:seeAlso     <http://www.dajobe.org/2004/01/turtle/>
    .

## ----------------
## Test types

:Test           rdf:type    rdfs:Class .

# Parse the file.
:TestSyntax     rdf:type    rdfs:Class ;
    rdfs:subClassOf         :Test .

# Bad file.
:TestBadSyntax  rdf:type    rdfs:Class ;
    rdfs:subClassOf         :Test .

# Parse and check triples
:TestInOut      rdf:type    rdfs:Class ;
    rdfs:subClassOf         :Test .

## ----------------
## Properties


:input rdf:type rdf:Property ;
    rdfs:comment "Input to a test" ;
    rdfs:domain	 :Test ;
    .	

:output rdf:type rdf:Property ;
    rdfs:comment "Output of a test" ;
    rdfs:domain	 :Test ;
    .	


:inputIRI rdf:type rdf:Property ;
    rdfs:comment "Declare a IRI for the test input" ;
    .