summaryrefslogtreecommitdiff
path: root/ndo/ndo.trig
blob: cdffa5a5efd9093f510078d91d72125fde39398d (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
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
#
# Copyright (c) 2010 Evgeny Egorochkin <phreedom.stdin@gmail.com>
# All rights reserved, licensed under either CC-BY or BSD.
#
# You are free:
#  * to Share - to copy, distribute and transmit the work
#  * to Remix - to adapt the work
# Under the following conditions:
#  * Attribution - You must attribute the work in the manner specified by the author
#    or licensor (but not in any way that suggests that they endorse you or your use 
#    of the work).
#
# Redistribution and use in source and binary forms, with or without modification, 
# are permitted provided that the following conditions are met:
#  * Redistributions of source code must retain the above copyright notice, this 
#    list of conditions and the following disclaimer.
#  * Redistributions in binary form must reproduce the above copyright notice, this 
#    list of conditions and the following disclaimer in the documentation and/or 
#    other materials provided with the distribution.
#  * Neither the names of the authors nor the names of contributors may
#    be used to endorse or promote products derived from this ontology without 
#    specific prior written permission.
#
# THIS ONTOLOGY IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS ONTOLOGY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ndo:     <http://www.semanticdesktop.org/ontologies/2010/04/30/ndo#> .
@prefix nrl:     <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
@prefix nuao:    <http://www.semanticdesktop.org/ontologies/2010/01/25/nuao#> .
@prefix nao:     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> .
@prefix nmo:     <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#> .
@prefix nco:     <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix nie:     <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
@prefix nfo:     <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo> .

<http://www.semanticdesktop.org/ontologies/2010/04/30/ndo> {

    ndo:P2PFile
        a rdfs:Class ;
        rdfs:subClassOf nfo:RemoteDataObject;
        rdfs:label "P2P file" ;
        rdfs:comment "A file available via a peer-to-peer network" .

    ndo:TorrentedFile
        a rdfs:Class ;
        rdfs:subClassOf ndo:P2PFile;
        rdfs:label "torrented file" ;
        rdfs:comment "A file available via a BitTorrent peer-to-peer network" .

    ndo:Torrent
        a rdfs:Class;
        rdfs:subClassOf nie:InformationElement;
        rdfs:label "torrent" ;
        rdfs:comment "A .torrent file which contains references(ndo:TorrentedFile) to files available via BitTorrent. The references are pointed to via nie:hasLogicalPart" .

    ndo:DownloadEvent
        a rdfs:Class ;
        rdfs:subClassOf nuao:DesktopEvent ;
        rdfs:label "download event" ;
        rdfs:comment "A single event (from the point of view of the user) of downloading of a file or a set of files. Use nuao:involvedInEvent to indicate the files involved. The event is assigned to downloaded copies of files. Can be assigned to multiple files." .

    ndo:copiedFrom
        a rdf:Property ;
        rdfs:label "copied from" ;
        rdfs:comment "Links a DataObject with its copy. This relation means that originally the Data Objects were copies but might have changed subsequentially." ;
        rdfs:domain nie:DataObject ;
        rdfs:range nie:DataObject .

    ndo:referrer
        a rdf:Property ;
        rdfs:label "referrer" ;
        rdfs:comment "Points to the Information Element that contained the link to the download source which was used in the download event." ;
        rdfs:domain ndo:DownloadEvent ;
        rdfs:range nie:InformationElement .
}

<http://www.semanticdesktop.org/ontologies/2010/04/30/ndo/metadata>
{
    <http://www.semanticdesktop.org/ontologies/2010/04/30/ndo>
          a       nrl:DocumentGraph , nrl:KnowledgeBase ;
          nao:hasDefaultNamespace "http://www.semanticdesktop.org/ontologies/2010/04/30/ndo#" ;
          nao:hasDefaultNamespaceAbbreviation "ndo" ;
          nao:lastModified "2010-04-30T09:38:49Z" ;
          nao:serializationLanguage "TriG" ;
          nao:status "Testing" ;
          nrl:updatable "0" ;
          nao:version "1" .

    <http://www.semanticdesktop.org/ontologies/2010/04/30/ndo/metadata>
          a       nrl:GraphMetadata , nrl:DocumentGraph ;
          nao:serializationLanguage "TriG" ;
          nrl:coreGraphMetadataFor <http://www.semanticdesktop.org/ontologies/2010/04/30/ndo> .
}