-
Notifications
You must be signed in to change notification settings - Fork 0
/
doap.n3
59 lines (53 loc) · 1.82 KB
/
doap.n3
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
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owconfig: <http://ns.ontowiki.net/SysOnt/ExtensionConfig/> .
@prefix extension: <http://ns.ontowiki.net/Extensions/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix event: <http://ns.ontowiki.net/SysOnt/Events/> .
@prefix : <http://ns.ontowiki.net/Extensions/linkandcreate/> .
# id, label and description
<> foaf:primaryTopic :this .
:this a doap:Project ;
owconfig:enabled "true"^^xsd:boolean ;
doap:description "On resource view you can create a new resource and link to it in one step" ;
rdfs:label "Link and Create";
doap:name "linkandcreate" .
# general properties
:this owconfig:privateNamespace <http://ns.ontowiki.net/Extensions/linkandcreate/> ;
owconfig:templates "templates" ;
owconfig:languages "languages/" ;
owconfig:authorLabel "UB Leipzig" ;
owconfig:pluginEvent event:onResourceShowRanges .
# config
:this :path "uploads" ;
owconfig:config [
a owconfig:Config;
owconfig:id "hideProperties";
owconfig:config [
a owconfig:Config;
owconfig:id "Example Property";
:propertyUri <http://example.com/property> ;
]
];
:useModuleWithoutTypeCheck "1" ;
owconfig:config [
a owconfig:Config;
owconfig:id "enableForTypes";
owconfig:config [
a owconfig:Config;
owconfig:id "Example Class";
:classUri <http://example.com/class> ;
]
].
# module
:this owconfig:hasModule :Create .
:Create a owconfig:Module ;
rdfs:label "Link and Create" ;
owconfig:priority "10" ;
owconfig:context "main.window.properties" ;
owconfig:context "extension.files.linkandcreate" .
# release
:this doap:release :v1-0 .
:v1-0 a doap:Version ;
doap:revision "1.0" .