├── .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 | ![alt tag](https://raw.githubusercontent.com/dbpedia/DataId-Ontology/master/DataID%20onion.png) 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 | ![alt tag](https://raw.githubusercontent.com/dbpedia/DataId-Ontology/master/DataIdOntology.png) 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: . 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 sh: . 18 | @prefix dataid-ld: . 19 | @prefix shapes-ld: . 20 | 21 | 22 | ### This document is a shape definition for Classes of the DataID core ontology 23 | ### By using SHACL (Shapes Constraint Language - http://w3c.github.io/data-shapes/shacl) 24 | ### we can define a quasi closed world sub context for the definition of a valid DataIDs, 25 | ### while adhearing to the open world assumption of OWL in the definition of the Ontology. 26 | ### 27 | ### All DataIDs must reflect the constraint defined in this document to be considered as 'valid'. 28 | ### Additional shape definitions on top of the ones in this document will be introduced parallel 29 | 30 | shapes-ld:Linkset a sh:Shape; 31 | sh:scopeClass dataid-ld:Linkset ; 32 | sh:property [ 33 | sh:predicate dataid:previousVersion ; 34 | sh:class dataid-ld:Linkset 35 | ] ; 36 | sh:property [ 37 | sh:predicate dataid:previousVersion ; 38 | sh:minCount 1 ; 39 | sh:severity sh:Warning ; 40 | sh:message "Pointing to a previous version of a DataID is recommended."@en 41 | ] ; 42 | sh:property [ 43 | sh:predicate dataid:latestVersion ; 44 | sh:maxCount 1 ; 45 | sh:class dataid-ld:Linkset 46 | ] ; 47 | sh:property [ 48 | sh:predicate dataid:latestVersion ; 49 | sh:minCount 1 ; 50 | sh:severity sh:Warning ; 51 | sh:message "Pointing to the latest version of a DataID is recommended."@en 52 | ] ; 53 | sh:property [ 54 | sh:predicate dataid:nextVersion ; 55 | sh:class dataid-ld:Linkset 56 | ] ; 57 | sh:property [ 58 | sh:predicate dct:hasVersion ; 59 | sh:class dataid:SimpleStatement 60 | ] ; 61 | sh:property [ 62 | sh:predicate dct:hasVersion ; 63 | sh:minCount 1 ; 64 | sh:severity sh:Warning ; 65 | sh:message "Providing a human readable version statement (dc:hasVersion) is recommended."@en 66 | ] ; 67 | sh:property [ 68 | sh:predicate void:objectsTarget ; 69 | sh:maxCount 1 ; 70 | sh:minCount 1 ; 71 | sh:class void:Dataset 72 | ] ; 73 | sh:property [ 74 | sh:predicate void:subjectsTarget ; 75 | sh:maxCount 1 ; 76 | sh:minCount 1 ; 77 | sh:class void:Dataset 78 | ] ; 79 | sh:property [ 80 | sh:predicate void:triples ; 81 | sh:maxCount 1 ; 82 | sh:minCount 1 83 | ] ; 84 | sh:property [ 85 | sh:predicate dct:modified ; 86 | sh:minCount 1 ; 87 | sh:maxCount 1 ; 88 | sh:datatype xsd:dateTime 89 | ] ; 90 | sh:property [ 91 | sh:predicate dct:issued ; 92 | sh:maxCount 1 ; 93 | sh:datatype xsd:dateTime 94 | ] ; 95 | sh:property [ 96 | sh:predicate dataid:hasAccessLevel ; 97 | sh:maxCount 1 98 | ] ; 99 | sh:constraint [ 100 | sh:or ( 101 | [ 102 | sh:property [ 103 | sh:predicate dataid:hasAccessLevel ; 104 | sh:minCount 1 105 | ] 106 | ] 107 | [ 108 | sh:property [ 109 | sh:predicate dataid:hasEntityContext ; 110 | sh:minCount 1 ; 111 | ] 112 | ] 113 | ) 114 | ]. 115 | 116 | shapes-ld:Dataset a sh:Shape; 117 | sh:scopeClass dataid:Dataset ; 118 | sh:property [ 119 | sh:predicate void:distinctSubjects ; 120 | sh:maxCount 1 121 | ] ; 122 | sh:property [ 123 | sh:predicate void:properties ; 124 | sh:maxCount 1 125 | ] ; 126 | sh:property [ 127 | sh:predicate void:triples ; 128 | sh:maxCount 1 129 | ] ; 130 | sh:property [ 131 | sh:predicate void:triples ; 132 | sh:minCount 1 ; 133 | sh:severity sh:Warning; 134 | sh:message "a Linked Data dataset should contain the void:triples property"@en 135 | ] ; 136 | sh:property [ 137 | sh:predicate void:distinctObjects ; 138 | sh:maxCount 1 139 | ] . 140 | 141 | shapes-ld:Distribution a sh:Shape; 142 | sh:scopeClass dataid:Distribution ; 143 | sh:property [ 144 | sh:predicate dataid-ld:graphName ; 145 | sh:maxCount 1 146 | ] . 147 | 148 | shapes-ld:SparqlEndpoint a sh:Shape; 149 | sh:scopeClass dataid-ld:SparqlEndpoint ; 150 | sh:property [ 151 | sh:predicate dcat:accessURL ; 152 | sh:minCount 1 ; 153 | sh:maxCount 1 154 | ] ; 155 | sh:property [ 156 | sh:predicate dcat:downloadURL ; 157 | sh:maxCount 0 158 | ] . 159 | 160 | -------------------------------------------------------------------------------- /ld/dataid-ld.ttl: -------------------------------------------------------------------------------- 1 | @prefix rdf: . 2 | @prefix dataid: . 3 | @prefix dcat: . 4 | @prefix dct: . 5 | @prefix owl: . 6 | @prefix prov: . 7 | @prefix rdfs: . 8 | @prefix void: . 9 | @prefix xml: . 10 | @prefix xsd: . 11 | @prefix foaf: . 12 | @prefix odrl: . 13 | @prefix vann: . 14 | @prefix sd: . 15 | @prefix dataid-ld: . 16 | 17 | 18 | a owl:Ontology ; 19 | vann:preferredNamespaceUri ; 20 | vann:preferredNamespacePrefix "dataid"^^xsd:string ; 21 | rdfs:isDefinedBy ; 22 | owl:versionInfo "2.0" ; 23 | dct:modified "2016-04-30" ; 24 | rdfs:comment "This is the Linked Data extension ontology for DataID , describing Linked Data specific, additional properties and Classes (heavily depending on VOID)."@en ; 25 | rdfs:label "DataID - Linked Data"@en ; 26 | dct:license ; 27 | dct:creator ; 28 | owl:imports . 29 | 30 | 31 | a dataid:Agent ; 32 | foaf:mbox "freudenberg@informatik.uni-leipzig.de" ; 33 | foaf:name "Markus Freudenberg" . 34 | 35 | dataid-ld:LinkedDataDataset 36 | a owl:Class ; 37 | rdfs:isDefinedBy ; 38 | rdfs:label "Linked Data Dataset"@en ; 39 | rdfs:comment "A Dataset specific for "@en ; 40 | rdfs:subClassOf dataid:Dataset, sd:Dataset. 41 | 42 | dataid-ld:Linkset 43 | a owl:Class ; 44 | rdfs:isDefinedBy ; 45 | rdfs:label "Linkset"@en ; 46 | rdfs:comment "Entity representing the set of links between two datasets."@en ; 47 | rdfs:subClassOf void:Linkset, dataid:DatasetRelationship, sd:Dataset, prov:Entity, #prov:Entity ??? 48 | [ 49 | a owl:Restriction ; 50 | owl:allValuesFrom dataid-ld:Linkset ; 51 | owl:onProperty dataid:nextVersion 52 | ],[ 53 | a owl:Restriction ; 54 | owl:allValuesFrom dataid-ld:Linkset ; 55 | owl:onProperty dataid:previousVersion 56 | ],[ 57 | a owl:Restriction ; 58 | owl:allValuesFrom dataid-ld:Linkset ; 59 | owl:onProperty dataid:latestVersion 60 | ],[ 61 | a owl:Restriction ; 62 | owl:allValuesFrom odrl:Policy ; 63 | owl:onProperty dct:license 64 | ],[ 65 | a owl:Restriction ; 66 | owl:hasValue dataid:LinksetRole; 67 | owl:onProperty dataid:datasetRelationRole 68 | ]. 69 | 70 | dataid-ld:SparqlEndpoint 71 | a owl:Class ; 72 | rdfs:isDefinedBy ; 73 | rdfs:comment "A specific distribution, which is accessible via an access url and can be queried with the SPARQL language."@en ; 74 | rdfs:label "Sparql Endpoint"@en ; 75 | rdfs:subClassOf dataid:ServiceEndpoint, sd:Service. 76 | 77 | dataid-ld:containsLinks 78 | a owl:ObjectProperty ; 79 | rdfs:subPropertyOf dataid:qualifiedDatasetRelation ; 80 | rdfs:isDefinedBy ; 81 | rdfs:comment "Set of links to another dataset contained in this dataset"@en ; 82 | rdfs:domain dataid-ld:LinkedDataDataset ; 83 | rdfs:label "contains links"@en ; 84 | rdfs:range dataid-ld:Linkset . 85 | 86 | # single axioms: extending definitions of DataID core 87 | -------------------------------------------------------------------------------- /ns/.htaccess: -------------------------------------------------------------------------------- 1 | AddType text/turtle .ttl 2 | AddType application/rdf+xml .rdf 3 | #AddType application/n-triples .nt 4 | #AddType application/ld+json .jsonld 5 | AddType application/owl+xml .owl 6 | #AddType text/trig .trig 7 | #AddType application/n-quads .nq 8 | 9 | # Rewrite engine setup 10 | RewriteEngine On 11 | RewriteBase /ns 12 | 13 | # Rewrite rule to serve HTML content 14 | RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml) 15 | RewriteCond %{HTTP_ACCEPT} text/html [OR] 16 | RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR] 17 | RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.* 18 | RewriteRule ^core$ core.html [R=303,L] 19 | 20 | # Rewrite rule to serve RDF/XML content if requested 21 | RewriteCond %{HTTP_ACCEPT} application/rdf\+xml 22 | RewriteRule ^core$ core.rdf [R=303] 23 | 24 | # Rewrite rule to serve OWL/XML content if requested 25 | RewriteCond %{HTTP_ACCEPT} application/owl\+xml 26 | RewriteRule ^core$ core.owl [R=303] 27 | 28 | # Rewrite rule to serve TURTLE content if requested 29 | RewriteCond %{HTTP_ACCEPT} text/turtle 30 | RewriteRule ^core$ core.ttl [R=303] 31 | 32 | 33 | # Choose the default response 34 | RewriteRule ^core$ core.ttl [R=303] 35 | 36 | #rdqv 37 | RewriteRule ^rdqv$ rdqv.ttl [R=303] -------------------------------------------------------------------------------- /ns/css/custom.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Custom styles 4 | 5 | */ 6 | pre.Code,p.Code,li.Code,div.Code,span.Code { 7 | margin-top: 0in; 8 | margin-right: 0in; 9 | margin-bottom: 0pt; 10 | margin-left: 0in; 11 | line-height: 15.0pt; 12 | background: #E0E0E0; 13 | font-size: 10.0pt; 14 | font-family: "Courier New", monospace; 15 | color: black; 16 | overflow: auto; 17 | } 18 | 19 | .not-strong { 20 | font-weight: normal; 21 | } 22 | 23 | .toc1 { 24 | margin: 0in; 25 | margin-left: 0in; 26 | } 27 | 28 | .toc2 { 29 | margin: 0in; 30 | margin-left: .25in; 31 | } 32 | 33 | .toc3 { 34 | margin: 0in; 35 | margin-left: .5in; 36 | } 37 | 38 | table.common { 39 | border-width: 1px; 40 | border-style: outset; 41 | border-color: gray; 42 | border-collapse: separate; 43 | background-color: white; 44 | } 45 | table.common th { 46 | border-width: 1px; 47 | padding: 1px; 48 | border-style: inset; 49 | border-color: gray; 50 | background-color: white; 51 | } 52 | table.common td { 53 | border-width: 1px; 54 | padding: 1px; 55 | border-style: inset; 56 | border-color: gray; 57 | background-color: white; 58 | 59 | } 60 | 61 | 62 | /* 63 | 64 | base.css 65 | 66 | */ 67 | 68 | /* 69 | Copyright 1997-2003 W3C (MIT, ERCIM, Keio). All Rights Reserved. 70 | The following software licensing rules apply: 71 | http://www.w3.org/Consortium/Legal/copyright-software */ 72 | 73 | /* $Id: custom.css,v 1.2 2015/12/01 06:50:49 denis Exp $ */ 74 | 75 | body { 76 | padding: 2em 1em 2em 70px; 77 | margin: 0; 78 | font-family: sans-serif; 79 | color: black; 80 | background: white; 81 | background-position: top left; 82 | background-attachment: fixed; 83 | background-repeat: no-repeat; 84 | } 85 | :link { color: #00C; background: transparent } 86 | :visited { color: #609; background: transparent } 87 | a:active { color: #C00; background: transparent } 88 | 89 | a:link img, a:visited img { border-style: none } /* no border on img links */ 90 | 91 | a img { color: white; } /* trick to hide the border in Netscape 4 */ 92 | @media all { /* hide the next rule from Netscape 4 */ 93 | a img { color: inherit; } /* undo the color change above */ 94 | } 95 | 96 | th, td { /* ns 4 */ 97 | font-family: sans-serif; 98 | } 99 | 100 | h1, h2, h3, h4, h5, h6 { text-align: left } 101 | /* background should be transparent, but WebTV has a bug */ 102 | h1, h2 { color: #005A9C; background: white } 103 | h3 { color: black; background:#8080FF; } 104 | h1 { font: 170% sans-serif } 105 | h2 { font: 140% sans-serif } 106 | h3 { font: 120% sans-serif } 107 | h4 { font: bold 100% sans-serif } 108 | h5 { font: italic 100% sans-serif } 109 | h6 { font: small-caps 100% sans-serif } 110 | 111 | .hide { display: none } 112 | 113 | div.head { margin-bottom: 1em } 114 | div.head h1 { margin-top: 2em; clear: both } 115 | div.head table { margin-left: 2em; margin-top: 2em } 116 | 117 | p.copyright { font-size: small } 118 | p.copyright small { font-size: small } 119 | 120 | @media screen { /* hide from IE3 */ 121 | a[href]:hover { background: #ffa } 122 | } 123 | 124 | pre { margin-left: 2em } 125 | /* 126 | p { 127 | margin-top: 0.6em; 128 | margin-bottom: 0.6em; 129 | } 130 | */ 131 | dt, dd { margin-top: 0; margin-bottom: 0 } /* opera 3.50 */ 132 | dt { font-weight: bold } 133 | 134 | pre, code { font-family: monospace } /* navigator 4 requires this */ 135 | 136 | ul.toc, ol.toc { 137 | list-style: disc; /* Mac NS has problem with 'none' */ 138 | list-style: none; 139 | } 140 | 141 | @media aural { 142 | h1, h2, h3 { stress: 20; richness: 90 } 143 | .hide { speak: none } 144 | p.copyright { volume: x-soft; speech-rate: x-fast } 145 | dt { pause-before: 20% } 146 | pre { speak-punctuation: code } 147 | } 148 | 149 | div.caption { font-size: 80%; 150 | font-style: italic; 151 | text-align: center; } 152 | 153 | div.example { 154 | min-width: 750px; 155 | width: 90%; 156 | margin-top: 5px; 157 | background-color: #F6D8CE; 158 | } 159 | 160 | div.description { 161 | background-color: #F8E0EC; 162 | font: italic 90% sans-serif; 163 | } 164 | 165 | 166 | /* 167 | 168 | ezweb.css 169 | 170 | */ 171 | body { 172 | padding: 2em 8% 4em 8%; 173 | margin: 0; 174 | font-family: sans-serif; 175 | color: black; 176 | background: white; 177 | background-position: top left; 178 | background-attachment: fixed; 179 | background-repeat: no-repeat; 180 | } 181 | :link { color: #00C; background: transparent } 182 | :visited { color: #609; background: transparent } 183 | a:active { color: #C00; background: transparent } 184 | 185 | a:link img, a:visited img { border-style: none } /* no border on img links */ 186 | 187 | a img { color: white; } /* trick to hide the border in Netscape 4 */ 188 | @media all { /* hide the next rule from Netscape 4 */ 189 | a img { color: inherit; } /* undo the color change above */ 190 | } 191 | 192 | th, td { /* ns 4 */ 193 | font-family: sans-serif; 194 | } 195 | 196 | h1, h2, h4, h5, h6,.toc { text-align: left; color: #3d506f; } 197 | h3 { text-align: left; color: black; } 198 | /* background should be transparent, but WebTV has a bug */ 199 | /* h1, h2, h3 ,.toc { color: #660099; background: white } */ 200 | h1 { font: 170% sans-serif; display: inline; } 201 | h2, .toc b { font: 140% sans-serif } 202 | h2 { margin-top: 1em; } 203 | h3 { font: bold 120% sans-serif } 204 | h4 { font: bold 100% sans-serif } 205 | h5 { font: italic 100% sans-serif } 206 | h6 { font: small-caps 100% sans-serif } 207 | 208 | .hide { display: none } 209 | 210 | div.head { margin-bottom: 1em } 211 | div.constraint, div.issue, div.note, div.notice { margin-left: 2em; } 212 | div.exampleInner pre { margin-left: 1em; margin-top: 0em; margin-bottom: 0em} 213 | div.exampleOuter {border: 4px double gray; margin: 0em; padding: 0em} 214 | div.exampleInner { background-color: #FFE0FF; 215 | border-top-width: 4px; 216 | border-top-style: double; 217 | border-top-color: #0000FF; 218 | border-bottom-width: 4px; 219 | border-bottom-style: double; 220 | border-bottom-color: #0000FF; 221 | padding: 4px; margin: 0em } 222 | div.exampleWrapper { margin: 4px } 223 | div.exampleHeader { font-weight: bold; margin: 4px} 224 | div.term { font: 100% sans-serif; color:#000000; font-weight: bold; line-height: 60%} 225 | div.list { font: 100% sans-serif; color:#000000; font-weight: normal; line-height: 60%} 226 | 227 | .optional {text-decoration: line-through; display: none;} 228 | 229 | .copyright,.legalnotice { font-size: small } 230 | .copyright small { font-size: small } 231 | 232 | @media screen { /* hide from IE3 */ 233 | a[href]:hover { background: #ffa } 234 | } 235 | 236 | pre { margin-left: 2em } 237 | /* 238 | p { 239 | margin-top: 0.6em; 240 | margin-bottom: 0.6em; 241 | } 242 | */ 243 | dt, dd { margin-top: 0; margin-bottom: 0 } /* opera 3.50 */ 244 | dt { font-weight: normal } 245 | dt.fm {font-weight: normal; margin-top: 5px;} 246 | 247 | .ecma-block { border: 1px solid black; color: black; background-color: #dfdfdf; } 248 | 249 | pre, code { font-family: monospace } /* navigator 4 requires this */ 250 | 251 | ul.toc, ol.toc { 252 | list-style: disc; /* Mac NS has problem with 'none' */ 253 | list-style: none; 254 | } 255 | 256 | ol#toc, ol#toc ol { counter-reset: item } 257 | ol#toc li { display: block } 258 | ol#toc li:before { content: counters(item, ".") ". "; counter-increment: item } 259 | ol#appendix { list-style-type:upper-alpha; } 260 | 261 | ol.enumar { list-style-type: decimal; } 262 | ol.enumla { list-style-type: lower-alpha; } 263 | ol.enumlr { list-style-type: lower-roman; } 264 | ol.enumua { list-style-type: upper-alpha; } 265 | ol.enumur { list-style-type: upper-roman; } 266 | 267 | @media aural { 268 | h1, h2, h3 { stress: 20; richness: 90 } 269 | .hide { speak: none } 270 | p.copyright { volume: x-soft; speech-rate: x-fast } 271 | dt { pause-before: 20% } 272 | pre { speak-punctuation: code } 273 | } 274 | 275 | body { 276 | 277 | background-size: 6% 75%; 278 | } 279 | 280 | .toc dl dt { 281 | font-weight: normal; 282 | } 283 | 284 | img#ezweb { 285 | float: right; 286 | margin-right: 2em; 287 | } 288 | 289 | pre span.xml { 290 | font-weight: bold; 291 | } 292 | 293 | pre span.curie { 294 | font-weight: bold; 295 | color: #84008a; 296 | } 297 | 298 | pre span.uri { 299 | color: #4600ff; 300 | } 301 | 302 | div.specterm { 303 | padding: 0 0 10px 20px; 304 | border: 1px solid black; 305 | background-color: #F5E6FA; 306 | } 307 | 308 | dl#ontologieslist { 309 | margin-left: 2em; 310 | } 311 | 312 | dl#ontologieslist dt { 313 | margin-top: 2em; 314 | } 315 | 316 | div#footer { 317 | margin-top: 5em; 318 | border-top: 1px #3d506f solid; 319 | padding-top: 0.5em; 320 | font-size: 0.65em; 321 | } 322 | 323 | div#footer img#mitc { 324 | float: right; 325 | margin-left: 0.5em; 326 | } 327 | 328 | pre.example script { 329 | display:block; 330 | } 331 | .separated { border-collapse:collapse; } 332 | .separated thead tr th { border:1px solid black; padding: .2em; } 333 | .separated tbody tr td { border:1px solid black; text-align: center; } 334 | .separated tbody tr td.r { text-align: right; padding: .5em; } 335 | .grammar td { font-family: monospace; vertical-align: top; } 336 | .grammar-literal { color: gray;} 337 | .grammar_comment { color: #A52A2A; font-style: italic; } 338 | 339 | div.example-title { 340 | min-width: 7.5em; 341 | color: #0000FF; 342 | } 343 | div.example-title span { 344 | text-transform: uppercase; 345 | } 346 | aside.example, div.example, div.illegal-example { 347 | padding: 0.5em; 348 | margin: 1em 0; 349 | position: relative; 350 | clear: both; 351 | } 352 | div.illegal-example { color: red } 353 | div.illegal-example p { color: black } 354 | aside.example, div.example { 355 | padding: .5em; 356 | border-left-width: .5em; 357 | border-left-style: solid; 358 | border-color: #0000FF; 359 | background: #F5E6FA; 360 | } 361 | 362 | aside.example div.example { 363 | border-left-width: .1em; 364 | border-color: #999; 365 | background: #fff; 366 | } 367 | aside.example div.example div.example-title { 368 | color: #999; 369 | } 370 | 371 | -------------------------------------------------------------------------------- /ns/css/extra.css: -------------------------------------------------------------------------------- 1 | body { 2 | text-align: justify; 3 | } 4 | 5 | h1 { 6 | line-height: 110%; 7 | } 8 | 9 | .hlist { 10 | border: 1px solid navy; 11 | padding:5px; 12 | background-color: #F4FFFF; 13 | } 14 | 15 | .hlist li { 16 | display: inline; 17 | display: inline-table; 18 | list-style-type: none; 19 | padding-right: 20px; 20 | 21 | } 22 | 23 | .entity { 24 | border: 1px solid navy; 25 | margin:5px 0px 5px 0px; 26 | padding: 5px; 27 | } 28 | 29 | .type-c { 30 | cursor:help; 31 | color:orange; 32 | } 33 | 34 | .type-op { 35 | cursor:help; 36 | color:navy; 37 | } 38 | 39 | .type-dp { 40 | cursor:help; 41 | color:green; 42 | } 43 | 44 | .type-ap { 45 | cursor:help; 46 | color:maroon; 47 | } 48 | 49 | .type-ni { 50 | cursor:help; 51 | color:brown; 52 | } 53 | 54 | .logic { 55 | color:purple; 56 | font-weight:bold; 57 | } 58 | 59 | h3 { 60 | margin-top: 3px; 61 | padding-bottom: 5px; 62 | border-bottom: 1px solid navy; 63 | } 64 | 65 | h2 { 66 | margin-top:40px; 67 | } 68 | 69 | .dotted { 70 | border-bottom: 1px dotted gray; 71 | } 72 | 73 | dt { 74 | margin-top:5px; 75 | } 76 | 77 | .description { 78 | border-top: 1px dashed gray; 79 | border-bottom: 1px dashed gray; 80 | background-color: rgb(242, 243, 244); 81 | margin-top:5px; 82 | padding-bottom:5px; 83 | } 84 | 85 | .description dl { 86 | background-color: rgb(242, 243, 244); 87 | } 88 | 89 | .description ul { 90 | padding-left: 12px; 91 | margin-top: 0px; 92 | } 93 | 94 | .backlink { 95 | font-size:10pt; 96 | text-align:right; 97 | float:right; 98 | color:black; 99 | padding: 2px; 100 | border: 1px dotted navy; 101 | background-color: #F4FFFF; 102 | } 103 | 104 | .imageblock { 105 | text-align: center; 106 | } 107 | 108 | .imageblock img { 109 | border:1px solid gray; 110 | } 111 | 112 | .endnote { 113 | margin-top: 40px; 114 | border-top: 1px solid gray; 115 | padding-top: 10px; 116 | text-align: center; 117 | color:gray; 118 | font-size:70%; 119 | } 120 | 121 | .literal { 122 | color:green; 123 | font-style:italic; 124 | } -------------------------------------------------------------------------------- /ns/css/owl.css: -------------------------------------------------------------------------------- 1 | .RFC2119 { 2 | text-transform: lowercase; 3 | font-style: italic; 4 | } 5 | .nonterminal { 6 | font-weight: bold; 7 | font-family: sans-serif; 8 | font-size: 95%; 9 | } 10 | #abstract br { 11 | /* doesn't work right SOMETIMES 12 | margin-bottom: 1em; */ 13 | } 14 | .name { 15 | font-family: monospace; 16 | } 17 | .buttonpanel { 18 | margin-top: 1ex; 19 | margin-bottom: 1ex; 20 | padding-left: 1ex; 21 | padding-right: 1ex; 22 | padding-top: 1ex; 23 | padding-bottom: 0.6ex; 24 | border: 1px dotted black; 25 | } 26 | .grammar { 27 | margin-top: 1ex; 28 | margin-bottom: 1ex; 29 | padding-left: 1ex; 30 | padding-right: 1ex; 31 | padding-top: 1ex; 32 | padding-bottom: 0.6ex; 33 | border: 1px dashed #2f6fab; 34 | font-family: monospace; 35 | } 36 | .image { 37 | text-align: center; 38 | } 39 | .centered { 40 | text-align: center; 41 | padding-top: 4ex; 42 | padding-bottom: 4ex; 43 | } 44 | .centered table { 45 | margin: 0 auto; 46 | text-align: left; 47 | } 48 | .caption { 49 | font-weight: bold; 50 | } 51 | .indent { 52 | margin-left: 20px; 53 | } 54 | .atrisknote { 55 | padding: 5px; 56 | margin-top: 10px; 57 | margin-bottom: 10px; 58 | border: solid 2px blue; 59 | background-color: #FFA; 60 | } 61 | .atrisknotehead { 62 | font-style: italic; 63 | } 64 | 65 | /* Stying the examples. */ 66 | 67 | .anexample:before { 68 | content: "Example:"; 69 | font-family: sans-serif; 70 | font-size: 1.6ex; 71 | font-weight: bold; 72 | } 73 | .anexample { 74 | margin-top: 1ex; 75 | margin-bottom: 1ex; 76 | padding-left: 1ex; 77 | padding-right: 1ex; 78 | padding-top: 1ex; 79 | padding-bottom: 0.6ex; 80 | border: 1px dashed #2f6fab; 81 | background-color: #f9f9f9; 82 | } 83 | .anexample table { 84 | background-color: #f9f9f9; 85 | } 86 | 87 | /* Styling the parts in the functional-style syntax. */ 88 | 89 | div.fss { 90 | margin-top: 10px; 91 | margin-bottom: 10px; 92 | margin-left: 20px; 93 | margin-right: 20px; 94 | font-family: monospace; 95 | } 96 | table.fss { 97 | margin: 0px 0px 0px 0px; 98 | padding: 0px 0px 0px 0px; 99 | width: 100%; 100 | } 101 | table.fss caption.fss { 102 | font-size: 1.5ex; 103 | font-weight: bold; 104 | text-align: left; 105 | padding-left: 10px; 106 | } 107 | table.fss td:first-child { 108 | font-family: monospace; 109 | padding-left: 20px; 110 | padding-right: 20px; 111 | width: 60%; 112 | } 113 | 114 | /* Styling the parts in the RDF syntax. */ 115 | 116 | div.rdf{ 117 | margin-top: 10px; 118 | margin-bottom: 10px; 119 | margin-left: 20px; 120 | margin-right: 20px; 121 | font-family: monospace; 122 | } 123 | table.rdf { 124 | margin: 0px 0px 0px 0px; 125 | padding: 0px 0px 0px 0px; 126 | width: 100%; 127 | } 128 | table.rdf caption.rdf { 129 | font-size: 1.5ex; 130 | font-weight: bold; 131 | text-align: left; 132 | padding-left: 10px; 133 | } 134 | table.rdf td:first-child { 135 | font-family: monospace; 136 | padding-left: 20px; 137 | padding-right: 20px; 138 | width: 60%; 139 | } 140 | 141 | /* Styling the XML syntax. */ 142 | 143 | div.xmlsyn { 144 | margin-top: 10px; 145 | margin-bottom: 10px; 146 | margin-left: 20px; 147 | margin-right: 20px; 148 | font-family: monospace; 149 | } 150 | div.axioms { 151 | margin-top: 10px; 152 | margin-bottom: 10px; 153 | margin-left: 20px; 154 | margin-right: 20px; 155 | } 156 | 157 | /* Other styles. */ 158 | 159 | table.complexity td { 160 | text-align: center; 161 | } 162 | table.allname td { 163 | font-family: monospace; 164 | } 165 | table.canonicalparsing { 166 | margin-left: 20px; 167 | border-style: none; 168 | } 169 | table.canonicalparsing td { 170 | vertical-align: top; 171 | padding: 2px 2px 2px 2px; 172 | } 173 | table.canonicalparsing td.two { 174 | padding-left: 30px; 175 | } 176 | 177 | /* The following are classes for templates used in the editing process. */ 178 | 179 | .review { 180 | padding: 5px; 181 | border: solid 1px black; 182 | margin-left: 10%; 183 | margin-top: 10px; 184 | margin-bottom: 10px; 185 | background-color: #FFA; 186 | font-size: smaller; 187 | } 188 | .reviewauthor { 189 | font-size: smaller; 190 | font-style: italic; 191 | } 192 | .ednote { 193 | padding: 5px; 194 | border: solid 1px black; 195 | margin-top: 10px; 196 | margin-bottom: 10px; 197 | } 198 | .ednotehead { 199 | font-weight: bold; 200 | } 201 | 202 | /* override mediawiki's beautiful DL styling... */ 203 | dl { 204 | background: white; 205 | width: 100%; 206 | border: none; 207 | margin-top: 0; 208 | margin-bottom: 0; 209 | padding-top: 0; 210 | padding-bottom: 0; 211 | } 212 | 213 | div { 214 | margin-top: 0; 215 | margin-bottom: 0; 216 | } 217 | #fulltitle { 218 | font-size: 140%; 219 | font-weight: bold; 220 | } 221 | 222 | .xml { 223 | color: red 224 | } 225 | 226 | .rdbms{ 227 | color: red 228 | } 229 | 230 | /* just copying from wiki, so it stays through TR. Currently 231 | affects Primer, at least */ 232 | pre { 233 | background-color:#F9F9F9; 234 | border:1px dashed #2F6FAB; 235 | color:black; 236 | line-height:1.1em; 237 | padding:1em; 238 | } 239 | 240 | .image object { 241 | max-width: 100%; 242 | } -------------------------------------------------------------------------------- /ns/css/primer.css: -------------------------------------------------------------------------------- 1 | /* define a class "noprint" for sections which don't get printed */ 2 | .noprint { display: none; } 3 | 4 | /* our syntax menu for switching */ 5 | div.syntaxmenu { 6 | border: 1px dotted black; 7 | padding:0.5em; 8 | margin: 1em; 9 | } 10 | 11 | @media print { 12 | div.syntaxmenu { display:none; } 13 | } 14 | 15 | /* use tab-like headers for syntax examples */ 16 | div.exampleheader { 17 | font-size: 90%; 18 | float: left; 19 | background: #F9F9F9; 20 | color: #2F6FAB; 21 | border: 1px dashed #2F6FAB; 22 | border-bottom: 0px; 23 | padding-top: 2px; 24 | } 25 | 26 | div.exampleheader span.exampleheader { 27 | background: #F9F9F9; 28 | padding-top: 0px; 29 | padding-right: 10px; 30 | padding-left: 10px; 31 | padding-bottom: 3px; 32 | padding-top: 0px; 33 | } 34 | 35 | /* Also copy MediaWiki style here, so it will not look different when exported */ 36 | div.fssyntax pre, div.rdfxml pre, div.owlxml pre, div.turtle pre, div.manchester pre { 37 | background-color: #F9F9F9; 38 | border: 1px dashed #2F6FAB; 39 | color: black; 40 | line-height: 1.1em; 41 | padding: 1em; 42 | clear: both; 43 | margin-left: 0em; 44 | } 45 | /* (further styles directly embedded in header template) */ -------------------------------------------------------------------------------- /ns/css/rec.css: -------------------------------------------------------------------------------- 1 | /* Style for a "Recommendation" */ 2 | 3 | /* 4 | Copyright 1997-2003 W3C (MIT, ERCIM, Keio). All Rights Reserved. 5 | The following software licensing rules apply: 6 | http://www.w3.org/Consortium/Legal/copyright-software */ 7 | 8 | /* $Id: base.css,v 1.25 2006/04/18 08:42:53 bbos Exp $ */ 9 | 10 | body { 11 | padding: 2em 1em 2em 70px; 12 | margin: 0; 13 | font-family: sans-serif; 14 | color: black; 15 | background: white; 16 | background-position: top left; 17 | background-attachment: fixed; 18 | background-repeat: no-repeat; 19 | } 20 | :link { color: #00C; background: transparent } 21 | :visited { color: #609; background: transparent } 22 | a:active { color: #C00; background: transparent } 23 | 24 | a:link img, a:visited img { border-style: none } /* no border on img links */ 25 | 26 | a img { color: white; } /* trick to hide the border in Netscape 4 */ 27 | @media all { /* hide the next rule from Netscape 4 */ 28 | a img { color: inherit; } /* undo the color change above */ 29 | } 30 | 31 | th, td { /* ns 4 */ 32 | font-family: sans-serif; 33 | } 34 | 35 | h1, h2, h3, h4, h5, h6 { text-align: left } 36 | /* background should be transparent, but WebTV has a bug */ 37 | h1, h2, h3 { color: #005A9C; background: white } 38 | h1 { font: 170% sans-serif } 39 | h2 { font: 140% sans-serif } 40 | h3 { font: 120% sans-serif } 41 | h4 { font: bold 100% sans-serif } 42 | h5 { font: italic 100% sans-serif } 43 | h6 { font: small-caps 100% sans-serif } 44 | 45 | .hide { display: none } 46 | 47 | div.head { margin-bottom: 1em } 48 | div.head h1 { margin-top: 2em; clear: both } 49 | div.head table { margin-left: 2em; margin-top: 2em } 50 | 51 | p.copyright { font-size: small } 52 | p.copyright small { font-size: small } 53 | 54 | @media screen { /* hide from IE3 */ 55 | a[href]:hover { background: #ffa } 56 | } 57 | 58 | pre { margin-left: 2em } 59 | /* 60 | p { 61 | margin-top: 0.6em; 62 | margin-bottom: 0.6em; 63 | } 64 | */ 65 | dt, dd { margin-top: 0; margin-bottom: 0 } /* opera 3.50 */ 66 | dt { font-weight: bold } 67 | 68 | pre, code { font-family: monospace } /* navigator 4 requires this */ 69 | 70 | ul.toc, ol.toc { 71 | list-style: disc; /* Mac NS has problem with 'none' */ 72 | list-style: none; 73 | } 74 | 75 | @media aural { 76 | h1, h2, h3 { stress: 20; richness: 90 } 77 | .hide { speak: none } 78 | p.copyright { volume: x-soft; speech-rate: x-fast } 79 | dt { pause-before: 20% } 80 | pre { speak-punctuation: code } 81 | } -------------------------------------------------------------------------------- /ns/deref.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # RDF/XML 3 | rapper -i turtle -o rdfxml-abbrev core.ttl > core.rdf 4 | 5 | # OWL/XML 6 | wget "http://mowl-power.cs.man.ac.uk:8080/converter/convert?ontology=http://rdfunit.aksw.org/ns/core.ttl&format=OWL/XML" -O core.owl 7 | 8 | # HTML Display 9 | wget http://www.essepuntato.it/lode/http://dataid.dbpedia.org/ns/core.rdf -O core.html -------------------------------------------------------------------------------- /ns/evaluateTable.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 33 | 35 | 36 | 37 | 38 | 39 | 41 | 43 | 44 | 45 | 46 | 47 | 49 | 51 | 52 | 53 | 54 | 55 | 57 | 59 | 60 | 61 | 62 | 63 | 65 | 67 | 68 | 69 | 70 | 71 | 73 | 75 | 76 | 77 | 78 | 79 | 81 | 83 | 84 | 85 | 86 | 87 | 89 | 91 | 92 | 93 | 94 | 95 | 97 | 99 | 100 | 101 | 102 | 103 | 105 | 107 | 108 | 109 | 110 | 111 | 113 | 115 | 116 | 117 | 118 | 119 | 121 | 123 | 124 | 125 | 126 | 127 | 129 | 131 | 132 |
NoBest PracticeDCATDataID core
1Provide metadataProcessabilityProcessability
2Provide descriptive metadataProcessabilityProcessability
3Provide structural metadataProcessabilityProcessability
4Provide data license informationProcessabilityProcessability
5Provide data provenance informationProcessabilityProcessability
6Provide data quality informationProcessabilityProcessability
7Provide a version indicatorProcessabilityProcessability
8Provide version historyProcessabilityProcessability
9Use persistent URIs as identifiers of datasetsProcessabilityProcessability
11Assign URIs to dataset versions and seriesProcessabilityProcessability
12Use machine-readable standardized data formats (metadata)ProcessabilityProcessability
13Use locale-neutral data representations (metadata)ProcessabilityProcessability
35Cite the Original PublicationProcessabilityProcessability
133 | 134 | -------------------------------------------------------------------------------- /ns/images/DataID onion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/ns/images/DataID onion.png -------------------------------------------------------------------------------- /ns/images/DataIDcoreDCAT.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/ns/images/DataIDcoreDCAT.png -------------------------------------------------------------------------------- /ns/images/DataIDcorePROV.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/ns/images/DataIDcorePROV.png -------------------------------------------------------------------------------- /ns/images/DataIDonionSliced.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/ns/images/DataIDonionSliced.png -------------------------------------------------------------------------------- /ns/images/DataIdOntology.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/ns/images/DataIdOntology.png -------------------------------------------------------------------------------- /ns/images/Echo_curation_alt_check_mark.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /ns/images/Orange_question_mark.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /ns/images/access.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | A 8 | Access 9 | -------------------------------------------------------------------------------- /ns/images/ban-circle.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 49 | 50 | -------------------------------------------------------------------------------- /ns/images/comprehension.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | C 8 | Comprehension 9 | -------------------------------------------------------------------------------- /ns/images/dataid.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | DataID 7 | 8 | -------------------------------------------------------------------------------- /ns/images/dataidIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/ns/images/dataidIcon.png -------------------------------------------------------------------------------- /ns/images/dataidlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/ns/images/dataidlogo.png -------------------------------------------------------------------------------- /ns/images/dbpedia.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | DBpedia 7 | 8 | -------------------------------------------------------------------------------- /ns/images/discoverability.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | D 8 | Discoverability 9 | -------------------------------------------------------------------------------- /ns/images/interoperability.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | I 8 | Interoperability 9 | -------------------------------------------------------------------------------- /ns/images/linkability.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | L 8 | Linkability 9 | -------------------------------------------------------------------------------- /ns/images/processability.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | P 8 | Processability 9 | -------------------------------------------------------------------------------- /ns/images/reuse.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | R 8 | Reuse 9 | -------------------------------------------------------------------------------- /ns/images/trust.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | T 8 | Trust 9 | -------------------------------------------------------------------------------- /ns/js/jquery.scrollTo.min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * jQuery.ScrollTo - Easy element scrolling using jQuery. 3 | * Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com 4 | * Dual licensed under MIT and GPL. 5 | * Date: 5/25/2009 6 | * @author Ariel Flesler 7 | * @version 1.4.2 8 | * 9 | * http://flesler.blogspot.com/2007/10/jqueryscrollto.html 10 | */ 11 | ;(function(d){var k=d.scrollTo=function(a,i,e){d(window).scrollTo(a,i,e)};k.defaults={axis:'xy',duration:parseFloat(d.fn.jquery)>=1.3?0:1};k.window=function(a){return d(window)._scrollable()};d.fn._scrollable=function(){return this.map(function(){var a=this,i=!a.nodeName||d.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!i)return a;var e=(a.contentWindow||a).document||a.ownerDocument||a;return d.browser.safari||e.compatMode=='BackCompat'?e.body:e.documentElement})};d.fn.scrollTo=function(n,j,b){if(typeof j=='object'){b=j;j=0}if(typeof b=='function')b={onAfter:b};if(n=='max')n=9e9;b=d.extend({},k.defaults,b);j=j||b.speed||b.duration;b.queue=b.queue&&b.axis.length>1;if(b.queue)j/=2;b.offset=p(b.offset);b.over=p(b.over);return this._scrollable().each(function(){var q=this,r=d(q),f=n,s,g={},u=r.is('html,body');switch(typeof f){case'number':case'string':if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(f)){f=p(f);break}f=d(f,this);case'object':if(f.is||f.style)s=(f=d(f)).offset()}d.each(b.axis.split(''),function(a,i){var e=i=='x'?'Left':'Top',h=e.toLowerCase(),c='scroll'+e,l=q[c],m=k.max(q,i);if(s){g[c]=s[h]+(u?0:l-r.offset()[h]);if(b.margin){g[c]-=parseInt(f.css('margin'+e))||0;g[c]-=parseInt(f.css('border'+e+'Width'))||0}g[c]+=b.offset[h]||0;if(b.over[h])g[c]+=f[i=='x'?'width':'height']()*b.over[h]}else{var o=f[h];g[c]=o.slice&&o.slice(-1)=='%'?parseFloat(o)/100*m:o}if(/^\d+$/.test(g[c]))g[c]=g[c]<=0?0:Math.min(g[c],m);if(!a&&b.queue){if(l!=g[c])t(b.onAfterFirst);delete g[c]}});t(b.onAfter);function t(a){r.animate(g,j,b.easing,a&&function(){a.call(this,n,b)})}}).end()};k.max=function(a,i){var e=i=='x'?'Width':'Height',h='scroll'+e;if(!d(a).is('html,body'))return a[h]-d(a)[e.toLowerCase()]();var c='client'+e,l=a.ownerDocument.documentElement,m=a.ownerDocument.body;return Math.max(l[h],m[h])-Math.min(l[c],m[c])};function p(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery); -------------------------------------------------------------------------------- /ns/js/marked.min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * marked - a markdown parser 3 | * Copyright (c) 2011-2014, Christopher Jeffrey. (MIT Licensed) 4 | * https://github.com/chjj/marked 5 | */ 6 | (function(){var block={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:noop,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:noop,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment|closed|closing) *(?:\n{2,}|\s*$)/,def:/^ *\[([^\]]+)\]: *]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:noop,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};block.bullet=/(?:[*+-]|\d+\.)/;block.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/;block.item=replace(block.item,"gm")(/bull/g,block.bullet)();block.list=replace(block.list)(/bull/g,block.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+block.def.source+")")();block.blockquote=replace(block.blockquote)("def",block.def)();block._tag="(?!(?:"+"a|em|strong|small|s|cite|q|dfn|abbr|data|time|code"+"|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo"+"|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b";block.html=replace(block.html)("comment",//)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/])*?>/)(/tag/g,block._tag)();block.paragraph=replace(block.paragraph)("hr",block.hr)("heading",block.heading)("lheading",block.lheading)("blockquote",block.blockquote)("tag","<"+block._tag)("def",block.def)();block.normal=merge({},block);block.gfm=merge({},block.normal,{fences:/^ *(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n+|$)/,paragraph:/^/});block.gfm.paragraph=replace(block.paragraph)("(?!","(?!"+block.gfm.fences.source.replace("\\1","\\2")+"|"+block.list.source.replace("\\1","\\3")+"|")();block.tables=merge({},block.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/});function Lexer(options){this.tokens=[];this.tokens.links={};this.options=options||marked.defaults;this.rules=block.normal;if(this.options.gfm){if(this.options.tables){this.rules=block.tables}else{this.rules=block.gfm}}}Lexer.rules=block;Lexer.lex=function(src,options){var lexer=new Lexer(options);return lexer.lex(src)};Lexer.prototype.lex=function(src){src=src.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n");return this.token(src,true)};Lexer.prototype.token=function(src,top,bq){var src=src.replace(/^ +$/gm,""),next,loose,cap,bull,b,item,space,i,l;while(src){if(cap=this.rules.newline.exec(src)){src=src.substring(cap[0].length);if(cap[0].length>1){this.tokens.push({type:"space"})}}if(cap=this.rules.code.exec(src)){src=src.substring(cap[0].length);cap=cap[0].replace(/^ {4}/gm,"");this.tokens.push({type:"code",text:!this.options.pedantic?cap.replace(/\n+$/,""):cap});continue}if(cap=this.rules.fences.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"code",lang:cap[2],text:cap[3]});continue}if(cap=this.rules.heading.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"heading",depth:cap[1].length,text:cap[2]});continue}if(top&&(cap=this.rules.nptable.exec(src))){src=src.substring(cap[0].length);item={type:"table",header:cap[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:cap[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:cap[3].replace(/\n$/,"").split("\n")};for(i=0;i ?/gm,"");this.token(cap,top,true);this.tokens.push({type:"blockquote_end"});continue}if(cap=this.rules.list.exec(src)){src=src.substring(cap[0].length);bull=cap[2];this.tokens.push({type:"list_start",ordered:bull.length>1});cap=cap[0].match(this.rules.item);next=false;l=cap.length;i=0;for(;i1&&b.length>1)){src=cap.slice(i+1).join("\n")+src;i=l-1}}loose=next||/\n\n(?!\s*$)/.test(item);if(i!==l-1){next=item.charAt(item.length-1)==="\n";if(!loose)loose=next}this.tokens.push({type:loose?"loose_item_start":"list_item_start"});this.token(item,false,bq);this.tokens.push({type:"list_item_end"})}this.tokens.push({type:"list_end"});continue}if(cap=this.rules.html.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:cap[1]==="pre"||cap[1]==="script"||cap[1]==="style",text:cap[0]});continue}if(!bq&&top&&(cap=this.rules.def.exec(src))){src=src.substring(cap[0].length);this.tokens.links[cap[1].toLowerCase()]={href:cap[2],title:cap[3]};continue}if(top&&(cap=this.rules.table.exec(src))){src=src.substring(cap[0].length);item={type:"table",header:cap[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:cap[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:cap[3].replace(/(?: *\| *)?\n$/,"").split("\n")};for(i=0;i])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:noop,tag:/^|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:__|[\s\S])+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:noop,text:/^[\s\S]+?(?=[\\?(?:\s+['"]([\s\S]*?)['"])?\s*/;inline.link=replace(inline.link)("inside",inline._inside)("href",inline._href)();inline.reflink=replace(inline.reflink)("inside",inline._inside)();inline.normal=merge({},inline);inline.pedantic=merge({},inline.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/});inline.gfm=merge({},inline.normal,{escape:replace(inline.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:replace(inline.text)("]|","~]|")("|","|https?://|")()});inline.breaks=merge({},inline.gfm,{br:replace(inline.br)("{2,}","*")(),text:replace(inline.gfm.text)("{2,}","*")()});function InlineLexer(links,options){this.options=options||marked.defaults;this.links=links;this.rules=inline.normal;this.renderer=this.options.renderer||new Renderer;this.renderer.options=this.options;if(!this.links){throw new Error("Tokens array requires a `links` property.")}if(this.options.gfm){if(this.options.breaks){this.rules=inline.breaks}else{this.rules=inline.gfm}}else if(this.options.pedantic){this.rules=inline.pedantic}}InlineLexer.rules=inline;InlineLexer.output=function(src,links,options){var inline=new InlineLexer(links,options);return inline.output(src)};InlineLexer.prototype.output=function(src){var out="",link,text,href,cap;while(src){if(cap=this.rules.escape.exec(src)){src=src.substring(cap[0].length);out+=cap[1];continue}if(cap=this.rules.autolink.exec(src)){src=src.substring(cap[0].length);if(cap[2]==="@"){text=cap[1].charAt(6)===":"?this.mangle(cap[1].substring(7)):this.mangle(cap[1]);href=this.mangle("mailto:")+text}else{text=escape(cap[1]);href=text}out+=this.renderer.link(href,null,text);continue}if(!this.inLink&&(cap=this.rules.url.exec(src))){src=src.substring(cap[0].length);text=escape(cap[1]);href=text;out+=this.renderer.link(href,null,text);continue}if(cap=this.rules.tag.exec(src)){if(!this.inLink&&/^/i.test(cap[0])){this.inLink=false}src=src.substring(cap[0].length);out+=this.options.sanitize?escape(cap[0]):cap[0];continue}if(cap=this.rules.link.exec(src)){src=src.substring(cap[0].length);this.inLink=true;out+=this.outputLink(cap,{href:cap[2],title:cap[3]});this.inLink=false;continue}if((cap=this.rules.reflink.exec(src))||(cap=this.rules.nolink.exec(src))){src=src.substring(cap[0].length);link=(cap[2]||cap[1]).replace(/\s+/g," ");link=this.links[link.toLowerCase()];if(!link||!link.href){out+=cap[0].charAt(0);src=cap[0].substring(1)+src;continue}this.inLink=true;out+=this.outputLink(cap,link);this.inLink=false;continue}if(cap=this.rules.strong.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.strong(this.output(cap[2]||cap[1]));continue}if(cap=this.rules.em.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.em(this.output(cap[2]||cap[1]));continue}if(cap=this.rules.code.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.codespan(escape(cap[2],true));continue}if(cap=this.rules.br.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.br();continue}if(cap=this.rules.del.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.del(this.output(cap[1]));continue}if(cap=this.rules.text.exec(src)){src=src.substring(cap[0].length);out+=escape(this.smartypants(cap[0]));continue}if(src){throw new Error("Infinite loop on byte: "+src.charCodeAt(0))}}return out};InlineLexer.prototype.outputLink=function(cap,link){var href=escape(link.href),title=link.title?escape(link.title):null;return cap[0].charAt(0)!=="!"?this.renderer.link(href,title,this.output(cap[1])):this.renderer.image(href,title,escape(cap[1]))};InlineLexer.prototype.smartypants=function(text){if(!this.options.smartypants)return text;return text.replace(/--/g,"—").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")};InlineLexer.prototype.mangle=function(text){var out="",l=text.length,i=0,ch;for(;i.5){ch="x"+ch.toString(16)}out+="&#"+ch+";"}return out};function Renderer(options){this.options=options||{}}Renderer.prototype.code=function(code,lang,escaped){if(this.options.highlight){var out=this.options.highlight(code,lang);if(out!=null&&out!==code){escaped=true;code=out}}if(!lang){return"
"+(escaped?code:escape(code,true))+"\n
"}return'
'+(escaped?code:escape(code,true))+"\n
\n"};Renderer.prototype.blockquote=function(quote){return"
\n"+quote+"
\n"};Renderer.prototype.html=function(html){return html};Renderer.prototype.heading=function(text,level,raw){return"'+text+"\n"};Renderer.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"};Renderer.prototype.list=function(body,ordered){var type=ordered?"ol":"ul";return"<"+type+">\n"+body+"\n"};Renderer.prototype.listitem=function(text){return"
  • "+text+"
  • \n"};Renderer.prototype.paragraph=function(text){return"

    "+text+"

    \n"};Renderer.prototype.table=function(header,body){return"\n"+"\n"+header+"\n"+"\n"+body+"\n"+"
    \n"};Renderer.prototype.tablerow=function(content){return"\n"+content+"\n"};Renderer.prototype.tablecell=function(content,flags){var type=flags.header?"th":"td";var tag=flags.align?"<"+type+' style="text-align:'+flags.align+'">':"<"+type+">";return tag+content+"\n"};Renderer.prototype.strong=function(text){return""+text+""};Renderer.prototype.em=function(text){return""+text+""};Renderer.prototype.codespan=function(text){return""+text+""};Renderer.prototype.br=function(){return this.options.xhtml?"
    ":"
    "};Renderer.prototype.del=function(text){return""+text+""};Renderer.prototype.link=function(href,title,text){if(this.options.sanitize){try{var prot=decodeURIComponent(unescape(href)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return""}if(prot.indexOf("javascript:")===0){return""}}var out='
    ";return out};Renderer.prototype.image=function(href,title,text){var out=''+text+'":">";return out};function Parser(options){this.tokens=[];this.token=null;this.options=options||marked.defaults;this.options.renderer=this.options.renderer||new Renderer;this.renderer=this.options.renderer;this.renderer.options=this.options}Parser.parse=function(src,options,renderer){var parser=new Parser(options,renderer);return parser.parse(src)};Parser.prototype.parse=function(src){this.inline=new InlineLexer(src.links,this.options,this.renderer);this.tokens=src.reverse();var out="";while(this.next()){out+=this.tok()}return out};Parser.prototype.next=function(){return this.token=this.tokens.pop()};Parser.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0};Parser.prototype.parseText=function(){var body=this.token.text;while(this.peek().type==="text"){body+="\n"+this.next().text}return this.inline.output(body)};Parser.prototype.tok=function(){switch(this.token.type){case"space":{return""}case"hr":{return this.renderer.hr()}case"heading":{return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text)}case"code":{return this.renderer.code(this.token.text,this.token.lang,this.token.escaped)}case"table":{var header="",body="",i,row,cell,flags,j;cell="";for(i=0;i/g,">").replace(/"/g,""").replace(/'/g,"'")}function unescape(html){return html.replace(/&([#\w]+);/g,function(_,n){n=n.toLowerCase();if(n==="colon")return":";if(n.charAt(0)==="#"){return n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1))}return""})}function replace(regex,opt){regex=regex.source;opt=opt||"";return function self(name,val){if(!name)return new RegExp(regex,opt);val=val.source||val;val=val.replace(/(^|[^\[])\^/g,"$1");regex=regex.replace(name,val);return self}}function noop(){}noop.exec=noop;function merge(obj){var i=1,target,key;for(;iAn error occured:

    "+escape(e.message+"",true)+"
    "}throw e}}marked.options=marked.setOptions=function(opt){merge(marked.defaults,opt);return marked};marked.defaults={gfm:true,tables:true,breaks:false,pedantic:false,sanitize:false,smartLists:false,silent:false,highlight:null,langPrefix:"lang-",smartypants:false,headerPrefix:"",renderer:new Renderer,xhtml:false};marked.Parser=Parser;marked.parser=Parser.parse;marked.Renderer=Renderer;marked.Lexer=Lexer;marked.lexer=Lexer.lex;marked.InlineLexer=InlineLexer;marked.inlineLexer=InlineLexer.output;marked.parse=marked;if(typeof module!=="undefined"&&typeof exports==="object"){module.exports=marked}else if(typeof define==="function"&&define.amd){define(function(){return marked})}else{this.marked=marked}}).call(function(){return this||(typeof window!=="undefined"?window:global)}()); -------------------------------------------------------------------------------- /ps/PreservationExtension.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/ps/PreservationExtension.pdf -------------------------------------------------------------------------------- /ps/PreservationExtension.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbpedia/DataId-Ontology/fddf148ed885edfbe627c77bff4741263dfdd631/ps/PreservationExtension.png -------------------------------------------------------------------------------- /ps/dataid-ps.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 void: . 10 | @prefix xml: . 11 | @prefix xsd: . 12 | @prefix foaf: . 13 | @prefix lvont: . 14 | @prefix vann: . 15 | @prefix r3d: . 16 | @prefix dataid-ps: . 17 | 18 | #first draft version 19 | 20 | 21 | a owl:Ontology ; 22 | vann:preferredNamespaceUri ; 23 | vann:preferredNamespacePrefix "dataid"^^xsd:string ; 24 | rdfs:isDefinedBy ; 25 | owl:versionInfo "0.0.1" ; 26 | rdfs:comment "This is the Preservation extension for the DataID ontology , describing provisions made for the purpose of long time preservation of data, including detailed descriptions of repositories."@en ; 27 | rdfs:label "DataID - Preservation"@en ; 28 | owl:imports . 29 | 30 | dataid-ps:PreservationPlan 31 | o owl:Class; 32 | rdfs:isDefinedBy ; 33 | rdfs:comment "This class describes the different provisions made to ensure a long time preservation of a connected dataset or the whole data of a DataID (dataid-ps:preservation)."@en ; 34 | rdfs:label "Preservation Plan"@en ; 35 | rdfs:range dataid-ps:PreservationPlan; 36 | rdfs:domain [ a owl:Class; 37 | owl:unionOf (dataid:Dataid, dataid:Dataset)]; 38 | rdfs:subClassOf [ 39 | a owl:Restriction; 40 | 41 | ]. 42 | 43 | dataid-ps:PreservationPlan 44 | o owl:Class; 45 | rdfs:isDefinedBy ; 46 | rdfs:comment "This class describes the different provisions made to ensure a long time preservation of a connected dataset or the whole data of a DataID (dataid-ps:preservation)."@en ; 47 | rdfs:label "Preservation Plan"@en ; 48 | rdfs:subClassOf [ 49 | a owl:Restriction ; 50 | owl:cardinality "1"^^xsd:nonNegativeInteger ; 51 | owl:onProperty dct:description 52 | ]. 53 | 54 | dataid-ps:preservation 55 | a owl:ObjectProperty; 56 | rdfs:isDefinedBy ; 57 | rdfs:comment "Connects a Dataset or DataID to a preservation plan describing how to preserve the data described."@en ; 58 | rdfs:label "preservation"@en ; 59 | rdfs:range dataid-ps:PreservationPlan; 60 | rdfs:domain [ a owl:Class; 61 | owl:unionOf (dataid:Dataid, dataid:Dataset)]. 62 | 63 | dataid-ps:Repository 64 | o owl:Class; 65 | rdfs:isDefinedBy ; 66 | rdfs:comment ""@en ; 67 | rdfs:label "Repository"@en ; 68 | rdfs:subClassOf r3d:Repository, [ 69 | a owl:Restriction ; 70 | owl:cardinality "1"^^xsd:nonNegativeInteger ; 71 | owl:onProperty dct:description 72 | ]. 73 | 74 | dataid-ps:repository 75 | a owl:ObjectProperty; 76 | rdfs:isDefinedBy ; 77 | rdfs:comment "Points out a repository used by a preservation plan to store data."@en ; 78 | rdfs:label "repository"@en ; 79 | rdfs:range dataid-ps:Repository; 80 | rdfs:domain dataid-ps:PreservationPlan. 81 | 82 | dataid-ps:archives 83 | a owl:ObjectProperty; 84 | rdfs:isDefinedBy ; 85 | rdfs:comment "Points out a dcat:Catalog stored within a Repository."@en ; 86 | rdfs:label "archives"@en ; 87 | rdfs:range dcat:Catalog; 88 | rdfs:domain dataid-ps:Repository. 89 | 90 | dataid-ps:begins 91 | a owl:DatatypeProperty; 92 | rdfs:isDefinedBy ; 93 | rdfs:comment "The date on which a preservation plan takes effect."@en ; 94 | rdfs:label "begins"@en ; 95 | rdfs:range xsd:date; 96 | rdfs:domain dataid-ps:PreservationPlan. 97 | 98 | dataid-ps:ends 99 | a owl:DatatypeProperty; 100 | rdfs:isDefinedBy ; 101 | rdfs:comment "The date until a preservation plan has to be adhered to."@en ; 102 | rdfs:label "ends"@en ; 103 | rdfs:range xsd:date; 104 | rdfs:domain dataid-ps:PreservationPlan. --------------------------------------------------------------------------------