forked from AKSW/files.ontowiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
doap.n3
61 lines (55 loc) · 1.88 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
59
60
@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/files/> .
# id, label and description
<> foaf:primaryTopic :this .
:this a doap:Project ;
owconfig:enabled "true"^^xsd:boolean ;
doap:description "manage file uploads." ;
rdfs:label "File Resource Manager" ;
doap:name "files" .
# general properties
:this owconfig:privateNamespace <http://ns.ontowiki.net/Extensions/files/> ;
owconfig:templates "templates" ;
owconfig:languages "languages/" ;
owconfig:defaultAction "display" ;
owconfig:authorLabel "AKSW" ;
owconfig:pluginEvent event:onFilesExtensionUploadFile ;
doap:maintainer <http://aksw.org> .
# config
:this :path "uploads" ;
owconfig:config [
a owconfig:Config;
owconfig:id "mime";
:property <http://localhost/OntoWiki/Config/hasMimeType>
];
owconfig:config [
a owconfig:Config;
owconfig:id "enableForTypes";
owconfig:config [
a owconfig:Config;
owconfig:id "Document";
:classUri <http://xmlns.com/foaf/0.1/Document> ;
]
];
:useModuleWithoutTypeCheck "1" ;
:class <http://localhost/OntoWiki/Config/File> ;
:model <http://localhost/OntoWiki/Config/toModel> ;
:DMS_NS <http://ns.aksw.org/DMS/> ;
:import_DMS "1" .
# module
:this owconfig:hasModule :Attachment .
:Attachment a owconfig:Module ;
rdfs:label "Attachment" ;
owconfig:priority "10" ;
owconfig:context "main.window.properties" ;
owconfig:context "extension.files.attachment" .
# release
:this doap:release :v1-0 .
:v1-0 a doap:Version ;
doap:revision "1.0" .