summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Car <nicholas.car@surroundaustralia.com>2021-07-15 10:19:10 +1000
committerNicholas Car <nicholas.car@surroundaustralia.com>2021-07-15 10:19:10 +1000
commitb38ef3fdeb535c8c697ec97a69706db82ef831bf (patch)
tree92a1dfcd7bfb0740bcfbe4cca8bd5e88bdf5030c
parent9071117a4a70b8d1dbf9436919ce1d671b2bdc86 (diff)
downloadrdflib-b38ef3fdeb535c8c697ec97a69706db82ef831bf.tar.gz
fix docc build warnings #2
-rw-r--r--rdflib/namespace/_CSVW.py10
-rw-r--r--rdflib/namespace/_DC.py6
-rw-r--r--rdflib/namespace/_DCAM.py6
-rw-r--r--rdflib/namespace/_DCAT.py7
-rw-r--r--rdflib/namespace/_DCMITYPE.py6
-rw-r--r--rdflib/namespace/_DCTERMS.py3
-rw-r--r--rdflib/namespace/_ODRL2.py6
-rw-r--r--rdflib/namespace/_ORG.py10
-rw-r--r--rdflib/namespace/_PROV.py5
-rw-r--r--rdflib/namespace/_QB.py6
-rw-r--r--rdflib/namespace/_RDF.py7
-rw-r--r--rdflib/namespace/_RDFS.py5
-rw-r--r--rdflib/namespace/_SH.py9
-rw-r--r--rdflib/namespace/_SKOS.py4
-rw-r--r--rdflib/namespace/_VANN.py14
-rw-r--r--rdflib/namespace/_VOID.py12
16 files changed, 22 insertions, 94 deletions
diff --git a/rdflib/namespace/_CSVW.py b/rdflib/namespace/_CSVW.py
index a25b35f1..83fa0795 100644
--- a/rdflib/namespace/_CSVW.py
+++ b/rdflib/namespace/_CSVW.py
@@ -5,17 +5,13 @@ from rdflib.namespace import DefinedNamespace, Namespace
class CSVW(DefinedNamespace):
"""
CSVW Namespace Vocabulary Terms
-
+
This document describes the RDFS vocabulary description used in the Metadata Vocabulary for Tabular Data
[[tabular-metadata]] along with the default JSON-LD Context.
-
+
Generated from: http://www.w3.org/ns/csvw
Date: 2020-05-26 14:19:58.184766
- dcterms:date "2017-06-06"^^xsd:date
- rdfs:seeAlso <http://www.w3.org/TR/tabular-metadata>
- owl:imports <http://www.w3.org/ns/prov>
- owl:versionInfo <https://github.com/w3c/csvw/commit/fcc9db20ba4de10e41e964eee1b5d01defa4c664>
"""
_fail = True
@@ -100,7 +96,7 @@ class CSVW(DefinedNamespace):
# http://www.w3.org/2000/01/rdf-schema#Datatype
JSON: URIRef # A literal containing JSON.
- uriTemplate: URIRef #
+ uriTemplate: URIRef #
# http://www.w3.org/ns/csvw#Direction
auto: URIRef # Indicates whether the tables in the group should be displayed based on the first character in the table that has a specific direction.
diff --git a/rdflib/namespace/_DC.py b/rdflib/namespace/_DC.py
index 06dcbdde..c11b7b39 100644
--- a/rdflib/namespace/_DC.py
+++ b/rdflib/namespace/_DC.py
@@ -5,15 +5,13 @@ from rdflib.namespace import DefinedNamespace, Namespace
class DC(DefinedNamespace):
"""
Dublin Core Metadata Element Set, Version 1.1
-
+
Generated from: https://www.dublincore.org/specifications/dublin-core/dcmi-terms/dublin_core_elements.ttl
Date: 2020-05-26 14:19:58.671906
- dcterms:modified "2012-06-14"^^xsd:date
- dcterms:publisher <http://purl.org/dc/aboutdcmi#DCMI>
"""
_fail = True
-
+
# http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
contributor: URIRef # An entity responsible for making contributions to the resource.
coverage: URIRef # The spatial or temporal topic of the resource, spatial applicability of the resource, or jurisdiction under which the resource is relevant.
diff --git a/rdflib/namespace/_DCAM.py b/rdflib/namespace/_DCAM.py
index 381132b5..aaa59a6e 100644
--- a/rdflib/namespace/_DCAM.py
+++ b/rdflib/namespace/_DCAM.py
@@ -5,15 +5,13 @@ from rdflib.namespace import DefinedNamespace, Namespace
class DCAM(DefinedNamespace):
"""
Metadata terms for vocabulary description
-
+
Generated from: https://www.dublincore.org/specifications/dublin-core/dcmi-terms/dublin_core_abstract_model.ttl
Date: 2020-05-26 14:20:00.970966
- dcterms:modified "2012-06-14"^^xsd:date
- dcterms:publisher <http://purl.org/dc/aboutdcmi#DCMI>
"""
_fail = True
-
+
# http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
domainIncludes: URIRef # A suggested class for subjects of this property.
memberOf: URIRef # A relationship between a resource and a vocabulary encoding scheme which indicates that the resource is a member of a set.
diff --git a/rdflib/namespace/_DCAT.py b/rdflib/namespace/_DCAT.py
index 7e9a171a..e3e25ee6 100644
--- a/rdflib/namespace/_DCAT.py
+++ b/rdflib/namespace/_DCAT.py
@@ -16,13 +16,6 @@ class DCAT(DefinedNamespace):
Generated from: https://www.w3.org/ns/dcat2.ttl
Date: 2020-05-26 14:19:59.985854
- <http://www.w3.org/ns/dcat>
- rdfs:label "The data catalog vocabulary"@en ;
- dct:license <https://creativecommons.org/licenses/by/4.0/> ;
- dct:modified "2017-12-19"^^xsd:date ;
- rdfs:comment "DCAT is an RDF vocabulary designed to facilitate interoperability between data catalogs published on the Web. By using DCAT to describe datasets in data catalogs, publishers increase discoverability and enable applications easily to consume metadata from multiple catalogs. It further enables decentralized publishing of catalogs and facilitates federated dataset search across sites. Aggregated DCAT metadata can serve as a manifest file to facilitate digital preservation. DCAT is defined at http://www.w3.org/TR/vocab-dcat/. Any variance between that normative document and this schema is an error in this schema."@en ;
- owl:versionInfo "This is an updated copy of v2.0 of the DCAT vocabulary, taken from https://www.w3.org/ns/dcat.ttl"@en ;
- .
"""
# http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
diff --git a/rdflib/namespace/_DCMITYPE.py b/rdflib/namespace/_DCMITYPE.py
index 0e756753..0c67a848 100644
--- a/rdflib/namespace/_DCMITYPE.py
+++ b/rdflib/namespace/_DCMITYPE.py
@@ -5,15 +5,13 @@ from rdflib.namespace import DefinedNamespace, Namespace
class DCMITYPE(DefinedNamespace):
"""
DCMI Type Vocabulary
-
+
Generated from: https://www.dublincore.org/specifications/dublin-core/dcmi-terms/dublin_core_type.ttl
Date: 2020-05-26 14:19:59.084150
- dcterms:modified "2012-06-14"^^xsd:date
- dcterms:publisher <http://purl.org/dc/aboutdcmi#DCMI>
"""
_fail = True
-
+
# http://www.w3.org/2000/01/rdf-schema#Class
Collection: URIRef # An aggregation of resources.
Dataset: URIRef # Data encoded in a defined structure.
diff --git a/rdflib/namespace/_DCTERMS.py b/rdflib/namespace/_DCTERMS.py
index a1739777..9c974afa 100644
--- a/rdflib/namespace/_DCTERMS.py
+++ b/rdflib/namespace/_DCTERMS.py
@@ -9,9 +9,6 @@ class DCTERMS(DefinedNamespace):
Generated from: https://www.dublincore.org/specifications/dublin-core/dcmi-terms/dublin_core_terms.ttl
Date: 2020-05-26 14:20:00.590514
- dcterms:modified "2012-06-14"^^xsd:date
- dcterms:publisher <http://purl.org/dc/aboutdcmi#DCMI>
-
"""
_fail = True
diff --git a/rdflib/namespace/_ODRL2.py b/rdflib/namespace/_ODRL2.py
index d7654a64..5552cd9b 100644
--- a/rdflib/namespace/_ODRL2.py
+++ b/rdflib/namespace/_ODRL2.py
@@ -13,12 +13,6 @@ class ODRL2(DefinedNamespace):
Generated from: https://www.w3.org/ns/odrl/2/ODRL22.ttl
Date: 2020-05-26 14:20:02.352356
- dct:contributor "W3C Permissions & Obligations Expression Working Group"
- dct:creator "Michael Steidl" , "Renato Iannella", "Stuart Myles", "Víctor Rodríguez-Doncel"
- dct:license <https://www.w3.org/Consortium/Legal/2002/ipr-notice-20021231#Copyright/>
- rdfs:comment "This is the RDF ontology for ODRL Version 2.2."
- owl:versionInfo "2.2"
-
"""
_fail = True
diff --git a/rdflib/namespace/_ORG.py b/rdflib/namespace/_ORG.py
index 2839442f..ee335312 100644
--- a/rdflib/namespace/_ORG.py
+++ b/rdflib/namespace/_ORG.py
@@ -12,16 +12,6 @@ class ORG(DefinedNamespace):
Generated from: http://www.w3.org/ns/org#
Date: 2020-05-26 14:20:02.908408
- rdfs:label "Ontología de organizaciones"@es, "Ontologie des organisations"@fr, "Ontologia delle organizzazioni"@it
- dct:created "2010-05-28"^^xsd:date
- dct:license <http://www.opendatacommons.org/licenses/pddl/1.0/>
- dct:modified "2014-04-12"^^xsd:date
- dct:title "Core organization ontology", "Ontología de organizaciones"@es, "Ontologie des organisations"@fr, "Ontologia delle organizzazioni"@it
- rdfs:comment "Vocabulario para describir organizaciones, adaptable a una amplia variedad de ellas."@es, "Vocabolario per descrivere strutture organizzative, le quali possono essere specializzate in una vasta
- varietà di tipi di organizzazione"@it
- rdfs:seeAlso <http://www.w3.org/TR/vocab-org/>
- owl:versionInfo "0.8"
-
"""
_fail = True
diff --git a/rdflib/namespace/_PROV.py b/rdflib/namespace/_PROV.py
index 6026bb39..24653ac1 100644
--- a/rdflib/namespace/_PROV.py
+++ b/rdflib/namespace/_PROV.py
@@ -49,11 +49,6 @@ class PROV(DefinedNamespace):
Generated from: http://www.w3.org/ns/prov
Date: 2020-05-26 14:20:04.650279
- owl:versionIRI <http://www.w3.org/ns/prov-o-20130430>
- owl:versionInfo "Recommendation version 2013-04-30"
- prov:specializationOf <http://www.w3.org/ns/prov-o>
- prov:wasRevisionOf <http://www.w3.org/ns/prov-o-20120312>
-
"""
_fail = True
diff --git a/rdflib/namespace/_QB.py b/rdflib/namespace/_QB.py
index 4aa6d48d..d7c995c1 100644
--- a/rdflib/namespace/_QB.py
+++ b/rdflib/namespace/_QB.py
@@ -12,12 +12,6 @@ class QB(DefinedNamespace):
Generated from: http://purl.org/linked-data/cube#
Date: 2020-05-26 14:20:05.485176
- <http://purl.org/linked-data/cube> rdfs:label "The data cube vocabulary"
- dcterms:created "2010-07-12"^^xsd:date
- dcterms:license <http://www.opendatacommons.org/licenses/pddl/1.0/>
- dcterms:modified "2013-07-26"^^xsd:date
- owl:versionInfo "0.2"
-
"""
_fail = True
diff --git a/rdflib/namespace/_RDF.py b/rdflib/namespace/_RDF.py
index 51582e9c..2201b09a 100644
--- a/rdflib/namespace/_RDF.py
+++ b/rdflib/namespace/_RDF.py
@@ -5,16 +5,17 @@ from rdflib.namespace import DefinedNamespace, Namespace
class RDF(DefinedNamespace):
"""
The RDF Concepts Vocabulary (RDF)
-
+
This is the RDF Schema for the RDF vocabulary terms in the RDF Namespace, defined in RDF 1.1 Concepts.
-
+
Generated from: http://www.w3.org/1999/02/22-rdf-syntax-ns#
Date: 2020-05-26 14:20:05.642859
dc:date "2019-12-16"
+
"""
_fail = True
-
+
# http://www.w3.org/1999/02/22-rdf-syntax-ns#List
nil: URIRef # The empty list, with no items in it. If the rest of a list is nil then the list has no more items in it.
diff --git a/rdflib/namespace/_RDFS.py b/rdflib/namespace/_RDFS.py
index 0980f6ce..5c7bdc7d 100644
--- a/rdflib/namespace/_RDFS.py
+++ b/rdflib/namespace/_RDFS.py
@@ -5,14 +5,13 @@ from rdflib.namespace import DefinedNamespace, Namespace
class RDFS(DefinedNamespace):
"""
The RDF Schema vocabulary (RDFS)
-
+
Generated from: http://www.w3.org/2000/01/rdf-schema#
Date: 2020-05-26 14:20:05.794866
- rdfs:seeAlso <http://www.w3.org/2000/01/rdf-schema-more>
"""
_fail = True
-
+
# http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
comment: URIRef # A description of the subject resource.
domain: URIRef # A domain of the subject property.
diff --git a/rdflib/namespace/_SH.py b/rdflib/namespace/_SH.py
index d3a8844d..8c711b53 100644
--- a/rdflib/namespace/_SH.py
+++ b/rdflib/namespace/_SH.py
@@ -5,16 +5,15 @@ from rdflib.namespace import DefinedNamespace, Namespace
class SH(DefinedNamespace):
"""
W3C Shapes Constraint Language (SHACL) Vocabulary
-
+
This vocabulary defines terms used in SHACL, the W3C Shapes Constraint Language.
-
+
Generated from: https://www.w3.org/ns/shacl.ttl
Date: 2020-05-26 14:20:08.041103
- sh:suggestedShapesGraph <http://www.w3.org/ns/shacl-shacl#>
"""
_fail = True
-
+
# http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
alternativePath: URIRef # The (single) value of this property must be a list of path elements, representing the elements of alternative paths.
annotationProperty: URIRef # The annotation property that shall be set.
@@ -207,7 +206,7 @@ class SH(DefinedNamespace):
Violation: URIRef # The severity for a violation validation result.
Warning: URIRef # The severity for a warning validation result.
- # Valid non-python identifiers
+ # Valid non-python identifiers
_extras = ['and', 'class', 'in', 'not', 'or', 'AndConstraintComponent-and', 'ClassConstraintComponent-class', 'ClosedConstraintComponent-closed', 'ClosedConstraintComponent-ignoredProperties', 'DatatypeConstraintComponent-datatype', 'DisjointConstraintComponent-disjoint', 'EqualsConstraintComponent-equals', 'ExpressionConstraintComponent-expression', 'HasValueConstraintComponent-hasValue', 'InConstraintComponent-in', 'JSConstraint-js', 'LanguageInConstraintComponent-languageIn', 'LessThanConstraintComponent-lessThan', 'LessThanOrEqualsConstraintComponent-lessThanOrEquals', 'MaxCountConstraintComponent-maxCount', 'MaxExclusiveConstraintComponent-maxExclusive', 'MaxInclusiveConstraintComponent-maxInclusive', 'MaxLengthConstraintComponent-maxLength', 'MinCountConstraintComponent-minCount', 'MinExclusiveConstraintComponent-minExclusive', 'MinInclusiveConstraintComponent-minInclusive', 'MinLengthConstraintComponent-minLength', 'NodeConstraintComponent-node', 'NodeKindConstraintComponent-nodeKind', 'NotConstraintComponent-not', 'OrConstraintComponent-or', 'PatternConstraintComponent-flags', 'PatternConstraintComponent-pattern', 'PropertyConstraintComponent-property', 'QualifiedMaxCountConstraintComponent-qualifiedMaxCount', 'QualifiedMaxCountConstraintComponent-qualifiedValueShape', 'QualifiedMaxCountConstraintComponent-qualifiedValueShapesDisjoint', 'QualifiedMinCountConstraintComponent-qualifiedMinCount', 'QualifiedMinCountConstraintComponent-qualifiedValueShape', 'QualifiedMinCountConstraintComponent-qualifiedValueShapesDisjoint', 'SPARQLConstraintComponent-sparql', 'UniqueLangConstraintComponent-uniqueLang', 'XoneConstraintComponent-xone']
_NS = Namespace("http://www.w3.org/ns/shacl#")
diff --git a/rdflib/namespace/_SKOS.py b/rdflib/namespace/_SKOS.py
index 6e1789c1..c6bd7f8d 100644
--- a/rdflib/namespace/_SKOS.py
+++ b/rdflib/namespace/_SKOS.py
@@ -13,10 +13,6 @@ class SKOS(DefinedNamespace):
Generated from: https://www.w3.org/2009/08/skos-reference/skos.rdf
Date: 2020-05-26 14:20:08.489187
- <http://www.w3.org/2004/02/skos/core> dct:contributor "Dave Beckett", "Nikki Rogers", "Participants in W3C's Semantic Web Deployment Working Group."
- dct:creator "Alistair Miles", "Sean Bechhofer"
- rdfs:seeAlso <http://www.w3.org/TR/skos-reference/>
-
"""
_fail = True
diff --git a/rdflib/namespace/_VANN.py b/rdflib/namespace/_VANN.py
index 35ca500f..4aae33f6 100644
--- a/rdflib/namespace/_VANN.py
+++ b/rdflib/namespace/_VANN.py
@@ -5,24 +5,16 @@ from rdflib.namespace import DefinedNamespace, Namespace
class VANN(DefinedNamespace):
"""
VANN: A vocabulary for annotating vocabulary descriptions
-
+
This document describes a vocabulary for annotating descriptions of vocabularies with examples and usage
notes.
-
+
Generated from: https://vocab.org/vann/vann-vocab-20100607.rdf
Date: 2020-05-26 14:21:15.580430
- dc:creator <http://iandavis.com/id/me>
- dc:date "2010-06-07"
- dc:identifier "http://purl.org/vocab/vann/vann-vocab-20050401"
- dc:isVersionOf vann:
- dc:replaces vann:vann-vocab-20040305
- dc:rights "Copyright © 2005 Ian Davis"
- vann:preferredNamespacePrefix "vann"
- vann:preferredNamespaceUri "http://purl.org/vocab/vann/"
"""
_fail = True
-
+
# http://www.w3.org/2002/07/owl#AnnotationProperty
changes: URIRef # A reference to a resource that describes changes between this version of a vocabulary and the previous.
example: URIRef # A reference to a resource that provides an example of how this resource can be used.
diff --git a/rdflib/namespace/_VOID.py b/rdflib/namespace/_VOID.py
index be42e91b..a0583dca 100644
--- a/rdflib/namespace/_VOID.py
+++ b/rdflib/namespace/_VOID.py
@@ -15,18 +15,6 @@ class VOID(DefinedNamespace):
Generated from: http://rdfs.org/ns/void#
Date: 2020-05-26 14:20:11.911298
- <http://vocab.deri.ie/void> a adms:SemanticAsset
- dc:creator <http://vocab.deri.ie/void#Michael%20Hausenblas>, <http://vocab.deri.ie/void#cygri>, <http://vocab.deri.ie/void#junzha>, <http://vocab.deri.ie/void#keiale>
- dcterms:created "2010-01-26"^^xsd:date
- dcterms:modified "2011-03-06"^^xsd:date
- dcterms:partOf <http://vocab.deri.ie>
- dcterms:publisher "http://vocab.deri.ie/void#Digital%20Enterprise%20Research%20Institute%2C%20NUI%20Galway"
- dcterms:status <http://purl.org/adms/status/UnderDevelopment>
- dcterms:type <http://purl.org/adms/assettype/Ontology>
- vann:preferredNamespacePrefix "void"
- vann:preferredNamespaceUri "http://rdfs.org/ns/void#"
- foaf:homepage <http://vocab.deri.ie/void.html>
-
"""
_fail = True