File: rdf_library.ttl

package info (click to toggle)
swi-prolog 9.0.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 82,408 kB
  • sloc: ansic: 387,503; perl: 359,326; cpp: 6,613; lisp: 6,247; java: 5,540; sh: 3,147; javascript: 2,668; python: 1,900; ruby: 1,594; yacc: 845; makefile: 428; xml: 317; sed: 12; sql: 6
file content (90 lines) | stat: -rw-r--r-- 2,344 bytes parent folder | download | duplicates (7)
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
@prefix void: <http://rdfs.org/ns/void#> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix	 lib: <http://www.swi-prolog.org/rdf/library/> .
@prefix  owl: <http://www.w3.org/2002/07/owl#> .
@prefix  rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

#	Class lib:Ontology

lib:Ontology
	a owl:Class ;
	rdfs:comment "Ontology in library" ;
	rdfs:subClassOf void:DataSet ;
	rdfs:subClassOf owl:Ontology .
lib:Schema
	a owl:Class ;
	rdfs:comment "Collection of classes and properties" ;
	rdfs:subClassOf lib:Ontology .
lib:Instances
	a owl:Class ;
	rdfs:comment "Collection of instances" ;
	rdfs:subClassOf lib:Ontology .
lib:Virtual
	a owl:Class ;
	rdfs:comment "Entry itself is not loadable" .

lib:schema
	a owl:OntologyProperty ;
	rdfs:subPropertyOf owl:imports ;
	rdfs:domain lib:Ontology ;
	rdfs:range lib:Schema ;
	rdfs:comment "URL for file holding schemas" .

lib:instances
	a owl:OntologyProperty ;
	rdfs:subPropertyOf owl:imports ;
	rdfs:domain lib:Ontology ;
	rdfs:range lib:Instances ;
	rdfs:comment "URL for file holding instances" .

lib:baseURI
	a owl:OntologyProperty ;
	rdfs:domain lib:Ontology ;
	rdfs:comment "URI based as initial Base URI" .

lib:blankNodes
	a owl:OntologyProperty ;
	rdfs:domain lib:Ontology ;
	rdfs:range rdfs:Literal ;
	rdfs:comment """How to handle identical blank notes.
		        One of 'share' or 'noshare'""" .

lib:source
	a owl:OntologyProperty ;
	rdfs:domain lib:Ontology ;
	rdfs:comment "URL from which we claim to have loaded the data" .

lib:format
	a owl:OntologyProperty ;
	rdfs:domain lib:Ontology ;
	rdfs:comment "Data format (e.g., 'turtle') to overrule content-type" .

# Deprecated

lib:providesNamespace
	a owl:OntologyProperty ;
	rdfs:domain lib:Ontology ;
	rdfs:range lib:Namespace .

lib:usesNamespace
	a owl:OntologyProperty ;
	rdfs:domain lib:Ontology ;
	rdfs:range lib:Namespace .

#	Class lib:Namespace

lib:Namespace
	a owl:Class ;
	rdfs:subClassOf rdfs:Resource .
lib:mnemonic
	a rdfs:Property ;
	rdfs:subPropertyOf vann:preferredNamespacePrefix ;
	rdfs:domain lib:Namespace ;
	rdfs:range rdf:Literal .
lib:namespace
	a rdfs:Property ;
	rdfs:subPropertyOf vann:preferredNamespaceUri ;
	rdfs:domain lib:Namespace ;
	rdfs:comment """lib:namespace is a resource; vann:preferredNamespaceUri
		        is a literal""" .