summaryrefslogtreecommitdiff
path: root/tests/libtracker-fts/data.ontology
blob: 84bf4fcf402fc22cf9f9973b5d17ed9d3ac45c35 (plain)
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
@prefix fts: <http://tracker.api.gnome.org/ontology/v3/fts#> .
@prefix nrl: <http://tracker.api.gnome.org/ontology/v3/nrl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix test: <http://www.example.org/test#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

test: a nrl:Ontology ;
	nrl:lastModified "2018-09-30T13:00:00Z" .

fts: a nrl:Namespace ;
	nrl:prefix "fts" .

test: a nrl:Namespace ;
	nrl:prefix "test" .

test:A a rdfs:Class ;
	rdfs:subClassOf rdfs:Resource .

test:p a rdf:Property ;
	nrl:maxCardinality 1 ;
	rdfs:domain test:A ;
	rdfs:range xsd:string ;
	nrl:weight 20 ;
	nrl:fulltextIndexed true .

test:o a rdf:Property ;
	nrl:maxCardinality 1 ;
	rdfs:domain test:A ;
	rdfs:range xsd:string ;
	nrl:fulltextIndexed true .

test:q a rdf:Property ;
	rdfs:domain test:A ;
	rdfs:range xsd:string ;
	nrl:weight 2 ;
	nrl:fulltextIndexed true .