├── .gitignore
├── .gitmodules
├── .project
├── AuthorizationExample.graphml
├── AuthorizationExample.png
├── AuthorizationExample2.png
├── AuthorizationExample4.png
├── Copy of DataID onion black & white.png
├── DataID onion.png
├── DataIDOnionMargin.png
├── DataIDcoreDCAT.png
├── DataIDcorePROV.png
├── DataIDonionSliced.png
├── DataId-Ontology.iml
├── DataId-Ontology.zip
├── DataIdOntology.graphml
├── DataIdOntology.pdf
├── DataIdOntology.png
├── DataIdRoles&Actions.pdf
├── DmsExample.graphml
├── DmsExample.png
├── README.md
├── catalog-v001.xml
├── databus
└── core.ttl
├── dataid-shapes.ttl
├── dataid.owl
├── dataid.ttl
├── dataidlogo.png
├── iana
├── ianaOntology.ttl
└── ianaOntology
│ ├── pom.xml
│ ├── src
│ ├── main
│ │ └── scala
│ │ │ └── Main.scala
│ └── test
│ │ ├── scala
│ │ └── mytests.scala
│ │ └── src
│ │ ├── alto-costmap+json.rdf
│ │ ├── multipleFiles.zip
│ │ └── singleFile.zip
│ └── target
│ ├── classes
│ ├── Main$$anon$1.class
│ ├── Main$$anonfun$readIanaXML$1.class
│ ├── Main$$anonfun$readSparOntology$1$$anonfun$apply$1$$anonfun$apply$2.class
│ ├── Main$$anonfun$readSparOntology$1$$anonfun$apply$1.class
│ ├── Main$$anonfun$readSparOntology$1.class
│ ├── Main$.class
│ └── Main.class
│ └── test-classes
│ ├── MyTests$$anonfun$1$$anonfun$apply$mcV$sp$1$$anonfun$apply$1.class
│ ├── MyTests$$anonfun$1$$anonfun$apply$mcV$sp$1.class
│ ├── MyTests$$anonfun$1.class
│ ├── MyTests$$anonfun$2$$anonfun$apply$mcV$sp$2.class
│ ├── MyTests$$anonfun$2$$anonfun$apply$mcV$sp$3.class
│ ├── MyTests$$anonfun$2$$anonfun$apply$mcV$sp$4$$anonfun$apply$2.class
│ ├── MyTests$$anonfun$2$$anonfun$apply$mcV$sp$4$$anonfun$apply$3.class
│ ├── MyTests$$anonfun$2$$anonfun$apply$mcV$sp$4.class
│ ├── MyTests$$anonfun$2.class
│ ├── MyTests$$anonfun$3$$anonfun$apply$mcV$sp$5$$anonfun$apply$4.class
│ ├── MyTests$$anonfun$3$$anonfun$apply$mcV$sp$5.class
│ ├── MyTests$$anonfun$3$$anonfun$apply$mcV$sp$6.class
│ ├── MyTests$$anonfun$3$$anonfun$apply$mcV$sp$7$$anonfun$apply$5.class
│ ├── MyTests$$anonfun$3$$anonfun$apply$mcV$sp$7.class
│ ├── MyTests$$anonfun$3.class
│ ├── MyTests$$anonfun$4.class
│ ├── MyTests$$anonfun$5.class
│ ├── MyTests$$anonfun$6.class
│ └── MyTests.class
├── imports
├── adms.ttl
├── catalog-v001.xml
├── ckan.json
├── currencies.ttl
├── datacite.ttl
├── dcat.ttl
├── dct.ttl
├── foaf.rdf
├── lexvo.ttl
├── metashare.owl
├── ms-rights.ttl
├── odrl.ttl
├── prov.ttl
├── rdfs.ttl
├── skos.rdf
├── void.rdf
└── void.ttl
├── ld
├── LinkedDataExtension.graphml
├── LinkedDataExtension.pdf
├── LinkedDataExtension.png
├── dataid-ld-shapes.ttl
└── dataid-ld.ttl
├── ns
├── .htaccess
├── core.html
├── core.owl
├── core.ttl
├── css
│ ├── custom.css
│ ├── extra.css
│ ├── owl.css
│ ├── primer.css
│ └── rec.css
├── deref.sh
├── dwbp.html
├── evaluateTable.html
├── images
│ ├── DataID onion.png
│ ├── DataIDcoreDCAT.png
│ ├── DataIDcorePROV.png
│ ├── DataIDonionSliced.png
│ ├── DataIdOntology.png
│ ├── Echo_curation_alt_check_mark.svg
│ ├── Orange_question_mark.svg
│ ├── access.svg
│ ├── ban-circle.svg
│ ├── comprehension.svg
│ ├── dataid.svg
│ ├── dataidIcon.png
│ ├── dataidlogo.png
│ ├── dbpedia.svg
│ ├── discoverability.svg
│ ├── interoperability.svg
│ ├── linkability.svg
│ ├── onionslice.svg
│ ├── processability.svg
│ ├── reuse.svg
│ └── trust.svg
└── js
│ ├── jquery.min.js
│ ├── jquery.scrollTo.min.js
│ └── marked.min.js
├── protege.test.ttl
├── ps
├── PreservationExtension.graphml
├── PreservationExtension.pdf
├── PreservationExtension.png
└── dataid-ps.ttl
└── r3d
└── r3dOntology.graphml
/.gitignore:
--------------------------------------------------------------------------------
1 | #################
2 | ## Eclipse
3 | #################
4 |
5 | *.pydevproject
6 | .project
7 | .metadata
8 | bin/
9 | tmp/
10 | *.tmp
11 | *.bak
12 | *.swp
13 | *~.nib
14 | local.properties
15 | .classpath
16 | .settings/
17 | .loadpath
18 |
19 | # External tool builders
20 | .externalToolBuilders/
21 |
22 | # Locally stored "Eclipse launch configurations"
23 | *.launch
24 |
25 | # CDT-specific
26 | .cproject
27 |
28 | # PDT-specific
29 | .buildpath
30 |
31 |
32 | #################
33 | ## Visual Studio
34 | #################
35 |
36 | ## Ignore Visual Studio temporary files, build results, and
37 | ## files generated by popular Visual Studio add-ons.
38 |
39 | # User-specific files
40 | *.suo
41 | *.user
42 | *.sln.docstates
43 |
44 | # Build results
45 |
46 | [Dd]ebug/
47 | [Rr]elease/
48 | x64/
49 | build/
50 | [Bb]in/
51 | [Oo]bj/
52 |
53 | # MSTest test Results
54 | [Tt]est[Rr]esult*/
55 | [Bb]uild[Ll]og.*
56 |
57 | *_i.c
58 | *_p.c
59 | *.ilk
60 | *.meta
61 | *.obj
62 | *.pch
63 | *.pdb
64 | *.pgc
65 | *.pgd
66 | *.rsp
67 | *.sbr
68 | *.tlb
69 | *.tli
70 | *.tlh
71 | *.tmp
72 | *.tmp_proj
73 | *.log
74 | *.vspscc
75 | *.vssscc
76 | .builds
77 | *.pidb
78 | *.log
79 | *.scc
80 |
81 | # Visual C++ cache files
82 | ipch/
83 | *.aps
84 | *.ncb
85 | *.opensdf
86 | *.sdf
87 | *.cachefile
88 |
89 | # Visual Studio profiler
90 | *.psess
91 | *.vsp
92 | *.vspx
93 |
94 | # Guidance Automation Toolkit
95 | *.gpState
96 |
97 | # ReSharper is a .NET coding add-in
98 | _ReSharper*/
99 | *.[Rr]e[Ss]harper
100 |
101 | # TeamCity is a build add-in
102 | _TeamCity*
103 |
104 | # DotCover is a Code Coverage Tool
105 | *.dotCover
106 |
107 | # NCrunch
108 | *.ncrunch*
109 | .*crunch*.local.xml
110 |
111 | # Installshield output folder
112 | [Ee]xpress/
113 |
114 | # DocProject is a documentation generator add-in
115 | DocProject/buildhelp/
116 | DocProject/Help/*.HxT
117 | DocProject/Help/*.HxC
118 | DocProject/Help/*.hhc
119 | DocProject/Help/*.hhk
120 | DocProject/Help/*.hhp
121 | DocProject/Help/Html2
122 | DocProject/Help/html
123 |
124 | # Click-Once directory
125 | publish/
126 |
127 | # Publish Web Output
128 | *.Publish.xml
129 | *.pubxml
130 | *.publishproj
131 |
132 | # NuGet Packages Directory
133 | ## TODO: If you have NuGet Package Restore enabled, uncomment the next line
134 | #packages/
135 |
136 | # Windows Azure Build Output
137 | csx
138 | *.build.csdef
139 |
140 | # Windows Store app package directory
141 | AppPackages/
142 |
143 | # Others
144 | sql/
145 | *.Cache
146 | ClientBin/
147 | [Ss]tyle[Cc]op.*
148 | ~$*
149 | *~
150 | *.dbmdl
151 | *.[Pp]ublish.xml
152 | *.pfx
153 | *.publishsettings
154 |
155 | # RIA/Silverlight projects
156 | Generated_Code/
157 |
158 | # Backup & report files from converting an old project file to a newer
159 | # Visual Studio version. Backup files are not needed, because we have git ;-)
160 | _UpgradeReport_Files/
161 | Backup*/
162 | UpgradeLog*.XML
163 | UpgradeLog*.htm
164 |
165 | # SQL Server files
166 | App_Data/*.mdf
167 | App_Data/*.ldf
168 |
169 | #############
170 | ## Windows detritus
171 | #############
172 |
173 | # Windows image file caches
174 | Thumbs.db
175 | ehthumbs.db
176 |
177 | # Folder config file
178 | Desktop.ini
179 |
180 | # Recycle Bin used on file shares
181 | $RECYCLE.BIN/
182 |
183 | # Mac crap
184 | .DS_Store
185 |
186 |
187 | #############
188 | ## Python
189 | #############
190 |
191 | *.py[cod]
192 |
193 | # Packages
194 | *.egg
195 | *.egg-info
196 | dist/
197 | build/
198 | eggs/
199 | parts/
200 | var/
201 | sdist/
202 | develop-eggs/
203 | .installed.cfg
204 |
205 | # Installer logs
206 | pip-log.txt
207 |
208 | # Unit test / coverage reports
209 | .coverage
210 | .tox
211 |
212 | #Translations
213 | *.mo
214 |
215 | #Mr Developer
216 | .mr.developer.cfg
217 |
218 |
219 | ################
220 | ### Intellij ###
221 | ################
222 |
223 | # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm
224 |
225 | *.iml
226 |
227 | ## Directory-based project format:
228 | .idea/
--------------------------------------------------------------------------------
/.gitmodules:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/.gitmodules
--------------------------------------------------------------------------------
/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | DataId-Ontology
4 |
5 |
6 | xturtle.core
7 | xturtle.dc
8 | xturtle.doap
9 | xturtle.foaf
10 | xturtle.lvont
11 | xturtle.odrl
12 | xturtle.prov
13 | xturtle.services
14 | xturtle.voidvann
15 |
16 |
17 |
18 | org.eclipse.xtext.ui.shared.xtextBuilder
19 |
20 |
21 |
22 |
23 |
24 | org.eclipse.xtext.ui.shared.xtextNature
25 |
26 |
27 |
28 | 1453724623203
29 |
30 | 6
31 |
32 | org.eclipse.ui.ide.multiFilter
33 | 1.0-name-matches-false-false-.all
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/AuthorizationExample.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/AuthorizationExample.png
--------------------------------------------------------------------------------
/AuthorizationExample2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/AuthorizationExample2.png
--------------------------------------------------------------------------------
/AuthorizationExample4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/AuthorizationExample4.png
--------------------------------------------------------------------------------
/Copy of DataID onion black & white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/Copy of DataID onion black & white.png
--------------------------------------------------------------------------------
/DataID onion.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/DataID onion.png
--------------------------------------------------------------------------------
/DataIDOnionMargin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/DataIDOnionMargin.png
--------------------------------------------------------------------------------
/DataIDcoreDCAT.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/DataIDcoreDCAT.png
--------------------------------------------------------------------------------
/DataIDcorePROV.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/DataIDcorePROV.png
--------------------------------------------------------------------------------
/DataIDonionSliced.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/DataIDonionSliced.png
--------------------------------------------------------------------------------
/DataId-Ontology.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/DataId-Ontology.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/DataId-Ontology.zip
--------------------------------------------------------------------------------
/DataIdOntology.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/DataIdOntology.pdf
--------------------------------------------------------------------------------
/DataIdOntology.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/DataIdOntology.png
--------------------------------------------------------------------------------
/DataIdRoles&Actions.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/DataIdRoles&Actions.pdf
--------------------------------------------------------------------------------
/DmsExample.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/DmsExample.png
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # DataId-Ontology
2 | The DBpedia DataID core vocabulary is a meta-data system for detailed descriptions of datasets and their different manifestations. Established vocabularies like DCAT, VoID, Prov-O and FOAF are reused for maximum compatibility to establish a uniform and accepted way to describe and deliver dataset metadata for arbitrary datasets and to put existing standards into practice. In addition DataID can describe the relations of Agents (like persons or organizations) to datasets in regard to their rights and responsibilities.
3 |
4 | Due to the growing complexity and different usage purposes we modularised the DataID ontology in a core and multiple mid-layer ontologies. While the core ontology is mandatory to import for any of the mid-level ontologies presented, non of those are required for describing data. That said, in many use cases some or all of the mid-level ontologies will be a useful extension.
5 |
6 | **The DataID onion:**
7 | 
8 |
9 | The respective mid-level ontologies can be found in the folders ld (Linked Data), pv (Provenance), st (Statistics) and ps (Preservation), providing dedicated properties fitting the respective domain of interest. Further extending these ontologies can by necessary for the special purposes in some use cases.
10 | (01.02.2016: all mid level ontologies are still in a draft stage, while DataID core is considered stable)
11 |
12 | Visit the DataID [landing page](http://wiki.dbpedia.org/projects/dbpedia-dataid) for more about DataID, the ontology and the service stack.
13 |
14 | **DataID core:**
15 | The DataID core vocabulary describes datasets (based heavily on the DCAT ontology), as well as their relation to agents like persons or organizations in regard to their rights and responsibilities.
16 | 
17 |
--------------------------------------------------------------------------------
/catalog-v001.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/databus/core.ttl:
--------------------------------------------------------------------------------
1 | @prefix rdf: .
2 | @prefix rdfs: .
3 | @prefix owl: .
4 | @prefix xsd: .
5 | @prefix dcterms: .
6 | @prefix dc: .
7 | @prefix databus: .
8 | @prefix dataid: .
9 | @prefix dcat: .
10 | @prefix prov: .
11 | @prefix foaf: .
12 | @prefix sh: .
13 |
14 |
15 | a owl:Ontology ;
16 | dc:contributor "Jan Forberg", "Sebastian Hellmann", "Milan Dojchinovski" ;
17 | dc:creator "Milan Dojchinovski" ;
18 | dc:description """
19 | The Databus Ontology provides a model for version-centric data management and enables efficient organization and retrieval of datasets. The Databus Ontology supports version tracking, retrieval of different dataset versions, and efficient organization of data artifacts. It allows for seamless collaboration and consumption of data, and facilitates the management and categorization of datasets.
20 | The Databus Ontology is aligned and meant to be used in combination with the DataID ontology, DCAT, Prov-O and Dublin Core.
21 |
22 | * Databus Model Overview *
23 | The Group class allows users to organize and categorize data by grouping related artifacts, facilitating collaboration and data consumption across projects. The Artifact class represents a logical dataset and maintains a stable reference across different versions and variants of the dataset. The Version class represents a specific version of an artifact and is associated with one or more distributions (parts). The Part class represents a dataset distribution that contributes to a version by adding information. The Collection class enables users to create data catalogs and organize related datasets.
24 |
25 | * Feedback *
26 | If you'd like to leave feedback, please open an issue on GitHub (https://github.com/dbpedia/databus/issues)."""@en ;
27 | dc:publisher "DBpedia Association, The Institute for Applied Informatics (InfAI)"@en ;
28 | dc:rights "This ontology is licensed under Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) and CC-BY (http://creativecommons.org/licenses/by/3.0/)"@en ;
29 | dcterms:license , ;
30 | dcterms:title "Databus Ontology"@en ;
31 | ;
32 | "databus" ;
33 | "https://dataid.dbpedia.org/databus#" ;
34 | rdfs:label "Databus Ontology"@en ;
35 | owl:versionInfo "See Archivo: https://archivo.dbpedia.org/info?o=https%3A//dataid.dbpedia.org/databus%23"@en ;
36 | sh:shapesGraph , , , .
37 |
38 | # Petra's comments:
39 | # However, there are a few points where there might be room for improvement or at least warrant further discussion:
40 | # 1. **Multilinguality:** All the labels and comments are in English. Adding translations in other languages, if possible, could make the ontology more accessible to non-English speakers.
41 | # DONE 2. **Deprecated Property:** The 'databus:version' property is commented out, marking it as deprecated. It would be helpful to also include a reason for this deprecation to provide a full context to the users.
42 | # 3. **Use of complex data types:** The 'databus:collectionContent' property has a comment indicating that its content is in JSON format. It's unusual to embed a complex format like JSON within a RDF triple as it could potentially make queries more complex and difficult to handle.
43 | # 4. **Specific domains and ranges:** While it can be good to have specific domains and ranges for some properties, it might also be restricting in some cases. For example, 'databus:file' has the domain as 'databus:Part', which means it can't be used with instances of any other class.
44 | # 5. **Dependencies:** The ontology depends on some other ontologies such as dataid. For this ontology to work, the other ontologies need to be accessible and available. Any changes in those ontologies could potentially affect this ontology.
45 | # 6. **Lack of examples:** It would be beneficial to provide some practical examples of how the classes and properties can be used. This can make it easier for users to understand and use the ontology correctly.
46 | # 7. **Naming conventions:** While most of the names are clear, there are some (like 'DatabusTractateV1') that might not be immediately clear to users. More descriptive or standard naming could be beneficial.
47 | # In general, this ontology seems to be well-structured, follows good ontology design practices, and is likely to meet its intended purpose of providing a model for version-centric data management.
48 |
49 |
50 | ##############################
51 | # Base Classes
52 | ##############################
53 |
54 |
55 | databus:Group a owl:Class ;
56 | rdfs:label "Databus Group"@en ;
57 | rdfs:comment """The Databus Group concept enables users to efficiently organize and categorize their data by grouping them into sets of related artifacts. These groups help establish a logical structure for organizing data artifacts within a project or organization. By assigning group identifiers, conflicts in naming can be avoided, ensuring seamless collaboration and consumption of data across multiple projects or organizations."""@en ;
58 | rdfs:subClassOf prov:Entity ;
59 | rdfs:isDefinedBy .
60 |
61 | databus:Artifact a owl:Class ;
62 | rdfs:label "Databus Artifact"@en ;
63 | rdfs:comment """A Databus Artifact represents a logical dataset, that holds the versions of the same dataset. Lika a channel, users can subscribe to an artifact to retrieve the latest versions. Each artifact is an abstract identity, meaning it maintains a stable reference across different versions and variants of the dataset. The abstract identity facilitates tracking and retrieval of various versions of the dataset. Databus Artifacts are akin to the role that artifacts play in Maven, but, instead of software libraries, it encompasses datasets."""@en ;
64 | rdfs:subClassOf prov:Entity ;
65 | rdfs:isDefinedBy .
66 |
67 | databus:Version a owl:Class ;
68 | rdfs:label "Version"@en ;
69 | rdfs:comment """The Version concept represents a specific version of an artifact (a snapshot of the dataset) within the DBpedia Databus platform. It represents a dataset version that is associated with a particular artifact. Each Version is linked to one or more distributions, per default represented by the Part class (see databus:Part definition).
70 | The Version-centric model implemented by the Databus ontology allows for tracking and retrieval of different versions and variants of datasets. It ensures that each version of an artifact maintains a stable reference across variations and updates."""@en ;
71 | rdfs:subClassOf dcat:Dataset , dataid:Dataset ;
72 | rdfs:isDefinedBy .
73 |
74 | databus:Part a owl:Class ;
75 | rdfs:label "Part"@en ;
76 | rdfs:comment """A Part represents a dataset distribution. Each Part corresponds to a specific file and contributes to a dataset (Version) as a whole. All parts together constitute the particular version (even if it is just one Part). """@en ;
77 | rdfs:subClassOf dcat:Distribution , dataid:Distribution ;
78 | rdfs:isDefinedBy .
79 |
80 | databus:Collection a owl:Class ;
81 | rdfs:label "Collection"@en ;
82 | rdfs:comment """Collections are user-created data catalogues. It enables users to organize related datasets together, providing a logical structure for accessing data artifacts within a project or organization. By using collections, users can efficiently categorize and manage datasets based on their relevance, thematic similarity, or any other criteria. Each collection is a SPARQL query, that retrieves all versions/files of the collections."""@en ;
83 | rdfs:subClassOf prov:Entity ;
84 | rdfs:isDefinedBy .
85 |
86 | databus:DatabusTractateV1 a owl:Class ;
87 | rdfs:label "DatabusTractateV1"@en ;
88 | rdfs:comment "Defines the proof method for the dataset."@en ;
89 | rdfs:subClassOf prov:Entity ;
90 | rdfs:isDefinedBy .
91 |
92 | databus:Databus a owl:Class ;
93 | rdfs:label "Databus"@en ;
94 | rdfs:comment "Defines an instance of a Databus platform."@en ;
95 | rdfs:subClassOf prov:Entity ;
96 | rdfs:isDefinedBy .
97 |
98 |
99 | ##############################
100 | # Base Properties
101 | ##############################
102 |
103 |
104 | databus:compression rdf:type owl:DatatypeProperty ;
105 | rdfs:label "compression"@en ;
106 | rdfs:comment "Specifies the compression algorithm used for the file, or none, if uncompressed."@en ;
107 | rdfs:domain dcat:Distribution , databus:Part ;
108 | rdfs:range xsd:string ;
109 | rdfs:isDefinedBy .
110 |
111 | databus:contentVariant
112 | a owl:DatatypeProperty ;
113 | rdfs:label "Content Variant"@en ;
114 | rdfs:comment "Specifies the variant of the Part."@en ;
115 | rdfs:domain databus:Part ;
116 | rdfs:range xsd:string ;
117 | rdfs:isDefinedBy .
118 |
119 | databus:file a owl:ObjectProperty ;
120 | rdfs:label "file"@en ;
121 | rdfs:comment "The file associated with a Part (i.e. distribution)."@en ;
122 | rdfs:domain databus:Part ;
123 | rdfs:isDefinedBy .
124 |
125 | databus:formatExtension a owl:DatatypeProperty ;
126 | rdfs:label "Format Extension"@en ;
127 | rdfs:comment "The file format extension of a data file."@en ;
128 | rdfs:domain databus:Part ;
129 | rdfs:range xsd:String ;
130 | rdfs:isDefinedBy .
131 |
132 | databus:sha256sum a owl:DatatypeProperty ;
133 | rdfs:label "SHA256 Sum"@en ;
134 | rdfs:comment "The SHA256 hash sum of a file content."@en ;
135 | rdfs:domain databus:Part ;
136 | rdfs:range xsd:string ;
137 | rdfs:isDefinedBy .
138 |
139 | databus:account a owl:ObjectProperty ;
140 | rdfs:label "Account"@en ;
141 | rdfs:comment "Relates a Version of an Artifact to an account on the Databus platform."@en ;
142 | rdfs:range foaf:OnlineAccount ;
143 | rdfs:domain dataid:Dataset ;
144 | rdfs:isDefinedBy .
145 |
146 | databus:artifact a rdf:ObjectProperty ;
147 | rdfs:label "artifact"@en ;
148 | rdfs:comment "Specifies an artifact associated with a dataset version."@en ;
149 | rdfs:domain databus:Version ;
150 | rdfs:range databus:Artifact ;
151 | rdfs:isDefinedBy .
152 |
153 | databus:group rdf:type owl:ObjectProperty ;
154 | rdfs:label "group"@en ;
155 | rdfs:comment "Relates a version with a specific group."@en ;
156 | rdfs:domain databus:Version ;
157 | rdfs:range databus:Group ;
158 | rdfs:isDefinedBy .
159 |
160 | # removed, it's a remnant from Databus 1.0
161 | # main reason was that it links a version to itself: databus:version .
162 | # It was originally introduced for completeness, so that all version had account/group/artifact/version properties.
163 | # databus:version rdf:type owl:ObjectProperty ;
164 | #rdfs:label "version"@en ;
165 | #rdfs:comment "Indicates the version of the resource."@en ;
166 | #rdfs:domain dataid:Dataset ;
167 | #rdfs:range databus:Version ;
168 | #rdfs:isDefinedBy .
169 |
170 | databus:collectionContent a owl:DatatypeProperty ;
171 | rdfs:label "content"@en ;
172 | rdfs:comment "The content of a Databus Collection in JSON format. Note that JSON-LD was considered and declined in the code."@en ;
173 | rdfs:domain databus:Collection ;
174 | rdfs:isDefinedBy .
175 |
176 | databus:attribution a owl:DatatypeProperty ;
177 | rdfs:label "attribution"@en ;
178 | rdfs:comment "Attribution for a specific Version."@en ;
179 | rdfs:domain databus:Version ;
180 | rdfs:range xsd:string ;
181 | rdfs:isDefinedBy .
182 |
--------------------------------------------------------------------------------
/dataid-shapes.ttl:
--------------------------------------------------------------------------------
1 | @prefix rdf: .
2 | @prefix dataid: .
3 | @prefix dcat: .
4 | @prefix dct: .
5 | @prefix odrl: .
6 | @prefix owl: .
7 | @prefix prov: .
8 | @prefix rdfs: .
9 | @prefix wsdl: .
10 | @prefix void: .
11 | @prefix xml: .
12 | @prefix xsd: .
13 | @prefix foaf: .
14 | @prefix lvont: .
15 | @prefix vann: .
16 | @prefix skos: .
17 | @prefix spdx: .
18 | @prefix datacite: .
19 | @prefix sh: .
20 | @prefix shapes: .
21 |
22 |
23 | ### This document is a shape definition for Classes of the DataID core ontology
24 | ### By using SHACL (Shapes Constraint Language - http://w3c.github.io/data-shapes/shacl)
25 | ### we can define a quasi closed world sub context for the definition of a valid DataIDs,
26 | ### while adhearing to the open world assumption of OWL in the definition of the Ontology.
27 | ###
28 | ### All DataIDs must reflect the constraint defined in this document to be considered as 'valid'.
29 | ### Additional shape definitions on top of the ones in this document will be introduced parallel
30 | ### to the mid-level ontologies on top of the DataID core.
31 |
32 | ### Class: dcat:Catalog
33 | shapes:Catalog a sh:Shape;
34 | sh:scopeClass dcat:Class ;
35 | sh:property [
36 | sh:predicate dcat:dataset ;
37 | sh:minCount 1 ;
38 | sh:class dataid:Dataset
39 | ] ;
40 | sh:property [
41 | sh:predicate dct:title ;
42 | sh:minCount 1 ;
43 | sh:datatype rdfs:Literal ;
44 | sh:severity sh:Warning ;
45 | sh:message "Please add a title to the caltalog."@en
46 | ] ;
47 | sh:property [
48 | sh:predicate dcat:record ;
49 | sh:minCount 1 ;
50 | sh:class dataid:DataId ;
51 | sh:message "Each ctalog has to have at least one record (a DataId)."@en
52 | ] ;
53 | sh:property [
54 | sh:predicate dct:isPartOf ;
55 | sh:maxCount 1 ;
56 | sh:class dcat:Catalog
57 | ] ;
58 | sh:property [
59 | sh:predicate dct:rights ;
60 | sh:maxCount 1 ;
61 | sh:class dataid:SimpleStatement
62 | ] ;
63 | sh:property [
64 | sh:predicate dct:license ;
65 | sh:maxCount 1 ;
66 | sh:class odrl:Policy
67 | ] ;
68 | sh:property [
69 | sh:predicate dct:license ;
70 | sh:severity sh:Warning ;
71 | sh:minCount 1 ;
72 | sh:message "The reference to a licence document is recommended for the dcat:Catalog class."@en
73 | ] ;
74 | sh:property [
75 | sh:predicate dct:issued ;
76 | sh:maxCount 1 ;
77 | sh:datatype xsd:datetime
78 | ] ;
79 | sh:property [
80 | sh:predicate dct:issued ;
81 | sh:severity sh:Warning ;
82 | sh:minCount 1 ;
83 | sh:message "Providing a release date (dc:issued) is recommended for the dcat:Catalog class."@en
84 | ] ;
85 | sh:property [
86 | sh:predicate dct:modified ;
87 | sh:maxCount 1 ;
88 | sh:datatype xsd:datetime
89 | ] ;
90 | sh:property [
91 | sh:predicate dct:modified ;
92 | sh:severity sh:Warning ;
93 | sh:minCount 1 ;
94 | sh:message "Providing a modification date (dc:modified) is recommended for the dcat:Catalog class."@en
95 | ] ;
96 | sh:property [
97 | sh:predicate dct:language ;
98 | sh:class lvont:Language
99 | ] ;
100 | sh:property [
101 | sh:predicate dct:language ;
102 | sh:severity sh:Warning ;
103 | sh:minCount 1 ;
104 | sh:message "The use of property dc:language is recommended for class dcat:Catalog."@en
105 | ] ;
106 | sh:property [
107 | sh:predicate dcat:themeTaxonomy ;
108 | sh:class skos:ConceptScheme
109 | ] ;
110 | sh:property [
111 | sh:predicate foaf:homepage ;
112 | sh:severity sh:Warning ;
113 | sh:minCount 1 ;
114 | sh:message "Providing a landing page (foaf:homepage) is recommended for class dcat:Catalog."@en
115 | ] .
116 |
117 | ### dataid:DataId
118 | shapes:DataId a sh:Shape;
119 | sh:scopeClass dataid:DataId ;
120 | sh:property [
121 | sh:predicate foaf:primaryTopic ;
122 | sh:class dataid:Dataset ;
123 | sh:minCount 1 ;
124 | sh:maxCount 1 ;
125 | sh:message "Every DataID has to point to exactly one Dataset (foaf:primaryTopic)."@en
126 | ] ;
127 | sh:property [
128 | sh:predicate dct:publisher ;
129 | sh:class dataid:Agent ;
130 | sh:minCount 1 ;
131 | sh:maxCount 1 ;
132 | sh:message "Every DataID has to have exactly one publisher."@en
133 | ] ;
134 | sh:property [
135 | sh:predicate dataid:associatedAgent ;
136 | sh:class dataid:Agent ;
137 | sh:minCount 1
138 | ] ;
139 | sh:property [
140 | sh:predicate dct:issued ;
141 | sh:datatype xsd:datetime ;
142 | sh:minCount 1 ;
143 | sh:maxCount 1 ;
144 | sh:message "Please provide exactly one release date (dc:issued) for every DataID."@en
145 | ] ;
146 | sh:property [
147 | sh:predicate dct:modified ;
148 | sh:datatype xsd:datetime ;
149 | sh:minCount 1 ;
150 | sh:maxCount 1 ;
151 | sh:message "Please provide exactly one modification date (dc:modified) for every DataID."@en
152 | ] ;
153 | sh:property [
154 | sh:predicate dct:title ;
155 | sh:minCount 1 ;
156 | sh:severity sh:Warning ;
157 | sh:message "Please provide a title for every DataID."@en
158 | ] ;
159 | sh:property [
160 | sh:predicate dataid:previousVersion ;
161 | sh:class dataid:DataId
162 | ] ;
163 | sh:property [
164 | sh:predicate dataid:previousVersion ;
165 | sh:minCount 1 ;
166 | sh:severity sh:Warning ;
167 | sh:message "Pointing to a previous version of a DataID is recommended."@en
168 | ] ;
169 | sh:property [
170 | sh:predicate dataid:latestVersion ;
171 | sh:maxCount 1 ;
172 | sh:class dataid:DataId
173 | ] ;
174 | sh:property [
175 | sh:predicate dataid:latestVersion ;
176 | sh:minCount 1 ;
177 | sh:severity sh:Warning ;
178 | sh:message "Pointing to the latest version of a DataID is recommended."@en
179 | ] ;
180 | sh:property [
181 | sh:predicate dataid:nextVersion ;
182 | sh:class dataid:DataId
183 | ] ;
184 | sh:property [
185 | sh:predicate dct:hasVersion ;
186 | sh:class dataid:SimpleStatement
187 | ] ;
188 | sh:property [
189 | sh:predicate dct:hasVersion ;
190 | sh:minCount 1 ;
191 | sh:severity sh:Warning ;
192 | sh:message "Providing a human readable version statement (dc:hasVersion) is recommended for every DataID."@en
193 | ] ;
194 | sh:property [
195 | sh:predicate dct:description ;
196 | sh:datatype rdfs:Literal
197 | ] ;
198 | sh:property [
199 | sh:predicate dct:description ;
200 | sh:minCount 1 ;
201 | sh:severity sh:Warning ;
202 | sh:message "Providing at least one description (dc:description) for a DataID is recommended."@en
203 | ] ;
204 | sh:property [
205 | sh:predicate dct:creator ;
206 | sh:class dataid:Agent ;
207 | sh:maxCount 1
208 | ] ;
209 | sh:property [
210 | sh:predicate dct:source ;
211 | sh:class dcat:CatalogRecord ;
212 | sh:maxCount 1
213 | ] ;
214 | sh:property [
215 | sh:predicate dct:language ;
216 | sh:class lvont:Language ;
217 | sh:message "Property dc:language has to reference an instance of type lvont:Language."@en
218 | ] ;
219 | sh:property [
220 | sh:predicate dataid:underAuthorization ;
221 | sh:minCount 1 ;
222 | ].
223 |
224 | ### dataid:Dataset
225 | shapes:Dataset a sh:Shape;
226 | sh:scopeClass dataid:Dataset ;
227 | sh:property [
228 | sh:predicate dct:title ;
229 | sh:datatype rdfs:Literal ;
230 | sh:minCount 1
231 | ] ;
232 | sh:property [
233 | sh:predicate dct:description ;
234 | sh:datatype rdfs:Literal ;
235 | sh:severity sh:Warning ;
236 | sh:message "Providing a description is highly recommended."@en ;
237 | sh:minCount 1
238 | ] ;
239 | sh:property [
240 | sh:predicate dcat:keyword ;
241 | sh:datatype rdfs:Literal ;
242 | sh:minCount 1
243 | ] ;
244 | sh:property [
245 | sh:predicate dct:publisher ;
246 | sh:minCount 1 ;
247 | sh:maxCount 1 ;
248 | sh:class dataid:Agent
249 | ] ;
250 | sh:property [
251 | sh:predicate dct:modified ;
252 | sh:minCount 1 ;
253 | sh:maxCount 1 ;
254 | sh:message "Please provide exactly one modification date (dc:modified) for every Dataset."@en ;
255 | sh:datatype xsd:dateTime
256 | ] ;
257 | sh:property [
258 | sh:predicate dct:issued ;
259 | sh:minCount 1 ;
260 | sh:maxCount 1 ;
261 | sh:message "Please provide exactly one release date (dc:issued) for every Dataset."@en ;
262 | sh:datatype xsd:dateTime
263 | ] ;
264 | sh:property [
265 | sh:predicate dct:license ;
266 | sh:minCount 1 ;
267 | sh:class odrl:Policy ;
268 | sh:message "please add a license description to the dataset"@en
269 | ] ;
270 | sh:property [
271 | sh:predicate dcat:landingPage ;
272 | sh:class foaf:Document
273 | ] ;
274 | sh:property [
275 | sh:predicate dcat:landingPage ;
276 | sh:minCount 1;
277 | sh:severity sh:Warning ;
278 | sh:message "linking to a home or landing page from a dataid:Dataset is recommended"@en
279 | ] ;
280 | sh:property [
281 | sh:predicate dataid:associatedAgent ;
282 | sh:minCount 1 ;
283 | sh:message "At least one dataid:associatedAgent is necessary for dataid:Datset, should include the dct:publisher"@en
284 | ] ;
285 | sh:property [
286 | sh:predicate dataid:previousVersion ;
287 | sh:class dataid:Dataset
288 | ] ;
289 | sh:property [
290 | sh:predicate dataid:previousVersion ;
291 | sh:minCount 1 ;
292 | sh:severity sh:Warning ;
293 | sh:message "Pointing to a previous version of a DataID is recommended."@en
294 | ] ;
295 | sh:property [
296 | sh:predicate dataid:latestVersion ;
297 | sh:maxCount 1 ;
298 | sh:class dataid:Dataset
299 | ] ;
300 | sh:property [
301 | sh:predicate dataid:latestVersion ;
302 | sh:minCount 1 ;
303 | sh:severity sh:Warning ;
304 | sh:message "Pointing to the latest version of a Dataset is recommended."@en
305 | ] ;
306 | sh:property [
307 | sh:predicate dataid:nextVersion ;
308 | sh:class dataid:Dataset
309 | ] ;
310 | sh:property [
311 | sh:predicate dct:hasVersion ;
312 | sh:class dataid:SimpleStatement
313 | ] ;
314 | sh:property [
315 | sh:predicate dct:hasVersion ;
316 | sh:minCount 1 ;
317 | sh:severity sh:Warning ;
318 | sh:message "Providing a human readable version statement (dc:hasVersion) is recommended."@en
319 | ] ;
320 | sh:property [
321 | sh:predicate dataid:similarData ;
322 | sh:class dcat:Dataset
323 | ] ;
324 | sh:property [
325 | sh:predicate dataid:similarData ;
326 | sh:minCount 1;
327 | sh:severity sh:Warning ;
328 | sh:message "Providing links to similar datasets (dataid:similarData) is encouraged if possible."@en
329 | ] ;
330 | sh:property [
331 | sh:predicate dcat:theme ;
332 | sh:class skos:Concept
333 | ] ;
334 | sh:property [
335 | sh:predicate dcat:theme ;
336 | sh:minCount 1;
337 | sh:severity sh:Warning ;
338 | sh:message "Providing a skos:Concept for dcat:theme is recommended for dataid:Dataset."@en
339 | ] ;
340 | sh:property [
341 | sh:predicate dct:rights ;
342 | sh:class dataid:SimpleStatement
343 | ] ;
344 | sh:property [
345 | sh:predicate dct:rights ;
346 | sh:minCount 1;
347 | sh:severity sh:Warning ;
348 | sh:message "Providing a human readable rights statement is recommended for dataid:Dataset."@en
349 | ] ;
350 | sh:property [
351 | sh:predicate dct:language ;
352 | sh:class lvont:Language
353 | ] ;
354 | sh:property [
355 | sh:predicate dct:language ;
356 | sh:severity sh:Warning ;
357 | sh:minCount 1
358 | ] ;
359 | sh:property [
360 | sh:predicate foaf:page ;
361 | sh:class foaf:Document
362 | ] ;
363 | sh:property [
364 | sh:predicate foaf:page ;
365 | sh:severity sh:Warning ;
366 | sh:minCount 1 ;
367 | sh:message "Property foaf:page, used to point to additional documentation on the web, is recommended for dataid:Dataset."@en
368 | ] ;
369 | sh:property [
370 | sh:predicate foaf:isPrimaryTopicOf ;
371 | sh:class dataid:DataId
372 | ] ;
373 | sh:property [
374 | sh:predicate dct:creator ;
375 | sh:maxCount 1 ;
376 | sh:class dataid:Agent
377 | ] ;
378 | sh:property [
379 | sh:predicate dct:conformsTo ;
380 | sh:class dataid:SimpleStatement
381 | ] ;
382 | sh:property [
383 | sh:predicate dct:provenance ;
384 | sh:class dataid:SimpleStatement
385 | ] ;
386 | sh:property [
387 | sh:predicate dct:accrualPeriodicity ;
388 | sh:maxCount 1
389 | ] ;
390 | sh:property [
391 | sh:predicate void:rootResource ;
392 | sh:maxCount 1
393 | ] ;
394 | sh:property [
395 | sh:predicate void:subset ;
396 | sh:class dataid:Dataset
397 | ] ;
398 | sh:property [
399 | sh:predicate dcat:distribution ;
400 | sh:class dataid:Distribution
401 | ] ;
402 | sh:constraint [
403 | sh:or (
404 | [
405 | sh:property [
406 | sh:predicate dcat:distribution ;
407 | sh:minCount 1
408 | ]
409 | ]
410 | [
411 | sh:property [
412 | sh:predicate void:subset ;
413 | sh:minCount 1
414 | ]
415 | ]
416 | )
417 | ] ;
418 | sh:property [
419 | sh:predicate dataid:underAuthorization ;
420 | sh:minCount 1
421 | ].
422 |
423 | ### dataid:Dataset additional checks for the existence of properties if we deal with a root dataset (directly linked datasets with foaf:primaryTopc)
424 | shapes:DatasetExtension a sh:Shape;
425 | sh:scopeClass dataid:Dataset ;
426 | sh:filterShape [
427 | sh:inverseProperty [
428 | sh:predicate foaf:primaryTopic ;
429 | sh:minCount 1
430 | ]
431 | ];
432 | sh:property [
433 | sh:predicate foaf:isPrimaryTopicOf ;
434 | sh:severity sh:Warning ;
435 | sh:minCount 1 ;
436 | sh:message "the use of foaf:isPrimaryTopicOf pointing to a DataID is recommended"@en
437 | ] ;
438 | sh:property [
439 | sh:predicate dcat:landingPage ;
440 | sh:minCount 1;
441 | sh:message "linking to a home or landing page from a root dataset is mandatory"@en
442 | ] ;.
443 |
444 |
445 | ### dataid:Distribution
446 | shapes:Distribution a sh:Shape;
447 | sh:scopeClass dataid:Distribution ;
448 | sh:constraint [
449 | sh:or (
450 | [
451 | sh:property [
452 | sh:predicate dcat:accessURL ;
453 | sh:minCount 1
454 | ]
455 | ]
456 | [
457 | sh:property [
458 | sh:predicate dcat:downloadURL ;
459 | sh:minCount 1
460 | ]
461 | ]
462 | )
463 | ] ;
464 | sh:property [
465 | sh:predicate dct:publisher ;
466 | sh:minCount 1 ;
467 | sh:maxCount 1 ;
468 | sh:class dataid:Agent
469 | ] ;
470 | sh:property [
471 | sh:predicate dct:title ;
472 | sh:datatype rdfs:Literal
473 | ] ;
474 | sh:property [
475 | sh:predicate dct:license ;
476 | sh:class odrl:Policy ;
477 | sh:minCount 1
478 | ] ;
479 | sh:property [
480 | sh:predicate dct:modified ;
481 | sh:minCount 1 ;
482 | sh:maxCount 1 ;
483 | sh:message "Please provide exactly one modification date (dc:modified) for every Distribution."@en ;
484 | sh:datatype xsd:dateTime
485 | ] ;
486 | sh:property [
487 | sh:predicate dct:issued ;
488 | sh:minCount 1 ;
489 | sh:maxCount 1 ;
490 | sh:message "Please provide exactly one release date (dc:issued) for every Distribution."@en ;
491 | sh:datatype xsd:dateTime
492 | ] ;
493 | sh:property [
494 | sh:predicate dcat:mediaType ;
495 | sh:maxCount 1 ;
496 | sh:class dataid:MediaType
497 | ] ;
498 | sh:property [
499 | sh:predicate dcat:mediaType ;
500 | sh:minCount 1 ;
501 | sh:severity sh:Warning ;
502 | sh:message "dcat:mediaType is strongly recommended for dataid:Distribution"@en
503 | ] ;
504 | sh:property [
505 | sh:predicate dct:description ;
506 | sh:datatype rdfs:Literal
507 | ] ;
508 | sh:property [
509 | sh:predicate foaf:page ;
510 | sh:class foaf:Document
511 | ] ;
512 | sh:property [
513 | sh:predicate foaf:page ;
514 | sh:severity sh:Warning ;
515 | sh:minCount 1 ;
516 | sh:message "Property foaf:page, used to point to additional documentation on the web, is recommended for dataid:Distribution."@en
517 | ] ;
518 | sh:property [
519 | sh:predicate dataid:accessProcedure ;
520 | sh:maxCount 1
521 | ] ;
522 | sh:property [
523 | sh:predicate dataid:previousVersion ;
524 | sh:class dataid:Distribution
525 | ] ;
526 | sh:property [
527 | sh:predicate dataid:previousVersion ;
528 | sh:minCount 1 ;
529 | sh:severity sh:Warning ;
530 | sh:message "Pointing to a previous version of a DataID is recommended."@en
531 | ] ;
532 | sh:property [
533 | sh:predicate dataid:latestVersion ;
534 | sh:maxCount 1 ;
535 | sh:class dataid:Distribution
536 | ] ;
537 | sh:property [
538 | sh:predicate dataid:latestVersion ;
539 | sh:minCount 1 ;
540 | sh:severity sh:Warning ;
541 | sh:message "Pointing to the latest version of a DataID is recommended."@en
542 | ] ;
543 | sh:property [
544 | sh:predicate dataid:nextVersion ;
545 | sh:class dataid:Distribution
546 | ] ;
547 | sh:property [
548 | sh:predicate dct:hasVersion ;
549 | sh:class dataid:SimpleStatement
550 | ] ;
551 | sh:property [
552 | sh:predicate dct:hasVersion ;
553 | sh:minCount 1 ;
554 | sh:severity sh:Warning ;
555 | sh:message "Providing a human readable version statement (dc:hasVersion) is recommended."@en
556 | ] ;
557 | sh:property [
558 | sh:predicate dct:creator ;
559 | sh:maxCount 1 ;
560 | sh:class dataid:Agent
561 | ] ;
562 | sh:property [
563 | sh:predicate dct:language ;
564 | sh:class lvont:Language
565 | ] ;
566 | sh:property [
567 | sh:predicate dct:conformsTo ;
568 | sh:class dataid:SimpleStatement
569 | ] ;
570 | sh:property [
571 | sh:predicate dct:rights ;
572 | sh:class dataid:SimpleStatement
573 | ] ;
574 | sh:property [
575 | sh:predicate dataid:uncompressed ;
576 | sh:maxCount 1
577 | ] ;
578 | sh:property [
579 | sh:predicate dataid:underAuthorization ;
580 | sh:minCount 1 ;
581 | ].
582 |
583 | ### dataid:ServiceEndpoint
584 | shapes:ServiceEndpoint a sh:Shape;
585 | sh:scopeClass dataid:ServiceEndpoint ;
586 | sh:property [
587 | sh:predicate dcat:accessURL ;
588 | sh:minCount 1
589 | ] ;
590 | sh:property [
591 | sh:predicate dcat:downloadURL ;
592 | sh:maxCount 0
593 | ] ;
594 | sh:property [
595 | sh:predicate dataid:accessProcedure ;
596 | sh:severity sh:Warning ;
597 | sh:minCount 1 ;
598 | sh:message "dataid:accessProcedure is recommnded for dataid:ServiceEndpoint"@en
599 | ] ;
600 | sh:property [
601 | sh:predicate dataid:accessProcedure ;
602 | sh:minCount 1 ;
603 | sh:severity sh:Warning
604 | ] .
605 |
606 | ### dataid:SingleFile
607 | shapes:SingleFile a sh:Shape;
608 | sh:scopeClass dataid:SingleFile ;
609 | sh:property [
610 | sh:predicate dcat:downloadURL ;
611 | sh:minCount 1
612 | ] ;
613 | sh:property [
614 | sh:predicate dcat:accessURL ;
615 | sh:maxCount 0
616 | ] ;
617 | sh:property [
618 | sh:predicate dcat:byteSize ;
619 | sh:minCount 1 ;
620 | sh:severity sh:Warning
621 | ] ;
622 | sh:property [
623 | sh:predicate dcat:checksum ;
624 | sh:minCount 1 ;
625 | sh:class spdx:Checksum ;
626 | sh:severity sh:Warning
627 | ] .
628 |
629 | ### dataid:Directory
630 | shapes:Directory a sh:Shape;
631 | sh:scopeClass dataid:Directory ;
632 | sh:property [
633 | sh:predicate dcat:accessURL ;
634 | sh:minCount 1
635 | ] ;
636 | sh:property [
637 | sh:predicate dcat:downloadURL ;
638 | sh:maxCount 0
639 | ] ;
640 | sh:property [ #the combind size of all files in the directory
641 | sh:predicate dcat:byteSize ;
642 | sh:minCount 1 ;
643 | sh:severity sh:Warning
644 | ] ;
645 | sh:property [ #checksum over all files in directory - needs specified method of combinig
646 | sh:predicate dcat:checksum ;
647 | sh:minCount 1 ;
648 | sh:severity sh:Warning
649 | ] .
650 |
651 | ### dataid:FileCollection
652 | shapes:FileCollection a sh:Shape;
653 | sh:scopeClass dataid:FileCollection ;
654 | sh:property [
655 | sh:predicate dcat:downloadURL ;
656 | sh:minCount 1
657 | ] ;
658 | sh:property [
659 | sh:predicate dcat:accessURL ;
660 | sh:maxCount 0
661 | ] ;
662 | sh:property [
663 | sh:predicate dcat:downloadURL ;
664 | sh:minCount 2 ;
665 | sh:severity sh:Warning ;
666 | sh:message "a FileCollection should have more than one file"@en
667 | ] ;
668 | sh:property [ #the combind size of all files in the collection
669 | sh:predicate dcat:byteSize ;
670 | sh:minCount 1 ;
671 | sh:severity sh:Warning
672 | ] ;
673 | sh:property [ #checksum over all files in the collection - needs specified method of combinig
674 | sh:predicate dcat:checksum ;
675 | sh:minCount 1 ;
676 | sh:severity sh:Warning
677 | ] .
678 |
679 | ### dataid:Authorization
680 | shapes:Authorization a sh:Shape;
681 | sh:scopeClass dataid:Authorization ;
682 | sh:property [
683 | sh:predicate dataid:authorizedFor ;
684 | sh:minCount 1
685 | ] ;
686 | sh:property [
687 | sh:predicate dataid:authorityAgentRole ;
688 | sh:minCount 1
689 | ] ;
690 | sh:property [
691 | sh:predicate dataid:authorizedAgent ;
692 | sh:minCount 1
693 | ] ;
694 | sh:property [
695 | sh:predicate dataid:isInheritable ;
696 | sh:defaultValue true ;
697 | sh:maxCount 1 ;
698 | sh:minCount 1
699 | ] ;
700 | sh:property [
701 | sh:predicate dataid:validFrom ;
702 | sh:maxCount 1
703 | ] ;
704 | sh:property [
705 | sh:predicate dataid:validUntil ;
706 | sh:maxCount 1
707 | ] .
708 |
709 | ### dataid:AgentRole
710 | shapes:AgentRole a sh:Shape;
711 | sh:scopeClass dataid:AgentRole ;
712 | sh:property [
713 | sh:predicate dct:title ;
714 | sh:minCount 1 ;
715 | sh:datatype rdfs:Literal
716 | ] ;
717 | sh:property [
718 | sh:predicate dataid:allowsFor ;
719 | sh:minCount 1
720 | ] .
721 |
722 | ### dataid:AuthorizedAction
723 | shapes:AuthorizedAction a sh:Shape;
724 | sh:scopeClass dataid:AuthorizedAction ;
725 | sh:property [
726 | sh:predicate dct:title ;
727 | sh:minCount 1 ;
728 | sh:datatype rdfs:Literal
729 | ] .
730 |
731 | ### dataid:SimpleStatement
732 | shapes:SimpleStatement a sh:Shape;
733 | sh:scopeClass dataid:SimpleStatement ;
734 | sh:property [
735 | sh:predicate dataid:statement ;
736 | sh:minCount 1
737 | ] .
738 |
739 | ### dataid:Agent
740 | shapes:Agent a sh:Shape;
741 | sh:scopeClass dataid:Agent ;
742 | sh:property [
743 | sh:predicate foaf:name ;
744 | sh:minCount 1 ;
745 | sh:maxCount 1
746 | ] ;
747 | sh:property [
748 | sh:predicate foaf:mbox ;
749 | sh:minCount 1 ;
750 | sh:maxCount 1
751 | ] ;
752 | sh:property [
753 | sh:predicate foaf:account ;
754 | sh:maxCount 1
755 | ] ;
756 | sh:property [
757 | sh:predicate foaf:homepage ;
758 | sh:minCount 1 ;
759 | sh:severity sh:Warning;
760 | sh:message "If possible provide a homepage for any agent."@en
761 | ] .
762 |
763 | ### dataid:Identifier
764 | shapes:Identifier a sh:Shape;
765 | sh:scopeClass dataid:Identifier ;
766 | sh:property [
767 | sh:predicate dct:identifier ;
768 | sh:minCount 1 ;
769 | sh:maxCount 1 ;
770 | sh:datatype rdfs:Literal
771 | ] ;
772 | sh:property [
773 | sh:predicate datacite:usesIdentifierScheme ;
774 | sh:minCount 1 ;
775 | sh:maxCount 1 ;
776 | sh:class datacite:IdentifierScheme
777 | ] ;
778 | sh:property [
779 | sh:predicate dct:creator ;
780 | sh:maxCount 1 ;
781 | sh:class foaf:Agent
782 | ] ;
783 | sh:property [
784 | sh:predicate dct:issued ;
785 | sh:maxCount 1 ;
786 | sh:datatype xsd:date
787 | ] ;
788 | sh:property [
789 | sh:predicate dataid:identifierURL ;
790 | sh:minCount 1 ;
791 | sh:severity sh:Warning ;
792 | sh:message "Using a direct link to an web page representing the identifier is recommended."@en
793 | ] .
794 |
795 | ### dataid:MediaType
796 | shapes:MediaType a sh:Shape;
797 | sh:scopeClass dataid:MediaType ;
798 | sh:property [
799 | sh:predicate dataid:typeTemplate ;
800 | sh:minCount 1 ;
801 | sh:maxCount 1
802 | ] ;
803 | sh:property [
804 | sh:predicate dataid:innerMediaType ;
805 | sh:maxCount 1
806 | ] .
--------------------------------------------------------------------------------
/dataidlogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/dataidlogo.png
--------------------------------------------------------------------------------
/iana/ianaOntology/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 |
7 | ianaOntology
8 | ianaOntology
9 | 1.0
10 |
11 |
12 |
13 | net.lingala.zip4j
14 | zip4j
15 | 1.3.2
16 |
17 |
18 |
19 | com.github.pathikrit
20 | better-files_2.11
21 | 3.8.0
22 |
23 |
24 |
25 | org.apache.jena
26 | jena-arq
27 | 3.13.0
28 |
29 |
30 |
31 | org.scalatest
32 | scalatest_2.11
33 | 3.2.0-M1
34 | test
35 |
36 |
37 |
38 | org.scala-lang.modules
39 | scala-xml_2.11
40 | 1.2.0
41 |
42 |
43 |
44 | org.scala-lang
45 | scala-library
46 | 2.11.1
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/iana/ianaOntology/src/main/scala/Main.scala:
--------------------------------------------------------------------------------
1 | import java.io.{ByteArrayOutputStream, PrintWriter}
2 | import java.net.URL
3 | import java.util
4 |
5 | import better.files.File
6 | import org.apache.commons.io.FileUtils
7 | import org.apache.jena.rdf.model.{Model, ModelFactory, ResourceFactory}
8 | import org.apache.jena.riot.{RDFDataMgr, RDFFormat}
9 |
10 | import scala.io.{Codec, Source}
11 | import scala.xml.{Node, XML}
12 | import net.lingala.zip4j.core.ZipFile
13 | import org.apache.jena.graph.NodeFactory
14 |
15 |
16 | object Main {
17 | val dbpediaURL_Part = "http://dataid.dbpedia.org/ns/iana#"
18 |
19 | def main(args: Array[String]): Unit = {
20 |
21 | println("ONTOLOGY CREATION TOOL")
22 |
23 | val ontologyFile = File("./ontology/ianaOntology.ttl")
24 | var model = ModelFactory.createDefaultModel()
25 |
26 |
27 | val ianaURL = "https://www.iana.org/assignments/media-types/media-types.xml"
28 | readIanaXML(model, ianaURL)
29 |
30 | val sparDownloadURL = new URL("https://ndownloader.figshare.com/files/2447048")
31 | readSparOntology(model, sparDownloadURL)
32 |
33 | createRDFTypeTriples(model)
34 | createRDFLabelTriples(model)
35 |
36 |
37 | var prefixMap = new util.HashMap[String, String]()
38 | prefixMap.put("rdf", "http://www.w3.org/2000/01/rdf-schema#")
39 | prefixMap.put("owl", "http://www.w3.org/2002/07/owl#")
40 | prefixMap.put("prov", "http://www.w3.org/ns/prov#")
41 | prefixMap.put("dataid-iana", "http://dataid.dbpedia.org/ns/iana#")
42 |
43 | model.setNsPrefixes(prefixMap)
44 |
45 | writeOntologyFile(model, ontologyFile)
46 | }
47 |
48 | def createRDFTypeTriples(model: Model): Unit = {
49 | val sub_list = model.listSubjects()
50 |
51 | while (sub_list.hasNext) {
52 | val sub = sub_list.nextResource().getURI
53 |
54 | val stmt = ResourceFactory.createStatement(
55 | ResourceFactory.createResource(sub),
56 | ResourceFactory.createProperty("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"),
57 | ResourceFactory.createResource(sub.splitAt(sub.lastIndexOf("/"))._1)
58 | )
59 |
60 | model.add(stmt)
61 | }
62 | }
63 |
64 | def createRDFLabelTriples(model: Model): Unit = {
65 | val sub_list = model.listSubjects()
66 |
67 | while (sub_list.hasNext) {
68 | val sub = sub_list.nextResource().getURI
69 |
70 | val stmt = ResourceFactory.createStatement(
71 | ResourceFactory.createResource(sub),
72 | ResourceFactory.createProperty("http://www.w3.org/2000/01/rdf-schema#label"),
73 | ResourceFactory.createStringLiteral(sub.splitAt(sub.lastIndexOf("#") + 1)._2)
74 | )
75 |
76 | model.add(stmt)
77 | }
78 | }
79 |
80 | def writeOntologyFile(model: Model, file: File): Unit = {
81 | val os = new ByteArrayOutputStream()
82 | RDFDataMgr.write(os, model, RDFFormat.TURTLE)
83 | val ontologyString = Source.fromBytes(os.toByteArray)(Codec.UTF8).getLines().mkString("", "\n", "\n")
84 |
85 | new PrintWriter((file).pathAsString) {
86 | write(ontologyString)
87 | close
88 | }
89 |
90 | println(s"Ontology file has been written to ${file.pathAsString}")
91 | }
92 |
93 | def readIanaXML(model: Model, ianaURL: String) = {
94 |
95 | val ianaXML = XML.load(ianaURL)
96 |
97 | val ianaURL_Part = s"${ianaXML.namespace}/${ianaXML.attribute("id").mkString}/"
98 | val ianaMimeTypes = (ianaXML \\ "registry" \\ "record" \ "file")
99 |
100 | ianaMimeTypes.foreach(ianaMimeType => {
101 | createIanaMimeTypeTriple(ianaMimeType, ianaURL_Part, dbpediaURL_Part, model)
102 | })
103 |
104 | }
105 |
106 | def createIanaMimeTypeTriple(node: Node, ianaURL_Part: String, dbpediaURL_Part: String, model: Model): Unit = {
107 |
108 | val stmt = ResourceFactory.createStatement(
109 | ResourceFactory.createResource(dbpediaURL_Part.concat(node.text)),
110 | ResourceFactory.createProperty("http://www.w3.org/ns/prov#wasDerivedFrom"),
111 | ResourceFactory.createResource(ianaURL_Part.concat(node.text))
112 | )
113 | model.add(stmt)
114 | }
115 |
116 |
117 | def readSparOntology(model: Model, sparDownloadURL: URL) = {
118 |
119 | val ontologyZipFile = File("./ontology/temp/sparOntology.zip")
120 | FileUtils.copyURLToFile(sparDownloadURL, ontologyZipFile.toJava)
121 |
122 | val unzippedOntology = unzip(ontologyZipFile)
123 |
124 | val files = unzippedOntology.listRecursively.toSeq
125 | for (file <- files) {
126 | if (!file.isDirectory && !file.pathAsString.contains("__MACOSX") && !file.pathAsString.contains("status")) {
127 | println(s"input file:\t${file.pathAsString}")
128 | val xmlFile = XML.loadFile(file.toJava)
129 |
130 | var sparMimeType = ""
131 |
132 | (xmlFile \ "Description").foreach(
133 | description => description.attribute("http://www.w3.org/1999/02/22-rdf-syntax-ns#", "about").foreach(
134 | about => if (about.text.startsWith("http")) sparMimeType = about.text))
135 |
136 | createSparMimeTypeTriple(sparMimeType, dbpediaURL_Part, model)
137 | }
138 | }
139 | }
140 |
141 | def createSparMimeTypeTriple(sparURL: String, dbpediaURL_Part: String, model: Model): Unit = {
142 |
143 | val mimetype = sparURL.split("mediatype/").last.replace("%2B", "+")
144 | val dbpediaURL = dbpediaURL_Part.concat(mimetype)
145 | println(s"MimeType: ${mimetype}\n")
146 |
147 | if (model.containsResource(model.asRDFNode(NodeFactory.createURI(dbpediaURL)))) {
148 |
149 | val stmt = ResourceFactory.createStatement(
150 | ResourceFactory.createResource(dbpediaURL_Part.concat(mimetype)),
151 | ResourceFactory.createProperty("http://www.w3.org/2002/07/owl#sameAs"),
152 | ResourceFactory.createResource(sparURL)
153 | )
154 |
155 | model.add(stmt)
156 | }
157 |
158 | }
159 |
160 | def unzip(file: File): File = {
161 | val zipFile = new ZipFile(file.pathAsString)
162 | val destination = (file.parent / file.nameWithoutExtension(true)).pathAsString
163 |
164 | if (zipFile.isEncrypted()) println("zip file encrypted")
165 | else zipFile.extractAll(destination)
166 |
167 | return File(destination)
168 | }
169 |
170 | }
171 |
172 |
173 |
--------------------------------------------------------------------------------
/iana/ianaOntology/src/test/scala/mytests.scala:
--------------------------------------------------------------------------------
1 | import java.util.zip.ZipFile
2 | import org.scalatest.flatspec.AnyFlatSpec
3 |
4 | import scala.xml.XML
5 |
6 | class MyTests extends AnyFlatSpec {
7 | info("starting..")
8 |
9 | "zip file" should "contains multiple files" in {
10 | val zipFile = new ZipFile("./src/test/src/multipleFiles.zip")
11 | println(zipFile.size())
12 |
13 | assert(zipFile.size() >= 1)
14 | }
15 |
16 | it should "contains one files" in {
17 | val zipFile = new ZipFile("./src/test/src/singleFile.zip")
18 | println(zipFile.size())
19 |
20 | assert(zipFile.size() == 1)
21 | }
22 |
23 |
24 | "xml file" should "give the exact mimetype" in {
25 | val file = XML.loadFile("./src/test/src/alto-costmap+json.rdf")
26 |
27 | var mimeType = ""
28 |
29 | (file \ "Description").foreach(
30 | description => description.attributes.value.foreach(
31 | value => {
32 | if (value.text.nonEmpty && mimeType == "") mimeType = value.text
33 | if (value.text.nonEmpty && mimeType != "") println(s"mimetype war schon: $mimeType aber soll nun in $value umbenannt werden")
34 | }))
35 |
36 |
37 | // val mimetype2 = (file \ "Description").foreach(description => println(description.attribute("rdf:about").foreach(about => println(about))))
38 | }
39 |
40 |
41 | "rdfType" should "be http://dataid.dbpedia.org/ns/iana#application" in {
42 | val uri = "http://dataid.dbpedia.org/ns/iana#application/kpml-request+xml"
43 |
44 | val rdfType = uri.splitAt(uri.lastIndexOf("/"))._1
45 | println(s"rdfType: $rdfType")
46 |
47 | assert(rdfType == "http://dataid.dbpedia.org/ns/iana#application")
48 |
49 | }
50 |
51 | "IanaXML" should "contain IanaURL" in {
52 | val ianaXML = XML.load("https://www.iana.org/assignments/media-types/media-types.xml")
53 |
54 | val ianaURL = s"${ianaXML.namespace}/${ianaXML.attribute("id").mkString}/"
55 | println(ianaURL)
56 |
57 | // ianaXML.nonEmptyChildren.foreach(node => {
58 | // println(s"NODE: $node")
59 | // println(s"Node.Namespace: ${node.namespace}")
60 | // println(s"Node.label: ${node.label}")
61 | // println("CHILD")
62 | // println(node.child.mkString)
63 | // }) //filter(node => node.namespace.matches("title")).foreach(println(_))
64 |
65 | println((ianaXML \\ "registry" \\ "registry" \\ "title" \\ "application"))
66 |
67 | ianaXML
68 | .child
69 | .filter(node => node.label.matches("registry"))
70 | .filter(registry => registry.attribute("id").mkString.matches("application"))
71 | .foreach(node => node.child
72 | .filter(child => child.label.matches("title"))
73 | .foreach(title => println(title.child)))
74 | }
75 |
76 | "sparRDFFile" should "contain sparMimeTypeURL" in {
77 | val file = XML.loadFile("./src/test/src/alto-costmap+json.rdf")
78 |
79 | println("")
80 | (file \ "Description")
81 | .foreach(description => description.attribute("http://www.w3.org/1999/02/22-rdf-syntax-ns#", "about")
82 | .foreach(about => if (about.text.startsWith("http")) println(s"1st: $about")))
83 |
84 | println(s"2nd: ${
85 | (file \ "Description" \ "@http://www.w3.org/1999/02/22-rdf-syntax-ns#about").text
86 | }")
87 |
88 | println(s"3rd: ${
89 | (file \ "Description" \ "@about").text
90 | }")
91 |
92 | file
93 | .child
94 | .filter(child => child.label.matches("Description"))
95 | .foreach(description => description.attribute("http://www.w3.org/1999/02/22-rdf-syntax-ns#", "about")
96 | .foreach(about => println(s"4th: $about")))
97 |
98 | }
99 | }
100 |
--------------------------------------------------------------------------------
/iana/ianaOntology/src/test/src/alto-costmap+json.rdf:
--------------------------------------------------------------------------------
1 | 2014-03-18application/alto-costmap+json
--------------------------------------------------------------------------------
/iana/ianaOntology/src/test/src/multipleFiles.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/src/test/src/multipleFiles.zip
--------------------------------------------------------------------------------
/iana/ianaOntology/src/test/src/singleFile.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/src/test/src/singleFile.zip
--------------------------------------------------------------------------------
/iana/ianaOntology/target/classes/Main$$anon$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/classes/Main$$anon$1.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/classes/Main$$anonfun$readIanaXML$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/classes/Main$$anonfun$readIanaXML$1.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/classes/Main$$anonfun$readSparOntology$1$$anonfun$apply$1$$anonfun$apply$2.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/classes/Main$$anonfun$readSparOntology$1$$anonfun$apply$1$$anonfun$apply$2.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/classes/Main$$anonfun$readSparOntology$1$$anonfun$apply$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/classes/Main$$anonfun$readSparOntology$1$$anonfun$apply$1.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/classes/Main$$anonfun$readSparOntology$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/classes/Main$$anonfun$readSparOntology$1.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/classes/Main$.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/classes/Main$.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/classes/Main.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/classes/Main.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/test-classes/MyTests$$anonfun$1$$anonfun$apply$mcV$sp$1$$anonfun$apply$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/test-classes/MyTests$$anonfun$1$$anonfun$apply$mcV$sp$1$$anonfun$apply$1.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/test-classes/MyTests$$anonfun$1$$anonfun$apply$mcV$sp$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/test-classes/MyTests$$anonfun$1$$anonfun$apply$mcV$sp$1.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/test-classes/MyTests$$anonfun$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/test-classes/MyTests$$anonfun$1.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/test-classes/MyTests$$anonfun$2$$anonfun$apply$mcV$sp$2.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/test-classes/MyTests$$anonfun$2$$anonfun$apply$mcV$sp$2.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/test-classes/MyTests$$anonfun$2$$anonfun$apply$mcV$sp$3.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/test-classes/MyTests$$anonfun$2$$anonfun$apply$mcV$sp$3.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/test-classes/MyTests$$anonfun$2$$anonfun$apply$mcV$sp$4$$anonfun$apply$2.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/test-classes/MyTests$$anonfun$2$$anonfun$apply$mcV$sp$4$$anonfun$apply$2.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/test-classes/MyTests$$anonfun$2$$anonfun$apply$mcV$sp$4$$anonfun$apply$3.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/test-classes/MyTests$$anonfun$2$$anonfun$apply$mcV$sp$4$$anonfun$apply$3.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/test-classes/MyTests$$anonfun$2$$anonfun$apply$mcV$sp$4.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/test-classes/MyTests$$anonfun$2$$anonfun$apply$mcV$sp$4.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/test-classes/MyTests$$anonfun$2.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/test-classes/MyTests$$anonfun$2.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/test-classes/MyTests$$anonfun$3$$anonfun$apply$mcV$sp$5$$anonfun$apply$4.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/test-classes/MyTests$$anonfun$3$$anonfun$apply$mcV$sp$5$$anonfun$apply$4.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/test-classes/MyTests$$anonfun$3$$anonfun$apply$mcV$sp$5.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/test-classes/MyTests$$anonfun$3$$anonfun$apply$mcV$sp$5.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/test-classes/MyTests$$anonfun$3$$anonfun$apply$mcV$sp$6.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/test-classes/MyTests$$anonfun$3$$anonfun$apply$mcV$sp$6.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/test-classes/MyTests$$anonfun$3$$anonfun$apply$mcV$sp$7$$anonfun$apply$5.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/test-classes/MyTests$$anonfun$3$$anonfun$apply$mcV$sp$7$$anonfun$apply$5.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/test-classes/MyTests$$anonfun$3$$anonfun$apply$mcV$sp$7.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/test-classes/MyTests$$anonfun$3$$anonfun$apply$mcV$sp$7.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/test-classes/MyTests$$anonfun$3.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/test-classes/MyTests$$anonfun$3.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/test-classes/MyTests$$anonfun$4.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/test-classes/MyTests$$anonfun$4.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/test-classes/MyTests$$anonfun$5.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/test-classes/MyTests$$anonfun$5.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/test-classes/MyTests$$anonfun$6.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/test-classes/MyTests$$anonfun$6.class
--------------------------------------------------------------------------------
/iana/ianaOntology/target/test-classes/MyTests.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/iana/ianaOntology/target/test-classes/MyTests.class
--------------------------------------------------------------------------------
/imports/adms.ttl:
--------------------------------------------------------------------------------
1 | @prefix voaf: .
2 | @prefix owl: .
3 | @prefix dcat: .
4 | @prefix dc: .
5 | @prefix rdfs: .
6 | @prefix schema: .
7 | @prefix foaf: .
8 | @prefix xsd: .
9 | @prefix vann: .
10 | @prefix wdrs: .
11 | @prefix adms: .
12 | @prefix rdf: .
13 | @prefix skos: .
14 | @prefix xhv: .
15 |
16 |
17 | a voaf:Vocabulary, owl:Ontology ;
18 | voaf:specializes dcat: ;
19 | dc:title "Asset Description Metadata Schema (ADMS)"@en ;
20 | rdfs:label "Asset Description Metadata Schema (ADMS)"@en ;
21 | dc:abstract "ADMS is a profile of DCAT, used to describe semantic assets (or just 'Assets'), defined as highly reusable metadata (e.g. xml schemata, generic data models) and reference data (e.g. code lists, taxonomies, dictionaries, vocabularies) that are used for eGovernment system development."@en ;
22 | dc:creator [
23 | schema:affiliation ;
24 | rdfs:seeAlso ;
25 | foaf:homepage ;
26 | foaf:name "Phil Archer"
27 | ], [
28 | schema:affiliation [
29 | foaf:homepage ;
30 | foaf:name "European Commission, Joint Research Centre "
31 | ] ;
32 | rdfs:seeAlso ;
33 | foaf:homepage ;
34 | foaf:name "Andrea Perego"
35 | ], [
36 | rdfs:seeAlso ;
37 | foaf:homepage ;
38 | foaf:name "Makx Dekkers"
39 | ] ;
40 | foaf:maker [
41 | foaf:name "Government Linked Data WG, based on output from the ADMS Working Group" ;
42 | foaf:homepage
43 | ] ;
44 | dc:description """This is the RDF encoding of the Asset Description Metadata Schema, originally
45 | developed under the European Union's ISA Programme and further developed by the W3C Government Linked Data Working Group.
46 | It re-uses terms from several other vocabularies, notably Dublin Core, with elements of SKOS, FOAF and more. """ ;
47 | dc:modified "2013-05-24"^^xsd:date, "2013-09-16"^^xsd:date, "2013-12-21"^^xsd:date, "2015-07-22"^^xsd:date ;
48 | vann:preferredNamespacePrefix "adms" ;
49 | vann:preferredNamespaceUri "http://www.w3.org/ns/adms#" ;
50 | rdfs:comment "This file specifies the set of RDF classes and properties used in ADMS"@en ;
51 | wdrs:describedby .
52 |
53 | adms:AssetRepository
54 | dc:identifier "adms:AssetRepository" ;
55 | a rdfs:Class ;
56 | rdfs:comment "An Asset Repository is a system or service that provides facilities for storage and maintenance of descriptions of Assets and Asset Distributions, and functionality that allows users to search and access these descriptions. An Asset Repository will typically contain descriptions of several Assets and related Asset Distributions."@en ;
57 | rdfs:isDefinedBy ;
58 | rdfs:label "Asset Repository"@en ;
59 | rdfs:subClassOf dcat:Catalog .
60 |
61 | adms:Asset
62 | dc:identifier "adms:Asset" ;
63 | a rdfs:Class ;
64 | rdfs:comment "An Asset is an abstract entity that reflects the intellectual content of the asset and represents those characteristics of the asset that are independent of its physical embodiment. This abstract entity combines the FRBR entities work (a distinct intellectual or artistic creation) and expression (the intellectual or artistic realization of a work). Assets can be versioned. Every time the intellectual content of an asset changes, the result is considered to be a new asset that can be linked to previous and next versions of the Asset. The physical embodiment of an Asset is called an Asset Distribution. A particular Asset may have zero or more Asset Distributions.."@en ;
65 | rdfs:isDefinedBy ;
66 | rdfs:label "Asset"@en ;
67 | rdfs:subClassOf dcat:Dataset .
68 |
69 | adms:AssetDistribution
70 | dc:identifier "adms:AssetDistribution" ;
71 | a rdfs:Class ;
72 | rdfs:comment "An Asset Distribution represents a particular physical embodiment of an Asset, which is an example of the FRBR entity manifestation (the physical embodiment of an expression of a work). An Asset Distribution is typically a downloadable computer file (but in principle it could also be a paper document) that implements the intellectual content of an Asset. A particular Asset Distribution is associated with one and only one Asset, while all Distributions of an Asset share the same intellectual content in different physical formats. Asset Distributions themselves are not versioned."@en ;
73 | rdfs:isDefinedBy ;
74 | rdfs:label "Asset Distribution"@en ;
75 | rdfs:subClassOf dcat:Distribution .
76 |
77 | adms:Identifier
78 | dc:identifier "adms:Identifier" ;
79 | a rdfs:Class ;
80 | rdfs:comment "This class is based on the UN/CEFACT Identifier complex type defined in See Section 5.8 of Core Components Data Type Catalogue Version 3.1 (http://www.unece.org/fileadmin/DAM/cefact/codesfortrade/CCTS/CCTS-DTCatalogueVersion3p1.pdf) In RDF this is expressed using the following properties: - the content string should be provided using skos:notation, datatyped with the identifier scheme (inclduing the version number if appropriate); - use dcterms:creator to link to a class describing the agency that manages the identifier scheme or adms:schemaAgency to provide the name as a literal. Although not part of the ADMS conceptual model, it may be useful to provide further properties to the Identifier class such as dcterms:created to provide the date on which the identifier was issued."^^rdf:XMLLiteral ;
81 | rdfs:isDefinedBy ;
82 | rdfs:label "Identifier"@en .
83 |
84 | adms:identifier
85 | dc:identifier "adms:identifier" ;
86 | a rdf:Property, owl:ObjectProperty ;
87 | rdfs:comment "adms:identifier is used to link any resource to an instance of adms:Identifier which is its range. N.B. it is not appropriate to use dcterms:identifer to link to the Identifier class as its range is rdfs:Literal. ADMS uses this to provide any identifier for the Asset."@en ;
88 | rdfs:isDefinedBy ;
89 | rdfs:label "identifier"@en ;
90 | rdfs:range adms:Identifier .
91 |
92 | adms:includedAsset
93 | dc:identifier "adms:includedAsset" ;
94 | a rdf:Property, owl:ObjectProperty ;
95 | rdfs:comment "Links to an Asset that is contained in the Asset being described, e.g. when there are several vocabularies defined in a single document."@en ;
96 | rdfs:isDefinedBy ;
97 | rdfs:label "included asset"@en ;
98 | rdfs:domain adms:Asset ;
99 | rdfs:range adms:Asset .
100 |
101 | adms:interoperabilityLevel
102 | dc:identifier "adms:interoperabilityLevel" ;
103 | a rdf:Property, owl:ObjectProperty ;
104 | rdfs:comment "Links an Asset to its adms:InteroperabilityLevel. Since this is encoded using skos:Concept, that is the defined range for this property."@en ;
105 | rdfs:domain adms:Asset ;
106 | rdfs:isDefinedBy ;
107 | rdfs:label "interoperability level"@en ;
108 | rdfs:range skos:Concept .
109 |
110 | adms:last
111 | dc:identifier "adms:last" ;
112 | a rdf:Property, owl:ObjectProperty ;
113 | rdfs:comment "A link to the current or latest version of the Asset."@en ;
114 | rdfs:isDefinedBy ;
115 | rdfs:label "last"@en ;
116 | rdfs:subPropertyOf xhv:last .
117 |
118 | adms:next
119 | dc:identifier "adms:next" ;
120 | a rdf:Property, owl:ObjectProperty ;
121 | rdfs:comment "A link to the next version of the Asset."@en ;
122 | rdfs:isDefinedBy ;
123 | rdfs:label "next"@en ;
124 | rdfs:subPropertyOf xhv:next .
125 |
126 | adms:prev
127 | dc:identifier "adms:prev" ;
128 | a rdf:Property, owl:ObjectProperty ;
129 | rdfs:comment "A link to the previous version of the Asset."@en ;
130 | rdfs:isDefinedBy ;
131 | rdfs:label "prev"@en ;
132 | rdfs:subPropertyOf xhv:prev .
133 |
134 | adms:representationTechnique
135 | dc:identifier "adms:representationTechnique" ;
136 | a rdf:Property, owl:ObjectProperty ;
137 | rdfs:comment "Links an adms:AssetDistribution to a skos:Concept that is its adms:RepresentationTechnique."@en ;
138 | rdfs:isDefinedBy ;
139 | rdfs:label "representation technique"@en ;
140 | rdfs:range skos:Concept .
141 |
142 | adms:sample
143 | dc:identifier "adms:sample" ;
144 | a rdf:Property, owl:ObjectProperty ;
145 | rdfs:comment "Links to a sample of an Asset (which is itself an Asset)."@en ;
146 | rdfs:domain adms:Asset ;
147 | rdfs:isDefinedBy ;
148 | rdfs:label "sample"@en ;
149 | rdfs:range adms:Asset .
150 |
151 | adms:schemeAgency
152 | dc:identifier "adms:schemeAgency" ;
153 | a rdf:Property, owl:DatatypeProperty ;
154 | rdfs:comment "The name of the agency responsible for issuing the identifier"@en ;
155 | rdfs:domain adms:Identifier ;
156 | rdfs:isDefinedBy ;
157 | rdfs:label "scheme agency"@en ;
158 | rdfs:range rdfs:Literal .
159 |
160 | adms:status
161 | dc:identifier "adms:status" ;
162 | a rdf:Property, owl:ObjectProperty ;
163 | rdfs:comment "Links to the status of the Asset or Asset Distribution in the context of a particular workflow process. Since Status is defined using a skos:Concept, that is the defined range for this property."^^rdf:XMLLiteral ;
164 | rdfs:isDefinedBy ;
165 | rdfs:label "status"@en ;
166 | rdfs:range skos:Concept .
167 |
168 | adms:supportedSchema
169 | dc:identifier "adms:supportedSchema" ;
170 | a rdf:Property, owl:ObjectProperty ;
171 | rdfs:comment "A schema according to which the Asset Repository can provide data about its content, e.g. ADMS"@en ;
172 | rdfs:isDefinedBy ;
173 | rdfs:label "supported schema"@en ;
174 | rdfs:range adms:Asset .
175 |
176 | adms:translation
177 | dc:identifier "adms:translation" ;
178 | a rdf:Property, owl:ObjectProperty ;
179 | rdfs:comment "Links Assets that are translations of each other."@en ;
180 | rdfs:isDefinedBy ;
181 | rdfs:label "translation"@en .
182 |
183 | adms:versionNotes
184 | dc:identifier "adms:versionNotes" ;
185 | a rdf:Property, owl:DatatypeProperty ;
186 | rdfs:comment "A description of changes between this version and the previous version of the Asset."@en ;
187 | rdfs:isDefinedBy ;
188 | rdfs:label "version info"@en ;
189 | rdfs:range rdfs:Literal .
--------------------------------------------------------------------------------
/imports/catalog-v001.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/imports/ckan.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "http://json-schema.org/draft-04/schema#",
3 | "$schema": "http://json-schema.org/draft-04/schema#",
4 | "description": "Core schema meta-schema",
5 | "definitions": {
6 | "schemaArray": {
7 | "type": "array",
8 | "minItems": 1,
9 | "items": { "$ref": "#" }
10 | },
11 | "positiveInteger": {
12 | "type": "integer",
13 | "minimum": 0
14 | },
15 | "positiveIntegerDefault0": {
16 | "allOf": [ { "$ref": "#/definitions/positiveInteger" }, { "default": 0 } ]
17 | },
18 | "simpleTypes": {
19 | "enum": [ "array", "boolean", "integer", "null", "number", "object", "string" ]
20 | },
21 | "stringArray": {
22 | "type": "array",
23 | "items": { "type": "string" },
24 | "minItems": 1,
25 | "uniqueItems": true
26 | }
27 | },
28 | "type": "object",
29 | "properties": {
30 | "id": {
31 | "type": "string",
32 | "format": "uri"
33 | },
34 | "$schema": {
35 | "type": "string",
36 | "format": "uri"
37 | },
38 | "title": {
39 | "type": "string"
40 | },
41 | "description": {
42 | "type": "string"
43 | },
44 | "default": {},
45 | "multipleOf": {
46 | "type": "number",
47 | "minimum": 0,
48 | "exclusiveMinimum": true
49 | },
50 | "maximum": {
51 | "type": "number"
52 | },
53 | "exclusiveMaximum": {
54 | "type": "boolean",
55 | "default": false
56 | },
57 | "minimum": {
58 | "type": "number"
59 | },
60 | "exclusiveMinimum": {
61 | "type": "boolean",
62 | "default": false
63 | },
64 | "maxLength": { "$ref": "#/definitions/positiveInteger" },
65 | "minLength": { "$ref": "#/definitions/positiveIntegerDefault0" },
66 | "pattern": {
67 | "type": "string",
68 | "format": "regex"
69 | },
70 | "additionalItems": {
71 | "anyOf": [
72 | { "type": "boolean" },
73 | { "$ref": "#" }
74 | ],
75 | "default": {}
76 | },
77 | "items": {
78 | "anyOf": [
79 | { "$ref": "#" },
80 | { "$ref": "#/definitions/schemaArray" }
81 | ],
82 | "default": {}
83 | },
84 | "maxItems": { "$ref": "#/definitions/positiveInteger" },
85 | "minItems": { "$ref": "#/definitions/positiveIntegerDefault0" },
86 | "uniqueItems": {
87 | "type": "boolean",
88 | "default": false
89 | },
90 | "maxProperties": { "$ref": "#/definitions/positiveInteger" },
91 | "minProperties": { "$ref": "#/definitions/positiveIntegerDefault0" },
92 | "required": { "$ref": "#/definitions/stringArray" },
93 | "additionalProperties": {
94 | "anyOf": [
95 | { "type": "boolean" },
96 | { "$ref": "#" }
97 | ],
98 | "default": {}
99 | },
100 | "definitions": {
101 | "type": "object",
102 | "additionalProperties": { "$ref": "#" },
103 | "default": {}
104 | },
105 | "properties": {
106 | "type": "object",
107 | "additionalProperties": { "$ref": "#" },
108 | "default": {}
109 | },
110 | "patternProperties": {
111 | "type": "object",
112 | "additionalProperties": { "$ref": "#" },
113 | "default": {}
114 | },
115 | "dependencies": {
116 | "type": "object",
117 | "additionalProperties": {
118 | "anyOf": [
119 | { "$ref": "#" },
120 | { "$ref": "#/definitions/stringArray" }
121 | ]
122 | }
123 | },
124 | "enum": {
125 | "type": "array",
126 | "minItems": 1,
127 | "uniqueItems": true
128 | },
129 | "type": {
130 | "anyOf": [
131 | { "$ref": "#/definitions/simpleTypes" },
132 | {
133 | "type": "array",
134 | "items": { "$ref": "#/definitions/simpleTypes" },
135 | "minItems": 1,
136 | "uniqueItems": true
137 | }
138 | ]
139 | },
140 | "allOf": { "$ref": "#/definitions/schemaArray" },
141 | "anyOf": { "$ref": "#/definitions/schemaArray" },
142 | "oneOf": { "$ref": "#/definitions/schemaArray" },
143 | "not": { "$ref": "#" }
144 | },
145 | "dependencies": {
146 | "exclusiveMaximum": [ "maximum" ],
147 | "exclusiveMinimum": [ "minimum" ]
148 | },
149 | "default": {}
150 | }
151 |
--------------------------------------------------------------------------------
/imports/lexvo.ttl:
--------------------------------------------------------------------------------
1 | @prefix owl: .
2 | @prefix rdfs: .
3 | @prefix dc: .
4 | @prefix xsd: .
5 | @prefix foaf: .
6 | @prefix skos: .
7 | @prefix lvont: .
8 | @prefix skosxl: .
9 | @prefix rdf: .
10 | @prefix dc11: .
11 |
12 |
13 | a owl:Ontology ;
14 | rdfs:comment "Lexvo.org Ontology" ;
15 | rdfs:label "Lexvo.org Ontology"@en ;
16 | owl:versionInfo "Lexvo.org Ontology Version 0.23 (2014-01-29)"@en ;
17 | dc:modified "2014-01-29"^^xsd:date ;
18 | foaf:homepage ;
19 | dc:creator ;
20 | dc:contributor ;
21 | rdfs:seeAlso ;
22 | dc:subject .
23 |
24 |
25 | a owl:Class ;
26 | rdfs:comment "Groups of human language variants that are or were spoken, written, or signed at some point in time."@en ;
27 | skos:note """This definition includes languages, particular language variants (e.g. dialects), and larger groups of language
28 | variants (e.g. macrolanguages and language families), as the distinction between them is largely conventional."""@en ;
29 | rdfs:label "language"@en ;
30 | rdfs:subClassOf dc:LinguisticSystem ;
31 | lvont:somewhatSameAs ;
32 | rdfs:seeAlso .
33 |
34 | lvont:Term
35 | a owl:Class ;
36 | rdfs:comment "A term in a specific language."@en ;
37 | rdfs:label "term"@en ;
38 | lvont:subClassOf skosxl:Label ;
39 | lvont:nearlySameAs .
40 |
41 | lvont:Character
42 | a owl:Class ;
43 | rdfs:comment """An abstract character as defined by the Unicode Standard,
44 | Version 5, in Chapter 3.4."""@en ;
45 | rdfs:label "character"@en ;
46 | skos:note "The same abstract character may be rendered in different forms, depending on the language and on typeface characters."@en ;
47 | owl:sameAs .
48 |
49 | lvont:CJKRadical
50 | a owl:Class ;
51 | rdfs:comment "A CJK character radical."@en ;
52 | rdfs:label "radical"@en ;
53 | rdfs:seeAlso ;
54 | skos:note """CJK radicals are slightly more abstract than characters, because the same radical can be manifested as different
55 | characters, e.g. radical 4 can take the form of '丿', '乀', or '乁'."""@en .
56 |
57 | lvont:Script
58 | a owl:Class ;
59 | rdfs:comment """A writing system considered abstractly, i.e. independent
60 | of language-specific variations."""@en ;
61 | rdfs:label "script"@en .
62 |
63 | lvont:GeographicRegion
64 | a owl:Class ;
65 | rdfs:comment "Geographic regions on Earth or elsewhere."@en ;
66 | rdfs:label "geographic region"@en .
67 |
68 | lvont:somewhatSameAs
69 | a owl:SymmetricProperty ;
70 | rdfs:comment """The property of being at least somewhat the same as something else. For instance,
71 | the City of Los Angeles is somewhat the same as the Greater Los Angeles area."""@en ;
72 | rdfs:label "somewhat same as"@en ;
73 | lvont:somewhatSameAs skos:broadMatch .
74 |
75 | skos:broadMatch rdfs:subPropertyOf lvont:somewhatSameAs .
76 | lvont:nearlySameAs
77 | a owl:SymmetricProperty ;
78 | rdfs:comment """The property of being at least nearly the same as something else. For instance,
79 | the geographical area comprising the island of Malta is nearly the same as the island of Malta."""@en ;
80 | rdfs:label "nearly same as"@en ;
81 | rdfs:subPropertyOf lvont:somewhatSameAs ;
82 | lvont:somewhatSameAs owl:sameAs .
83 |
84 | skos:exactMatch rdfs:subPropertyOf lvont:nearlySameAs .
85 | owl:sameAs rdfs:subPropertyOf lvont:nearlySameAs .
86 | lvont:strictlySameAs
87 | a owl:SymmetricProperty ;
88 | rdfs:comment "The property of genuine identity in the Leibnizian sense."@en ;
89 | rdfs:label "same as"@en ;
90 | rdfs:subPropertyOf lvont:nearlySameAs ;
91 | owl:sameAs owl:sameAs .
92 |
93 | lvont:strength
94 | a owl:ObjectProperty ;
95 | rdfs:comment "The strength of an rdf:Statement, given is a value in [0,1]."@en ;
96 | rdfs:label "strength"@en ;
97 | rdfs:domain rdf:Statement .
98 |
99 | lvont:represents
100 | a owl:ObjectProperty ;
101 | rdfs:comment """the semiotic property of semantically representing something, i.e. a
102 | relationship between words and other signs and resources that they represent (or represented) to a considerable number of humans"""@en ;
103 | rdfs:label "represents"@en .
104 |
105 | lvont:representedBy
106 | a owl:ObjectProperty ;
107 | owl:inverseOf lvont:represents ;
108 | rdfs:label "represented by"@en .
109 |
110 | lvont:means
111 | a owl:ObjectProperty ;
112 | rdfs:subPropertyOf lvont:represents ;
113 | owl:inverseOf lvont:label ;
114 | rdfs:comment """the semiotic property of a natural language word meaning something, i.e. a
115 | relationship between words and resources that they represent (or represented) to a considerable number of humans"""@en ;
116 | rdfs:label "means"@en .
117 |
118 | lvont:label
119 | a owl:ObjectProperty ;
120 | rdfs:range skosxl:Label ;
121 | rdfs:subPropertyOf lvont:representedBy ;
122 | owl:inverseOf lvont:means ;
123 | rdfs:comment "the semiotic property of possessing a natural language label (as opposed to artificial identifiers), e.g. the city of Paris is lexicalized in Italian using the Italian term \"Parigi\"."@en, "If C lvont:Label L and L skosxl:literalForm V, then X rdfs:label V."@en ;
124 | skos:note """This property is more general than skosxl:prefLabel and skosxl:altLabel, as it does not make any normative claims about which labels are preferred. It merely describes
125 | the fact that a certain label can be used to refer to something."""@en ;
126 | rdfs:label "has label"@en .
127 |
128 | skosxl:prefLabel rdfs:subPropertyOf lvont:label .
129 | skosxl:altLabel rdfs:subPropertyOf lvont:label .
130 | lvont:language
131 | a owl:ObjectProperty ;
132 | rdfs:comment "The property of a resource being mainly encoded in a specific language."@en ;
133 | rdfs:range lvont:Language ;
134 | rdfs:label "in language"@en ;
135 | rdfs:subPropertyOf dc11:language, dc:language .
136 |
137 | lvont:containsCharacter
138 | a owl:ObjectProperty ;
139 | rdfs:comment "The property of a term containing a specific character."@en ;
140 | rdfs:domain lvont:Term ;
141 | rdfs:range lvont:Character ;
142 | rdfs:label "contains character"@en .
143 |
144 | lvont:translation
145 | a owl:SymmetricProperty ;
146 | rdfs:comment """translational equivalence between words and other signs
147 | and resources that they represent to or represented to a considerable number of humans"""@en ;
148 | rdfs:label "translation"@en ;
149 | lvont:nearlySameAs ;
150 | skos:note "Domain and range are usually Term objects, however string literals are acceptable as well for the range."@en .
151 |
152 | lvont:variant
153 | a owl:ObjectProperty ;
154 | rdfs:comment "The property of being a variant of another resource."@en ;
155 | rdfs:label "variant"@en ;
156 | skos:note "Especially for terms and characters."@en .
157 |
158 | lvont:iso639P1Code
159 | a owl:DatatypeProperty ;
160 | rdfs:domain lvont:Language ;
161 | rdfs:label "ISO 639-1 code"@en ;
162 | owl:equivalentProperty , .
163 |
164 | lvont:iso639P2BCode
165 | a owl:DatatypeProperty ;
166 | rdfs:domain lvont:Language ;
167 | rdfs:label "ISO 639-2 Bibliographical code"@en ;
168 | owl:equivalentProperty , ;
169 | rdfs:seeAlso .
170 |
171 | lvont:iso639P2TCode
172 | a owl:DatatypeProperty ;
173 | rdfs:domain lvont:Language ;
174 | rdfs:label "ISO 639-2 Terminological code"@en ;
175 | owl:equivalentProperty , ;
176 | rdfs:seeAlso .
177 |
178 | lvont:iso639P3Code
179 | a owl:DatatypeProperty ;
180 | rdfs:domain lvont:Language ;
181 | rdfs:label "ISO 639-3 code"@en ;
182 | owl:equivalentProperty ;
183 | rdfs:seeAlso .
184 |
185 | lvont:iso639P5Code
186 | a owl:DatatypeProperty ;
187 | rdfs:domain lvont:Language ;
188 | rdfs:label "ISO 639-5 code"@en ;
189 | rdfs:seeAlso .
190 |
191 | lvont:marcCode
192 | a owl:DatatypeProperty ;
193 | rdfs:domain lvont:Language ;
194 | rdfs:label "MARC 21 / USMARC code"@en ;
195 | rdfs:seeAlso .
196 |
197 | lvont:iso15924Alphacode
198 | a owl:DatatypeProperty ;
199 | rdfs:domain lvont:Script ;
200 | rdfs:label "ISO 15924 alphabetic code"@en ;
201 | rdfs:seeAlso .
202 |
203 | lvont:inScript
204 | a owl:ObjectProperty ;
205 | rdfs:comment """The property of a document being written in a specific script,
206 | or a language being written or having being written in a specific script by a considerable
207 | group of language users."""@en ;
208 | rdfs:label "in script"@en ;
209 | rdfs:range lvont:Script .
210 |
211 | lvont:usesScript
212 | a owl:ObjectProperty ;
213 | rdfs:comment """The property of a language being written or having being written in a specific
214 | script by a considerable group of language users."""@en ;
215 | rdfs:label "uses script"@en ;
216 | owl:inverseOf lvont:scriptFor ;
217 | rdfs:range lvont:Script .
218 |
219 | lvont:scriptFor
220 | a owl:ObjectProperty ;
221 | rdfs:comment """The property of a script being used for a particular language by
222 | a considerable of language users (but not necessarily the majority of all language users)."""@en ;
223 | rdfs:label "script for"@en ;
224 | owl:inverseOf lvont:usesScript ;
225 | rdfs:domain lvont:Script ;
226 | rdfs:range lvont:Language .
227 |
228 | lvont:usedIn
229 | a owl:ObjectProperty ;
230 | rdfs:comment """The property of a language or writing system
231 | being used somewhat extensively in a particular geographical region
232 | at some point in time."""@en ;
233 | rdfs:label "used in"@en ;
234 | rdfs:range lvont:GeographicRegion .
235 |
236 | lvont:hasCharacterComponent
237 | a owl:ObjectProperty ;
238 | rdfs:comment "The property of a character being composed of another character."@en ;
239 | rdfs:label "character component"@en ;
240 | rdfs:domain lvont:Character ;
241 | rdfs:range lvont:Character ;
242 | skos:note "Especially for CJK characters."@en .
243 |
244 | lvont:characterRadical
245 | a owl:ObjectProperty ;
246 | rdfs:comment """The property of a CJK character being conventionally
247 | associated with a CJK character radical."""@en ;
248 | rdfs:label "translation"@en ;
249 | rdfs:domain lvont:Character ;
250 | rdfs:range lvont:CJKRadical .
251 |
252 | lvont:nonRadicalStrokes
253 | a owl:DatatypeProperty ;
254 | rdfs:comment """The property of a character conventionally being
255 | written with a specific number strokes, excluding the strokes of its radical."""@en ;
256 | rdfs:label "non-radical strokes"@en ;
257 | rdfs:domain lvont:Character ;
258 | rdfs:range xsd:nonNegativeInteger ;
259 | skos:note "Especially for CJK characters."@en .
260 |
261 | lvont:broader
262 | a owl:ObjectProperty ;
263 | rdfs:comment "The property of having a broader, more generic concept."@en ;
264 | rdfs:label "broader"@en ;
265 | owl:inverseOf lvont:narrower ;
266 | lvont:somewhatSameAs skos:broader ;
267 | skos:note "Similar to skos:broader but domain and range are not restricted to skos:Concept instances."@en .
268 |
269 | lvont:narrower
270 | a owl:ObjectProperty ;
271 | rdfs:comment "The property of having a narrower, less generic concept."@en ;
272 | rdfs:label "narrower"@en ;
273 | owl:inverseOf lvont:broader ;
274 | lvont:somewhatSameAs skos:narrower ;
275 | skos:note "Similar to skos:narrower but domain and range are not restricted to skos:Concept instances."@en .
276 |
277 | lvont:memberOf
278 | a owl:ObjectProperty ;
279 | rdfs:comment "The property of being a member of a group."@en ;
280 | rdfs:label "member of"@en ;
281 | owl:inverseOf lvont:hasMember ;
282 | skos:note "For instance for geographic regions."@en .
283 |
284 | lvont:hasMember
285 | a owl:ObjectProperty ;
286 | rdfs:comment "The property of having a member."@en ;
287 | rdfs:label "has member"@en ;
288 | owl:inverseOf lvont:memberOf ;
289 | skos:note "For instance for geographic regions."@en .
290 |
291 | lvont:involves
292 | a owl:ObjectProperty ;
293 | rdfs:comment "The property of involving some entity, e.g. for semantic participants involved in a semantic frame."@en ;
294 | rdfs:label "involves"@en ;
295 | owl:inverseOf lvont:involvedIn .
296 |
297 | lvont:involvedIn
298 | a owl:ObjectProperty ;
299 | rdfs:comment "The property of being involved in something, e.g. for semantic participants' involvement in a semantic frame."@en ;
300 | rdfs:label "involved in"@en ;
301 | owl:inverseOf lvont:involves .
302 |
303 | lvont:evokes
304 | a owl:ObjectProperty ;
305 | rdfs:comment "The property of conceptually evoking some object."@en ;
306 | rdfs:label "evokes"@en ;
307 | owl:inverseOf lvont:evokes .
308 |
309 | lvont:lexicalCategory
310 | a owl:ObjectProperty ;
311 | rdfs:comment "A lexical category that a term can be used in."@en ;
312 | rdfs:label "lexical category"@en ;
313 | skos:note " For example, the English term \"score\" can be used as a noun and as a verb."@en .
314 |
315 | lvont:isFocusOf
316 | a owl:ObjectProperty ;
317 | owl:inverseOf foaf:focus ;
318 | rdfs:label "is focus of"@en ;
319 | skos:note """The isFocusOf relates an entity to relevant SKOS concepts
320 | that are conceptualizations of the same entity. This is the inverse of the
321 | standard foaf:focus property, which connects a SKOS concept to a relevant
322 | non-conceptualized entity."""@en .
--------------------------------------------------------------------------------
/imports/rdfs.ttl:
--------------------------------------------------------------------------------
1 | @prefix rdf: .
2 | @prefix rdfs: .
3 | @prefix owl: .
4 | @prefix dc: .
5 |
6 | a owl:Ontology ;
7 | dc:title "The RDF Schema vocabulary (RDFS)" .
8 |
9 | rdfs:Resource a rdfs:Class ;
10 | rdfs:isDefinedBy ;
11 | rdfs:label "Resource" ;
12 | rdfs:comment "The class resource, everything." .
13 |
14 | rdfs:Class a rdfs:Class ;
15 | rdfs:isDefinedBy ;
16 | rdfs:label "Class" ;
17 | rdfs:comment "The class of classes." ;
18 | rdfs:subClassOf rdfs:Resource .
19 |
20 | rdfs:subClassOf a rdf:Property ;
21 | rdfs:isDefinedBy ;
22 | rdfs:label "subClassOf" ;
23 | rdfs:comment "The subject is a subclass of a class." ;
24 | rdfs:range rdfs:Class ;
25 | rdfs:domain rdfs:Class .
26 |
27 | rdfs:subPropertyOf a rdf:Property ;
28 | rdfs:isDefinedBy ;
29 | rdfs:label "subPropertyOf" ;
30 | rdfs:comment "The subject is a subproperty of a property." ;
31 | rdfs:range rdf:Property ;
32 | rdfs:domain rdf:Property .
33 |
34 | rdfs:comment a rdf:Property ;
35 | rdfs:isDefinedBy ;
36 | rdfs:label "comment" ;
37 | rdfs:comment "A description of the subject resource." ;
38 | rdfs:domain rdfs:Resource ;
39 | rdfs:range rdfs:Literal .
40 |
41 | rdfs:label a rdf:Property ;
42 | rdfs:isDefinedBy ;
43 | rdfs:label "label" ;
44 | rdfs:comment "A human-readable name for the subject." ;
45 | rdfs:domain rdfs:Resource ;
46 | rdfs:range rdfs:Literal .
47 |
48 | rdfs:domain a rdf:Property ;
49 | rdfs:isDefinedBy ;
50 | rdfs:label "domain" ;
51 | rdfs:comment "A domain of the subject property." ;
52 | rdfs:range rdfs:Class ;
53 | rdfs:domain rdf:Property .
54 |
55 | rdfs:range a rdf:Property ;
56 | rdfs:isDefinedBy ;
57 | rdfs:label "range" ;
58 | rdfs:comment "A range of the subject property." ;
59 | rdfs:range rdfs:Class ;
60 | rdfs:domain rdf:Property .
61 |
62 | rdfs:seeAlso a rdf:Property ;
63 | rdfs:isDefinedBy ;
64 | rdfs:label "seeAlso" ;
65 | rdfs:comment "Further information about the subject resource." ;
66 | rdfs:range rdfs:Resource ;
67 | rdfs:domain rdfs:Resource .
68 |
69 | rdfs:isDefinedBy a rdf:Property ;
70 | rdfs:isDefinedBy ;
71 | rdfs:subPropertyOf rdfs:seeAlso ;
72 | rdfs:label "isDefinedBy" ;
73 | rdfs:comment "The defininition of the subject resource." ;
74 | rdfs:range rdfs:Resource ;
75 | rdfs:domain rdfs:Resource .
76 |
77 | rdfs:Literal a rdfs:Class ;
78 | rdfs:isDefinedBy ;
79 | rdfs:label "Literal" ;
80 | rdfs:comment "The class of literal values, eg. textual strings and integers." ;
81 | rdfs:subClassOf rdfs:Resource .
82 |
83 | rdfs:Container a rdfs:Class ;
84 | rdfs:isDefinedBy ;
85 | rdfs:label "Container" ;
86 | rdfs:subClassOf rdfs:Resource ;
87 | rdfs:comment "The class of RDF containers." .
88 |
89 | rdfs:ContainerMembershipProperty a rdfs:Class ;
90 | rdfs:isDefinedBy ;
91 | rdfs:label "ContainerMembershipProperty" ;
92 | rdfs:comment """The class of container membership properties, rdf:_1, rdf:_2, ...,
93 | all of which are sub-properties of 'member'.""" ;
94 | rdfs:subClassOf rdf:Property .
95 |
96 | rdfs:member a rdf:Property ;
97 | rdfs:isDefinedBy ;
98 | rdfs:label "member" ;
99 | rdfs:comment "A member of the subject resource." ;
100 | rdfs:domain rdfs:Resource ;
101 | rdfs:range rdfs:Resource .
102 |
103 | rdfs:Datatype a rdfs:Class ;
104 | rdfs:isDefinedBy ;
105 | rdfs:label "Datatype" ;
106 | rdfs:comment "The class of RDF datatypes." ;
107 | rdfs:subClassOf rdfs:Class .
108 |
109 | rdfs:seeAlso .
--------------------------------------------------------------------------------
/imports/void.rdf:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 | Vocabulary of Interlinked Datasets (VoID)
14 | The Vocabulary of Interlinked Datasets (VoID) is an RDF Schema vocabulary for expressing metadata about RDF datasets. It is intended as a bridge between the publishers and users of RDF data, with applications ranging from data discovery to cataloging and archiving of datasets. This document provides a formal definition of the new RDF classes and properties introduced for VoID. It is a companion to the main specification document for VoID, <em><a href="http://www.w3.org/TR/void/">Describing Linked Datasets with the VoID Vocabulary</a></em>.
15 | 2011-03-06
16 | http://rdfs.org/ns/void#
17 | void
18 |
19 | 2010-01-26
20 | http://vocab.deri.ie/void#Digital%20Enterprise%20Research%20Institute%2C%20NUI%20Galway
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 | http://vocab.deri.ie/void.ttl
33 |
34 |
35 |
36 |
37 |
38 | http://vocab.deri.ie/void.rdf
39 |
40 |
41 |
42 |
43 | Richard Cyganiak
44 |
45 |
46 |
47 |
48 |
49 |
50 | Digital Enterprise Research Institute, NUI Galway
51 |
52 |
53 |
54 |
55 | Jun Zhao
56 |
57 |
58 |
59 |
60 |
61 |
62 | Department of Zoology, University of Oxford
63 |
64 |
65 |
66 |
67 | Keith Alexander
68 |
69 |
70 |
71 |
72 |
73 |
74 | Talis
75 |
76 |
77 |
78 |
79 | Michael Hausenblas
80 |
81 |
82 |
83 |
84 |
85 |
86 | LiDRC
87 |
88 |
89 |
90 |
91 |
92 | dataset
93 | A set of RDF triples that are published, maintained or aggregated by a single provider.
94 |
95 |
96 |
97 |
98 | linkset
99 | A collection of RDF links between two void:Datasets.
100 |
101 |
102 |
103 |
104 |
105 | technical feature
106 | A technical feature of a void:Dataset, such as a supported RDF serialization format.
107 |
108 |
109 |
110 |
111 | dataset description
112 | A web resource whose foaf:primaryTopic or foaf:topics include void:Datasets.
113 |
114 |
115 |
116 |
117 | feature
118 |
119 |
120 |
121 |
122 |
123 | has subset
124 |
125 |
126 |
127 |
128 |
129 | Target
130 | One of the two datasets linked by the Linkset.
131 |
132 |
133 |
134 |
135 |
136 | has a SPARQL endpoint at
137 |
138 |
139 |
140 |
141 | a link predicate
142 |
143 |
144 |
145 |
146 |
147 | example resource of dataset
148 |
149 |
150 |
151 |
152 |
153 | vocabulary
154 | A vocabulary that is used in the dataset.
155 |
156 |
157 |
158 |
159 |
160 | Subjects Target
161 | The dataset describing the subjects of triples contained in the Linkset.
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 | Objects Target
170 | The dataset describing the objects of the triples contained in the Linkset.
171 |
172 |
173 |
174 |
175 |
176 |
177 | Data Dump
178 | An RDF dump, partial or complete, of a void:Dataset.
179 |
180 |
181 |
182 |
183 |
184 | has an URI look-up endpoint at
185 | Defines a simple URI look-up protocol for accessing a dataset.
186 |
187 |
188 |
189 |
190 | has URI regular expression pattern
191 | Defines a regular expression pattern matching URIs in the dataset.
192 |
193 |
194 |
195 |
196 |
197 | class
198 | The rdfs:Class that is the rdf:type of all entities in a class-based partition.
199 |
200 |
201 |
202 |
203 |
204 |
205 | classes
206 | The total number of distinct classes in a void:Dataset. In other words, the number of distinct resources occuring as objects of rdf:type triples in the dataset.
207 |
208 |
209 |
210 |
211 |
212 | class partition
213 | A subset of a void:Dataset that contains only the entities of a certain rdfs:Class.
214 |
215 |
216 |
217 |
218 |
219 |
220 |
221 | distinct objects
222 | The total number of distinct objects in a void:Dataset. In other words, the number of distinct resources that occur in the object position of triples in the dataset. Literals are included in this count.
223 |
224 |
225 |
226 |
227 |
228 |
229 | distinct subjects
230 | The total number of distinct subjects in a void:Dataset. In other words, the number of distinct resources that occur in the subject position of triples in the dataset.
231 |
232 |
233 |
234 |
235 |
236 |
237 | number of documents
238 | The total number of documents, for datasets that are published as a set of individual documents, such as RDF/XML documents or RDFa-annotated web pages. Non-RDF documents, such as web pages in HTML or images, are usually not included in this count. This property is intended for datasets where the total number of triples or entities is hard to determine. void:triples or void:entities should be preferred where practical.
239 |
240 |
241 |
242 |
243 |
244 |
245 | number of entities
246 | The total number of entities that are described in a void:Dataset.
247 |
248 |
249 |
250 |
251 |
252 | in dataset
253 | Points to the void:Dataset that a document is a part of.
254 |
255 |
256 |
257 |
258 |
259 | open search description
260 | An OpenSearch description document for a free-text search service over a void:Dataset.
261 |
262 |
263 |
264 |
265 |
266 |
267 | number of properties
268 | The total number of distinct properties in a void:Dataset. In other words, the number of distinct resources that occur in the predicate position of triples in the dataset.
269 |
270 |
271 |
272 |
273 |
274 |
275 | property
276 | The rdf:Property that is the predicate of all triples in a property-based partition.
277 |
278 |
279 |
280 |
281 |
282 | property partition
283 | A subset of a void:Dataset that contains only the triples of a certain rdf:Property.
284 |
285 |
286 |
287 |
288 |
289 |
290 | root resource
291 | A top concept or entry point for a void:Dataset that is structured in a tree-like fashion. All resources in a dataset can be reached by following links from its root resources in a small number of steps.
292 |
293 |
294 |
295 |
296 |
297 | number of triples
298 | The total number of triples contained in a void:Dataset.
299 |
300 |
301 |
302 |
303 |
304 |
305 | URI space
306 | A URI that is a common string prefix of all the entity URIs in a void:Dataset.
307 |
308 |
309 |
310 |
311 |
--------------------------------------------------------------------------------
/imports/void.ttl:
--------------------------------------------------------------------------------
1 | @prefix rdf: .
2 | @prefix owl: .
3 | @prefix dcterms: .
4 | @prefix vann: .
5 | @prefix foaf: .
6 | @prefix dc: .
7 | @prefix adms: .
8 | @prefix rdfs: .
9 |
10 |
11 | a rdfs:Class, owl:Class ;
12 | rdfs:comment "A set of RDF triples that are published, maintained or aggregated by a single provider." ;
13 | rdfs:label "dataset" .
14 |
15 |
16 | a rdfs:Class, owl:Class ;
17 | rdfs:comment "A web resource whose foaf:primaryTopic or foaf:topics include void:Datasets." ;
18 | rdfs:label "dataset description" ;
19 | rdfs:subClassOf foaf:Document .
20 |
21 |
22 | a rdfs:Class, owl:Class ;
23 | rdfs:comment "A collection of RDF links between two void:Datasets." ;
24 | rdfs:label "linkset" ;
25 | rdfs:subClassOf .
26 |
27 |
28 | a rdfs:Class, owl:Class ;
29 | rdfs:comment "A technical feature of a void:Dataset, such as a supported RDF serialization format." ;
30 | rdfs:label "technical feature" .
31 |
32 |
33 | a rdf:Property, owl:FunctionalProperty ;
34 | rdfs:comment "The rdfs:Class that is the rdf:type of all entities in a class-based partition." ;
35 | rdfs:domain ;
36 | rdfs:label "class" ;
37 | rdfs:range rdfs:Class .
38 |
39 |
40 | a rdf:Property ;
41 | rdfs:comment "A subset of a void:Dataset that contains only the entities of a certain rdfs:Class." ;
42 | rdfs:domain ;
43 | rdfs:label "class partition" ;
44 | rdfs:range ;
45 | rdfs:subPropertyOf .
46 |
47 |
48 | a rdf:Property, owl:DatatypeProperty ;
49 | rdfs:comment "The total number of distinct classes in a void:Dataset. In other words, the number of distinct resources occuring as objects of rdf:type triples in the dataset." ;
50 | rdfs:domain ;
51 | rdfs:label "classes" ;
52 | rdfs:range .
53 |
54 |
55 | a rdf:Property ;
56 | rdfs:comment "An RDF dump, partial or complete, of a void:Dataset." ;
57 | rdfs:domain ;
58 | rdfs:label "Data Dump" ;
59 | rdfs:range rdfs:Resource .
60 |
61 |
62 | a rdf:Property, owl:DatatypeProperty ;
63 | rdfs:comment "The total number of distinct objects in a void:Dataset. In other words, the number of distinct resources that occur in the object position of triples in the dataset. Literals are included in this count." ;
64 | rdfs:domain ;
65 | rdfs:label "distinct objects" ;
66 | rdfs:range .
67 |
68 |
69 | a rdf:Property, owl:DatatypeProperty ;
70 | rdfs:comment "The total number of distinct subjects in a void:Dataset. In other words, the number of distinct resources that occur in the subject position of triples in the dataset." ;
71 | rdfs:domain ;
72 | rdfs:label "distinct subjects" ;
73 | rdfs:range .
74 |
75 |
76 | a rdf:Property, owl:DatatypeProperty ;
77 | rdfs:comment "The total number of documents, for datasets that are published as a set of individual documents, such as RDF/XML documents or RDFa-annotated web pages. Non-RDF documents, such as web pages in HTML or images, are usually not included in this count. This property is intended for datasets where the total number of triples or entities is hard to determine. void:triples or void:entities should be preferred where practical." ;
78 | rdfs:domain ;
79 | rdfs:label "number of documents" ;
80 | rdfs:range .
81 |
82 |
83 | a rdf:Property, owl:DatatypeProperty ;
84 | rdfs:comment "The total number of entities that are described in a void:Dataset." ;
85 | rdfs:domain ;
86 | rdfs:label "number of entities" ;
87 | rdfs:range .
88 |
89 |
90 | a rdf:Property ;
91 | rdfs:domain ;
92 | rdfs:label "example resource of dataset" ;
93 | rdfs:range rdfs:Resource .
94 |
95 |
96 | a rdf:Property ;
97 | rdfs:domain ;
98 | rdfs:label "feature" ;
99 | rdfs:range .
100 |
101 |
102 | a rdf:Property ;
103 | rdfs:comment "Points to the void:Dataset that a document is a part of." ;
104 | rdfs:domain foaf:Document ;
105 | rdfs:label "in dataset" ;
106 | rdfs:range .
107 |
108 |
109 | a rdf:Property ;
110 | rdfs:domain ;
111 | rdfs:label "a link predicate" ;
112 | rdfs:range rdf:Property .
113 |
114 |
115 | a rdf:Property, owl:FunctionalProperty ;
116 | rdfs:comment "The dataset describing the objects of the triples contained in the Linkset." ;
117 | rdfs:domain ;
118 | rdfs:label "Objects Target" ;
119 | rdfs:range ;
120 | rdfs:subPropertyOf .
121 |
122 |
123 | a rdf:Property ;
124 | rdfs:comment "An OpenSearch description document for a free-text search service over a void:Dataset." ;
125 | rdfs:domain ;
126 | rdfs:label "open search description" ;
127 | rdfs:range foaf:Document .
128 |
129 |
130 | a rdf:Property, owl:DatatypeProperty ;
131 | rdfs:comment "The total number of distinct properties in a void:Dataset. In other words, the number of distinct resources that occur in the predicate position of triples in the dataset." ;
132 | rdfs:domain ;
133 | rdfs:label "number of properties" ;
134 | rdfs:range .
135 |
136 |
137 | a rdf:Property, owl:FunctionalProperty ;
138 | rdfs:comment "The rdf:Property that is the predicate of all triples in a property-based partition." ;
139 | rdfs:domain ;
140 | rdfs:label "property" ;
141 | rdfs:range rdf:Property .
142 |
143 |
144 | a rdf:Property ;
145 | rdfs:comment "A subset of a void:Dataset that contains only the triples of a certain rdf:Property." ;
146 | rdfs:domain ;
147 | rdfs:label "property partition" ;
148 | rdfs:range ;
149 | rdfs:subPropertyOf .
150 |
151 |
152 | a rdf:Property ;
153 | rdfs:comment "A top concept or entry point for a void:Dataset that is structured in a tree-like fashion. All resources in a dataset can be reached by following links from its root resources in a small number of steps." ;
154 | rdfs:domain ;
155 | rdfs:label "root resource" .
156 |
157 |
158 | a rdf:Property ;
159 | rdfs:domain ;
160 | rdfs:label "has a SPARQL endpoint at" .
161 |
162 |
163 | a rdf:Property, owl:FunctionalProperty ;
164 | rdfs:comment "The dataset describing the subjects of triples contained in the Linkset." ;
165 | rdfs:domain ;
166 | rdfs:label "Subjects Target" ;
167 | rdfs:range ;
168 | rdfs:subPropertyOf .
169 |
170 |
171 | a rdf:Property ;
172 | rdfs:domain ;
173 | rdfs:label "has subset" ;
174 | rdfs:range .
175 |
176 |
177 | a rdf:Property ;
178 | rdfs:comment "One of the two datasets linked by the Linkset." ;
179 | rdfs:domain ;
180 | rdfs:label "Target" ;
181 | rdfs:range .
182 |
183 |
184 | a rdf:Property, owl:DatatypeProperty ;
185 | rdfs:comment "The total number of triples contained in a void:Dataset." ;
186 | rdfs:domain ;
187 | rdfs:label "number of triples" ;
188 | rdfs:range .
189 |
190 |
191 | a rdf:Property ;
192 | rdfs:comment "Defines a simple URI look-up protocol for accessing a dataset." ;
193 | rdfs:domain ;
194 | rdfs:label "has an URI look-up endpoint at" .
195 |
196 |
197 | a rdf:Property ;
198 | rdfs:comment "Defines a regular expression pattern matching URIs in the dataset." ;
199 | rdfs:domain ;
200 | rdfs:label "has URI regular expression pattern" .
201 |
202 |
203 | a rdf:Property, owl:DatatypeProperty ;
204 | rdfs:comment "A URI that is a common string prefix of all the entity URIs in a void:Dataset." ;
205 | rdfs:domain ;
206 | rdfs:label "URI space" ;
207 | rdfs:range rdfs:Literal .
208 |
209 |
210 | a rdf:Property ;
211 | rdfs:comment "A vocabulary that is used in the dataset." ;
212 | rdfs:domain ;
213 | rdfs:label "vocabulary" .
214 |
215 |
216 | dc:creator , , , ;
217 | dcterms:created "2010-01-26"^^ ;
218 | dcterms:description "The Vocabulary of Interlinked Datasets (VoID) is an RDF Schema vocabulary for expressing metadata about RDF datasets. It is intended as a bridge between the publishers and users of RDF data, with applications ranging from data discovery to cataloging and archiving of datasets. This document provides a formal definition of the new RDF classes and properties introduced for VoID. It is a companion to the main specification document for VoID, Describing Linked Datasets with the VoID Vocabulary." ;
219 | dcterms:modified "2011-03-06"^^ ;
220 | dcterms:partOf ;
221 | dcterms:publisher "http://vocab.deri.ie/void#Digital%20Enterprise%20Research%20Institute%2C%20NUI%20Galway" ;
222 | dcterms:status ;
223 | dcterms:title "Vocabulary of Interlinked Datasets (VoID)" ;
224 | dcterms:type ;
225 | vann:preferredNamespacePrefix "void" ;
226 | vann:preferredNamespaceUri "http://rdfs.org/ns/void#" ;
227 | a owl:Ontology, adms:SemanticAsset ;
228 | foaf:homepage .
229 |
230 |
231 | a dcterms:Agent ;
232 | foaf:homepage ;
233 | foaf:member ;
234 | foaf:name "Department of Zoology, University of Oxford" .
235 |
236 |
237 | a dcterms:Agent ;
238 | foaf:homepage ;
239 | foaf:member ;
240 | foaf:name "Digital Enterprise Research Institute, NUI Galway" .
241 |
242 |
243 | a dcterms:Agent ;
244 | foaf:homepage ;
245 | foaf:member ;
246 | foaf:name "LiDRC" .
247 |
248 |
249 | a foaf:Person ;
250 | foaf:homepage ;
251 | foaf:mbox ;
252 | foaf:name "Michael Hausenblas" .
253 |
254 |
255 | a dcterms:Agent ;
256 | foaf:homepage ;
257 | foaf:member ;
258 | foaf:name "Talis" .
259 |
260 |
261 | a foaf:Person ;
262 | foaf:homepage ;
263 | foaf:mbox ;
264 | foaf:name "Richard Cyganiak" .
265 |
266 |
267 | a foaf:Person ;
268 | foaf:homepage ;
269 | foaf:mbox ;
270 | foaf:name "Jun Zhao" .
271 |
272 |
273 | a foaf:Person ;
274 | foaf:homepage ;
275 | foaf:mbox ;
276 | foaf:name "Keith Alexander" .
277 |
278 |
279 | dcterms:FileFormat "" ;
280 | a adms:SemanticDistribution ;
281 | adms:accessURL "http://vocab.deri.ie/void.rdf" ;
282 | adms:status .
283 |
284 |
285 | dcterms:FileFormat "" ;
286 | a adms:SemanticDistribution ;
287 | adms:accessURL "http://vocab.deri.ie/void.ttl" ;
288 | adms:status .
289 |
290 |
--------------------------------------------------------------------------------
/ld/LinkedDataExtension.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/ld/LinkedDataExtension.pdf
--------------------------------------------------------------------------------
/ld/LinkedDataExtension.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/ld/LinkedDataExtension.png
--------------------------------------------------------------------------------
/ld/dataid-ld-shapes.ttl:
--------------------------------------------------------------------------------
1 | @prefix rdf: .
2 | @prefix dataid: .
3 | @prefix dcat: .
4 | @prefix dct: .
5 | @prefix odrl: .
6 | @prefix owl: .
7 | @prefix prov: .
8 | @prefix rdfs: