2025-12-01
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,118 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
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
|
||||
|
||||
"""
|
||||
|
||||
_fail = True
|
||||
|
||||
# http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
|
||||
aboutUrl: URIRef # A URI template property that MAY be used to indicate what a cell contains information about.
|
||||
base: URIRef # An atomic property that contains a single string: a term defined in the default context representing a built-in datatype URL, as listed above.
|
||||
column: URIRef # An array property of column descriptions as described in section 5.6 Columns.
|
||||
columnReference: URIRef # A column reference property that holds either a single reference to a column description object within this schema, or an array of references. These form the referencing columns for the foreign key definition.
|
||||
commentPrefix: URIRef # An atomic property that sets the comment prefix flag to the single provided value, which MUST be a string.
|
||||
datatype: URIRef # An object property that contains either a single string that is the main datatype of the values of the cell or a datatype description object. If the value of this property is a string, it MUST be one of the built-in datatypes defined in section 5.11.1 Built-in Datatypes or an absolute URL; if it is an object then it describes a more specialised datatype.
|
||||
decimalChar: URIRef # A string whose value is used to represent a decimal point within the number.
|
||||
default: URIRef # An atomic property holding a single string that is used to create a default value for the cell in cases where the original string value is an empty string.
|
||||
delimiter: URIRef # An atomic property that sets the delimiter flag to the single provided value, which MUST be a string.
|
||||
describes: URIRef # From IANA describes: The relationship A 'describes' B asserts that resource A provides a description of resource B. There are no constraints on the format or representation of either A or B, neither are there any further constraints on either resource.
|
||||
dialect: URIRef # An object property that provides a single dialect description. If provided, dialect provides hints to processors about how to parse the referenced files to create tabular data models for the tables in the group.
|
||||
doubleQuote: URIRef # A boolean atomic property that, if `true`, sets the escape character flag to `"`.
|
||||
encoding: URIRef # An atomic property that sets the encoding flag to the single provided string value, which MUST be a defined in [[encoding]]. The default is "utf-8".
|
||||
foreignKey: URIRef # For a Table: a list of foreign keys on the table. For a Schema: an array property of foreign key definitions that define how the values from specified columns within this table link to rows within this table or other tables.
|
||||
format: URIRef # An atomic property that contains either a single string or an object that defines the format of a value of this type, used when parsing a string value as described in Parsing Cells in [[tabular-data-model]].
|
||||
groupChar: URIRef # A string whose value is used to group digits within the number.
|
||||
header: URIRef # A boolean atomic property that, if `true`, sets the header row count flag to `1`, and if `false` to `0`, unless headerRowCount is provided, in which case the value provided for the header property is ignored.
|
||||
headerRowCount: URIRef # An numeric atomic property that sets the header row count flag to the single provided value, which must be a non-negative integer.
|
||||
lang: URIRef # An atomic property giving a single string language code as defined by [[BCP47]].
|
||||
length: URIRef # The exact length of the value of the cell.
|
||||
lineTerminators: URIRef # An atomic property that sets the line terminators flag to either an array containing the single provided string value, or the provided array.
|
||||
maxExclusive: URIRef # An atomic property that contains a single number that is the maximum valid value (exclusive).
|
||||
maxInclusive: URIRef # An atomic property that contains a single number that is the maximum valid value (inclusive).
|
||||
maxLength: URIRef # A numeric atomic property that contains a single integer that is the maximum length of the value.
|
||||
minExclusive: URIRef # An atomic property that contains a single number that is the minimum valid value (exclusive).
|
||||
minInclusive: URIRef # An atomic property that contains a single number that is the minimum valid value (inclusive).
|
||||
minLength: URIRef # An atomic property that contains a single integer that is the minimum length of the value.
|
||||
name: URIRef # An atomic property that gives a single canonical name for the column. The value of this property becomes the name annotation for the described column.
|
||||
note: URIRef # An array property that provides an array of objects representing arbitrary annotations on the annotated tabular data model.
|
||||
null: URIRef # An atomic property giving the string or strings used for null values within the data. If the string value of the cell is equal to any one of these values, the cell value is `null`.
|
||||
ordered: URIRef # A boolean atomic property taking a single value which indicates whether a list that is the value of the cell is ordered (if `true`) or unordered (if `false`).
|
||||
pattern: URIRef # A regular expression string, in the syntax and interpreted as defined by [[ECMASCRIPT]].
|
||||
primaryKey: URIRef # For Schema: A column reference property that holds either a single reference to a column description object or an array of references. For Row: a possibly empty list of cells whose values together provide a unique identifier for this row. This is similar to the name of a column.
|
||||
propertyUrl: URIRef # An URI template property that MAY be used to create a URI for a property if the table is mapped to another format.
|
||||
quoteChar: URIRef # An atomic property that sets the quote character flag to the single provided value, which must be a string or `null`.
|
||||
reference: URIRef # An object property that identifies a **referenced table** and a set of **referenced columns** within that table.
|
||||
referencedRow: URIRef # A possibly empty list of pairs of a foreign key and a row in a table within the same group of tables.
|
||||
required: URIRef # A boolean atomic property taking a single value which indicates whether the cell must have a non-null value. The default is `false`.
|
||||
resource: URIRef # A link property holding a URL that is the identifier for a specific table that is being referenced.
|
||||
row: URIRef # Relates a Table to each Row output.
|
||||
rowTitle: URIRef # A column reference property that holds either a single reference to a column description object or an array of references.
|
||||
rownum: URIRef # The position of the row amongst the rows of the Annotated Tabl, starting from 1
|
||||
schemaReference: URIRef # A link property holding a URL that is the identifier for a schema that is being referenced.
|
||||
scriptFormat: URIRef # A link property giving the single URL for the format that is used by the script or template.
|
||||
separator: URIRef # An atomic property that MUST have a single string value that is the character used to separate items in the string value of the cell.
|
||||
skipBlankRows: URIRef # An boolean atomic property that sets the `skip blank rows` flag to the single provided boolean value.
|
||||
skipColumns: URIRef # An numeric atomic property that sets the `skip columns` flag to the single provided numeric value, which MUST be a non-negative integer.
|
||||
skipInitialSpace: URIRef # A boolean atomic property that, if `true`, sets the trim flag to "start". If `false`, to `false`.
|
||||
skipRows: URIRef # An numeric atomic property that sets the `skip rows` flag to the single provided numeric value, which MUST be a non-negative integer.
|
||||
source: URIRef # A single string atomic property that provides, if specified, the format to which the tabular data should be transformed prior to the transformation using the script or template.
|
||||
suppressOutput: URIRef # A boolean atomic property. If `true`, suppresses any output that would be generated when converting a table or cells within a column.
|
||||
table: URIRef # Relates an Table group to annotated tables.
|
||||
tableDirection: URIRef # One of `rtl`, `ltr` or `auto`. Indicates whether the tables in the group should be displayed with the first column on the right, on the left, or based on the first character in the table that has a specific direction.
|
||||
tableSchema: URIRef # An object property that provides a single schema description as described in section 5.5 Schemas, used as the default for all the tables in the group
|
||||
targetFormat: URIRef # A link property giving the single URL for the format that will be created through the transformation.
|
||||
textDirection: URIRef # An atomic property that must have a single value that is one of `rtl` or `ltr` (the default).
|
||||
title: URIRef # For a Transformation A natural language property that describes the format that will be generated from the transformation. For a Column: A natural language property that provides possible alternative names for the column.
|
||||
transformations: URIRef # An array property of transformation definitions that provide mechanisms to transform the tabular data into other formats.
|
||||
trim: URIRef # An atomic property that, if the boolean `true`, sets the trim flag to `true` and if the boolean `false` to `false`. If the value provided is a string, sets the trim flag to the provided value, which must be one of "true", "false", "start" or "end".
|
||||
url: URIRef # For a Table: This link property gives the single URL of the CSV file that the table is held in, relative to the location of the metadata document. For a Transformation: A link property giving the single URL of the file that the script or template is held in, relative to the location of the metadata document.
|
||||
valueUrl: URIRef # An URI template property that is used to map the values of cells into URLs.
|
||||
virtual: URIRef # A boolean atomic property taking a single value which indicates whether the column is a virtual column not present in the original source
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Class
|
||||
Cell: URIRef # A Cell represents a cell at the intersection of a Row and a Column within a Table.
|
||||
Column: (
|
||||
URIRef # A Column represents a vertical arrangement of Cells within a Table.
|
||||
)
|
||||
Datatype: URIRef # Describes facets of a datatype.
|
||||
Dialect: URIRef # A Dialect Description provides hints to parsers about how to parse a linked file.
|
||||
Direction: URIRef # The class of table/text directions.
|
||||
ForeignKey: URIRef # Describes relationships between Columns in one or more Tables.
|
||||
NumericFormat: URIRef # If the datatype is a numeric type, the format property indicates the expected format for that number. Its value must be either a single string or an object with one or more properties.
|
||||
Row: URIRef # A Row represents a horizontal arrangement of cells within a Table.
|
||||
Schema: URIRef # A Schema is a definition of a tabular format that may be common to multiple tables.
|
||||
Table: URIRef # An annotated table is a table that is annotated with additional metadata.
|
||||
TableGroup: URIRef # A Group of Tables comprises a set of Annotated Tables and a set of annotations that relate to those Tables.
|
||||
TableReference: URIRef # An object property that identifies a referenced table and a set of referenced columns within that table.
|
||||
Transformation: URIRef # A Transformation Definition is a definition of how tabular data can be transformed into another format.
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Datatype
|
||||
JSON: URIRef # A literal containing JSON.
|
||||
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.
|
||||
inherit: URIRef # For `textDirection`, indicates that the direction is inherited from the `tableDirection` annotation of the `table`.
|
||||
ltr: URIRef # Indicates whether the tables in the group should be displayed with the first column on the right.
|
||||
rtl: URIRef # Indicates whether the tables in the group should be displayed with the first column on the left.
|
||||
|
||||
# http://www.w3.org/ns/prov#Role
|
||||
csvEncodedTabularData: (
|
||||
URIRef # Describes the role of a CSV file in the tabular data mapping.
|
||||
)
|
||||
tabularMetadata: (
|
||||
URIRef # Describes the role of a Metadata file in the tabular data mapping.
|
||||
)
|
||||
|
||||
_NS = Namespace("http://www.w3.org/ns/csvw#")
|
||||
@@ -0,0 +1,37 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
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
|
||||
|
||||
"""
|
||||
|
||||
_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.
|
||||
creator: URIRef # An entity primarily responsible for making the resource.
|
||||
date: URIRef # A point or period of time associated with an event in the lifecycle of the resource.
|
||||
description: URIRef # An account of the resource.
|
||||
format: URIRef # The file format, physical medium, or dimensions of the resource.
|
||||
identifier: (
|
||||
URIRef # An unambiguous reference to the resource within a given context.
|
||||
)
|
||||
language: URIRef # A language of the resource.
|
||||
publisher: URIRef # An entity responsible for making the resource available.
|
||||
relation: URIRef # A related resource.
|
||||
rights: URIRef # Information about rights held in and over the resource.
|
||||
source: URIRef # A related resource from which the described resource is derived.
|
||||
subject: URIRef # The topic of the resource.
|
||||
title: URIRef # A name given to the resource.
|
||||
type: URIRef # The nature or genre of the resource.
|
||||
|
||||
_NS = Namespace("http://purl.org/dc/elements/1.1/")
|
||||
@@ -0,0 +1,24 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
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
|
||||
|
||||
"""
|
||||
|
||||
_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.
|
||||
rangeIncludes: URIRef # A suggested class for values of this property.
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Class
|
||||
VocabularyEncodingScheme: URIRef # An enumerated set of resources.
|
||||
|
||||
_NS = Namespace("http://purl.org/dc/dcam/")
|
||||
@@ -0,0 +1,71 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
class DCAT(DefinedNamespace):
|
||||
"""
|
||||
The data catalog vocabulary
|
||||
|
||||
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.
|
||||
|
||||
Generated from: https://www.w3.org/ns/dcat2.ttl
|
||||
Date: 2020-05-26 14:19:59.985854
|
||||
|
||||
"""
|
||||
|
||||
# http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
|
||||
accessURL: URIRef # A URL of a resource that gives access to a distribution of the dataset. E.g. landing page, feed, SPARQL endpoint. Use for all cases except a simple download link, in which case downloadURL is preferred.
|
||||
bbox: URIRef # The geographic bounding box of a resource.
|
||||
byteSize: URIRef # The size of a distribution in bytes.
|
||||
centroid: URIRef # The geographic center (centroid) of a resource.
|
||||
compressFormat: URIRef # The compression format of the distribution in which the data is contained in a compressed form, e.g. to reduce the size of the downloadable file.
|
||||
contactPoint: URIRef # Relevant contact information for the catalogued resource. Use of vCard is recommended.
|
||||
dataset: URIRef # A collection of data that is listed in the catalog.
|
||||
distribution: URIRef # An available distribution of the dataset.
|
||||
downloadURL: URIRef # The URL of the downloadable file in a given format. E.g. CSV file or RDF file. The format is indicated by the distribution's dct:format and/or dcat:mediaType.
|
||||
endDate: URIRef # The end of the period.
|
||||
keyword: URIRef # A keyword or tag describing a resource.
|
||||
landingPage: URIRef # A Web page that can be navigated to in a Web browser to gain access to the catalog, a dataset, its distributions and/or additional information.
|
||||
mediaType: URIRef # The media type of the distribution as defined by IANA.
|
||||
packageFormat: URIRef # The package format of the distribution in which one or more data files are grouped together, e.g. to enable a set of related files to be downloaded together.
|
||||
record: URIRef # A record describing the registration of a single dataset or data service that is part of the catalog.
|
||||
startDate: URIRef # The start of the period
|
||||
theme: (
|
||||
URIRef # A main category of the resource. A resource can have multiple themes.
|
||||
)
|
||||
themeTaxonomy: URIRef # The knowledge organization system (KOS) used to classify catalog's datasets.
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Class
|
||||
Catalog: URIRef # A curated collection of metadata about resources (e.g., datasets and data services in the context of a data catalog).
|
||||
CatalogRecord: URIRef # A record in a data catalog, describing the registration of a single dataset or data service.
|
||||
Dataset: URIRef # A collection of data, published or curated by a single source, and available for access or download in one or more representations.
|
||||
Distribution: URIRef # A specific representation of a dataset. A dataset might be available in multiple serializations that may differ in various ways, including natural language, media-type or format, schematic organization, temporal and spatial resolution, level of detail or profiles (which might specify any or all of the above).
|
||||
|
||||
# http://www.w3.org/2002/07/owl#Class
|
||||
DataService: URIRef # A site or end-point providing operations related to the discovery of, access to, or processing functions on, data or related resources.
|
||||
Relationship: URIRef # An association class for attaching additional information to a relationship between DCAT Resources.
|
||||
Resource: URIRef # Resource published or curated by a single agent.
|
||||
Role: URIRef # A role is the function of a resource or agent with respect to another resource, in the context of resource attribution or resource relationships.
|
||||
|
||||
# http://www.w3.org/2002/07/owl#DatatypeProperty
|
||||
spatialResolutionInMeters: URIRef # mínima separacíon espacial disponible en un conjunto de datos, medida en metros.
|
||||
temporalResolution: URIRef # minimum time period resolvable in a dataset.
|
||||
|
||||
# http://www.w3.org/2002/07/owl#ObjectProperty
|
||||
accessService: URIRef # A site or end-point that gives access to the distribution of the dataset.
|
||||
catalog: URIRef # A catalog whose contents are of interest in the context of this catalog.
|
||||
endpointDescription: URIRef # A description of the service end-point, including its operations, parameters etc.
|
||||
endpointURL: URIRef # The root location or primary endpoint of the service (a web-resolvable IRI).
|
||||
hadRole: URIRef # The function of an entity or agent with respect to another entity or resource.
|
||||
qualifiedRelation: (
|
||||
URIRef # Link to a description of a relationship with another resource.
|
||||
)
|
||||
servesDataset: URIRef # A collection of data that this DataService can distribute.
|
||||
service: URIRef # A site or endpoint that is listed in the catalog.
|
||||
|
||||
_NS = Namespace("http://www.w3.org/ns/dcat#")
|
||||
@@ -0,0 +1,30 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
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
|
||||
|
||||
"""
|
||||
|
||||
_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.
|
||||
Event: URIRef # A non-persistent, time-based occurrence.
|
||||
Image: URIRef # A visual representation other than text.
|
||||
InteractiveResource: URIRef # A resource requiring interaction from the user to be understood, executed, or experienced.
|
||||
MovingImage: URIRef # A series of visual representations imparting an impression of motion when shown in succession.
|
||||
PhysicalObject: URIRef # An inanimate, three-dimensional object or substance.
|
||||
Service: URIRef # A system that provides one or more functions.
|
||||
Software: URIRef # A computer program in source or compiled form.
|
||||
Sound: URIRef # A resource primarily intended to be heard.
|
||||
StillImage: URIRef # A static visual representation.
|
||||
Text: URIRef # A resource consisting primarily of words for reading.
|
||||
|
||||
_NS = Namespace("http://purl.org/dc/dcmitype/")
|
||||
@@ -0,0 +1,139 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
class DCTERMS(DefinedNamespace):
|
||||
"""
|
||||
DCMI Metadata Terms - other
|
||||
|
||||
Generated from: https://www.dublincore.org/specifications/dublin-core/dcmi-terms/dublin_core_terms.ttl
|
||||
Date: 2020-05-26 14:20:00.590514
|
||||
|
||||
"""
|
||||
|
||||
_fail = True
|
||||
|
||||
# http://purl.org/dc/dcam/VocabularyEncodingScheme
|
||||
DCMIType: URIRef # The set of classes specified by the DCMI Type Vocabulary, used to categorize the nature or genre of the resource.
|
||||
DDC: URIRef # The set of conceptual resources specified by the Dewey Decimal Classification.
|
||||
IMT: URIRef # The set of media types specified by the Internet Assigned Numbers Authority.
|
||||
LCC: URIRef # The set of conceptual resources specified by the Library of Congress Classification.
|
||||
LCSH: URIRef # The set of labeled concepts specified by the Library of Congress Subject Headings.
|
||||
MESH: (
|
||||
URIRef # The set of labeled concepts specified by the Medical Subject Headings.
|
||||
)
|
||||
NLM: URIRef # The set of conceptual resources specified by the National Library of Medicine Classification.
|
||||
TGN: URIRef # The set of places specified by the Getty Thesaurus of Geographic Names.
|
||||
UDC: URIRef # The set of conceptual resources specified by the Universal Decimal Classification.
|
||||
|
||||
# http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
|
||||
abstract: URIRef # A summary of the resource.
|
||||
accessRights: URIRef # Information about who access the resource or an indication of its security status.
|
||||
accrualMethod: URIRef # The method by which items are added to a collection.
|
||||
accrualPeriodicity: (
|
||||
URIRef # The frequency with which items are added to a collection.
|
||||
)
|
||||
accrualPolicy: URIRef # The policy governing the addition of items to a collection.
|
||||
alternative: URIRef # An alternative name for the resource.
|
||||
audience: URIRef # A class of agents for whom the resource is intended or useful.
|
||||
available: URIRef # Date that the resource became or will become available.
|
||||
bibliographicCitation: URIRef # A bibliographic reference for the resource.
|
||||
conformsTo: (
|
||||
URIRef # An established standard to which the described resource conforms.
|
||||
)
|
||||
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.
|
||||
created: URIRef # Date of creation of the resource.
|
||||
creator: URIRef # An entity responsible for making the resource.
|
||||
date: URIRef # A point or period of time associated with an event in the lifecycle of the resource.
|
||||
dateAccepted: URIRef # Date of acceptance of the resource.
|
||||
dateCopyrighted: URIRef # Date of copyright of the resource.
|
||||
dateSubmitted: URIRef # Date of submission of the resource.
|
||||
description: URIRef # An account of the resource.
|
||||
educationLevel: URIRef # A class of agents, defined in terms of progression through an educational or training context, for which the described resource is intended.
|
||||
extent: URIRef # The size or duration of the resource.
|
||||
format: URIRef # The file format, physical medium, or dimensions of the resource.
|
||||
hasFormat: URIRef # A related resource that is substantially the same as the pre-existing described resource, but in another format.
|
||||
hasPart: URIRef # A related resource that is included either physically or logically in the described resource.
|
||||
hasVersion: URIRef # A related resource that is a version, edition, or adaptation of the described resource.
|
||||
identifier: (
|
||||
URIRef # An unambiguous reference to the resource within a given context.
|
||||
)
|
||||
instructionalMethod: URIRef # A process, used to engender knowledge, attitudes and skills, that the described resource is designed to support.
|
||||
isFormatOf: URIRef # A pre-existing related resource that is substantially the same as the described resource, but in another format.
|
||||
isPartOf: URIRef # A related resource in which the described resource is physically or logically included.
|
||||
isReferencedBy: URIRef # A related resource that references, cites, or otherwise points to the described resource.
|
||||
isReplacedBy: URIRef # A related resource that supplants, displaces, or supersedes the described resource.
|
||||
isRequiredBy: URIRef # A related resource that requires the described resource to support its function, delivery, or coherence.
|
||||
isVersionOf: URIRef # A related resource of which the described resource is a version, edition, or adaptation.
|
||||
issued: URIRef # Date of formal issuance of the resource.
|
||||
language: URIRef # A language of the resource.
|
||||
license: URIRef # A legal document giving official permission to do something with the resource.
|
||||
mediator: URIRef # An entity that mediates access to the resource.
|
||||
medium: URIRef # The material or physical carrier of the resource.
|
||||
modified: URIRef # Date on which the resource was changed.
|
||||
provenance: URIRef # A statement of any changes in ownership and custody of the resource since its creation that are significant for its authenticity, integrity, and interpretation.
|
||||
publisher: URIRef # An entity responsible for making the resource available.
|
||||
references: URIRef # A related resource that is referenced, cited, or otherwise pointed to by the described resource.
|
||||
relation: URIRef # A related resource.
|
||||
replaces: URIRef # A related resource that is supplanted, displaced, or superseded by the described resource.
|
||||
requires: URIRef # A related resource that is required by the described resource to support its function, delivery, or coherence.
|
||||
rights: URIRef # Information about rights held in and over the resource.
|
||||
rightsHolder: (
|
||||
URIRef # A person or organization owning or managing rights over the resource.
|
||||
)
|
||||
source: URIRef # A related resource from which the described resource is derived.
|
||||
spatial: URIRef # Spatial characteristics of the resource.
|
||||
subject: URIRef # A topic of the resource.
|
||||
tableOfContents: URIRef # A list of subunits of the resource.
|
||||
temporal: URIRef # Temporal characteristics of the resource.
|
||||
title: URIRef # A name given to the resource.
|
||||
type: URIRef # The nature or genre of the resource.
|
||||
valid: URIRef # Date (often a range) of validity of a resource.
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Class
|
||||
Agent: URIRef # A resource that acts or has the power to act.
|
||||
AgentClass: URIRef # A group of agents.
|
||||
BibliographicResource: URIRef # A book, article, or other documentary resource.
|
||||
FileFormat: URIRef # A digital resource format.
|
||||
Frequency: URIRef # A rate at which something recurs.
|
||||
Jurisdiction: (
|
||||
URIRef # The extent or range of judicial, law enforcement, or other authority.
|
||||
)
|
||||
LicenseDocument: URIRef # A legal document giving official permission to do something with a resource.
|
||||
LinguisticSystem: URIRef # A system of signs, symbols, sounds, gestures, or rules used in communication.
|
||||
Location: URIRef # A spatial region or named place.
|
||||
LocationPeriodOrJurisdiction: URIRef # A location, period of time, or jurisdiction.
|
||||
MediaType: URIRef # A file format or physical medium.
|
||||
MediaTypeOrExtent: URIRef # A media type or extent.
|
||||
MethodOfAccrual: URIRef # A method by which resources are added to a collection.
|
||||
MethodOfInstruction: (
|
||||
URIRef # A process that is used to engender knowledge, attitudes, and skills.
|
||||
)
|
||||
PeriodOfTime: URIRef # An interval of time that is named or defined by its start and end dates.
|
||||
PhysicalMedium: URIRef # A physical material or carrier.
|
||||
PhysicalResource: URIRef # A material thing.
|
||||
Policy: URIRef # A plan or course of action by an authority, intended to influence and determine decisions, actions, and other matters.
|
||||
ProvenanceStatement: URIRef # Any changes in ownership and custody of a resource since its creation that are significant for its authenticity, integrity, and interpretation.
|
||||
RightsStatement: URIRef # A statement about the intellectual property rights (IPR) held in or over a resource, a legal document giving official permission to do something with a resource, or a statement about access rights.
|
||||
SizeOrDuration: URIRef # A dimension or extent, or a time taken to play or execute.
|
||||
Standard: URIRef # A reference point against which other things can be evaluated or compared.
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Datatype
|
||||
Box: URIRef # The set of regions in space defined by their geographic coordinates according to the DCMI Box Encoding Scheme.
|
||||
ISO3166: URIRef # The set of codes listed in ISO 3166-1 for the representation of names of countries.
|
||||
Period: URIRef # The set of time intervals defined by their limits according to the DCMI Period Encoding Scheme.
|
||||
Point: URIRef # The set of points in space defined by their geographic coordinates according to the DCMI Point Encoding Scheme.
|
||||
RFC1766: URIRef # The set of tags, constructed according to RFC 1766, for the identification of languages.
|
||||
RFC3066: URIRef # The set of tags constructed according to RFC 3066 for the identification of languages.
|
||||
RFC4646: URIRef # The set of tags constructed according to RFC 4646 for the identification of languages.
|
||||
RFC5646: URIRef # The set of tags constructed according to RFC 5646 for the identification of languages.
|
||||
URI: URIRef # The set of identifiers constructed according to the generic syntax for Uniform Resource Identifiers as specified by the Internet Engineering Task Force.
|
||||
W3CDTF: URIRef # The set of dates and times constructed according to the W3C Date and Time Formats Specification.
|
||||
|
||||
# Valid non-python identifiers
|
||||
_extras = ["ISO639-2", "ISO639-3"]
|
||||
|
||||
_NS = Namespace("http://purl.org/dc/terms/")
|
||||
@@ -0,0 +1,84 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
class DOAP(DefinedNamespace):
|
||||
"""
|
||||
Description of a Project (DOAP) vocabulary
|
||||
|
||||
The Description of a Project (DOAP) vocabulary, described using W3C RDF Schema and the Web Ontology Language.
|
||||
|
||||
Generated from: http://usefulinc.com/ns/doap
|
||||
Date: 2024-08-01 13:03:22.175167
|
||||
"""
|
||||
|
||||
_NS = Namespace("http://usefulinc.com/ns/doap#")
|
||||
|
||||
_fail = True
|
||||
|
||||
ArchRepository: URIRef # GNU Arch source code repository. Dépôt GNU Arch du code source. Repositorio GNU Arch del código fuente. GNU Arch Quellcode-Versionierungssystem. Úložiště zdrojových kódů GNU Arch. Repositório GNU Arch do código fonte.
|
||||
BKRepository: URIRef # BitKeeper source code repository. Dépôt BitKeeper du code source. Repositorio BitKeeper del código fuente. BitKeeper Quellcode-Versionierungssystem. Úložiště zdrojových kódů BitKeeper. Repositório BitKeeper do código fonte.
|
||||
BazaarBranch: (
|
||||
URIRef # Bazaar source code branch. Código fonte da ramificação Bazaar.
|
||||
)
|
||||
CVSRepository: URIRef # CVS source code repository. Dépôt CVS du code source. Repositorio CVS del código fuente. CVS Quellcode-Versionierungssystem. Úložiště zdrojových kódů CVS. Repositório CVS do código fonte.
|
||||
DarcsRepository: URIRef # darcs source code repository. Dépôt darcs du code source. Repositorio darcs del código fuente. Repositório darcs do código fonte.
|
||||
GitBranch: URIRef # Git source code branch. Código fonte da ramificação Git.
|
||||
GitRepository: URIRef # Git source code repository. Dépôt Git du code source. Repositorio Git del código fuente. Git Quellcode-Versionierungssystem. Úložiště zdrojových kódů Git. Repositório Git do código fonte.
|
||||
HgRepository: URIRef # Mercurial source code repository. Repositório Mercurial do código fonte.
|
||||
Project: URIRef # A project. Un projet. Un proyecto. Ein Projekt. Projekt. Projeto.
|
||||
Repository: URIRef # Source code repository. Dépôt du code source. Repositorio del código fuente. Quellcode-Versionierungssystem. Úložiště zdrojových kódů. Repositório do código fonte.
|
||||
SVNRepository: URIRef # Subversion source code repository. Dépôt Subversion du code source. Repositorio Subversion del código fuente. Subversion Quellcode-Versionierungssystem. Úložiště zdrojových kódů Subversion. Repositório Subversion do código fonte.
|
||||
Specification: URIRef # A specification of a system's aspects, technical or otherwise. A especificação de aspetos, técnicas ou outros do sistema.
|
||||
Version: URIRef # Version information of a project release. Détails sur une version d'une release d'un projet. Información sobre la versión de un release del proyecto. Versionsinformation eines Projekt Releases. Informace o uvolněné verzi projektu. Informação sobre a versão do projeto lançado.
|
||||
audience: (
|
||||
URIRef # Description of target user base Descrição do utilizador base alvo
|
||||
)
|
||||
blog: URIRef # URI of a blog related to a project URI de um blog relacionado com um projeto
|
||||
browse: URIRef # Web browser interface to repository. Interface web au dépôt. Interface web del repositorio. Web-Browser Interface für das Repository. Webové rozhraní pro prohlížení úložiště. Interface web do repositório.
|
||||
category: URIRef # A category of project. Une catégorie de projet. Una categoría de proyecto. Eine Kategorie eines Projektes. Kategorie projektu. Uma categoría de projeto.
|
||||
created: URIRef # Date when something was created, in YYYY-MM-DD form. e.g. 2004-04-05 Date à laquelle a été créé quelque chose, au format AAAA-MM-JJ (par ex. 2004-04-05) Fecha en la que algo fue creado, en formato AAAA-MM-DD. e.g. 2004-04-05 Erstellungsdatum von Irgendwas, angegeben im YYYY-MM-DD Format, z.B. 2004-04-05. Datum, kdy bylo něco vytvořeno ve formátu RRRR-MM-DD, např. 2004-04-05 Data em que algo foi criado, no formato AAAA-MM-DD. e.g. 2004-04-05
|
||||
description: URIRef # Plain text description of a project, of 2-4 sentences in length. Texte descriptif d'un projet, long de 2 à 4 phrases. Descripción en texto plano de un proyecto, de 2 a 4 enunciados de longitud. Beschreibung eines Projekts als einfacher Text mit der Länge von 2 bis 4 Sätzen. Čistě textový, 2 až 4 věty dlouhý popis projektu. Descrição de um projeto em texto apenas, com 2 a 4 frases de comprimento.
|
||||
developer: URIRef # Developer of software for the project. Développeur pour le projet. Desarrollador de software para el proyecto. Software-Entwickler für das Projekt. Vývojář softwaru projektu. Programador de software para o projeto.
|
||||
documentation: (
|
||||
URIRef # Documentation of the project. Aide pour l’utilisation de ce projet.
|
||||
)
|
||||
documenter: URIRef # Contributor of documentation to the project. Collaborateur à la documentation du projet. Proveedor de documentación para el proyecto. Mitarbeiter an der Dokumentation des Projektes. Spoluautor dokumentace projektu. Contribuidor para a documentação do projeto.
|
||||
helper: URIRef # Project contributor. Collaborateur au projet. Colaborador del proyecto. Projekt-Mitarbeiter. Spoluautor projektu. Ajudante ou colaborador do projeto.
|
||||
homepage: URIRef # URL of a project's homepage, associated with exactly one project. L'URL de la page web d'un projet, associée avec un unique projet. El URL de la página de un proyecto, asociada con exactamente un proyecto. URL der Projekt-Homepage, verbunden mit genau einem Projekt. URL adresa domovské stránky projektu asociované s právě jedním projektem. O URL da página de um projeto, asociada com exactamente um projeto.
|
||||
implements: URIRef # A specification that a project implements. Could be a standard, API or legally defined level of conformance. Uma especificação que um projeto implementa. Pode ser uma padrão, API ou um nível de conformidade definida legalmente.
|
||||
language: URIRef # BCP47 language code a project has been translated into Código de idioma BCP47 do projeto para o qual foi traduzido
|
||||
license: URIRef # The URI of an RDF description of the license the software is distributed under. E.g. a SPDX reference L'URI d'une description RDF de la licence sous laquelle le programme est distribué. El URI de una descripción RDF de la licencia bajo la cuál se distribuye el software. Die URI einer RDF-Beschreibung einer Lizenz unter der die Software herausgegeben wird. z.B. eine SPDX Referenz URI adresa RDF popisu licence, pod kterou je software distribuován. O URI de uma descrição RDF da licença do software sob a qual é distribuída. Ex.: referência SPDX
|
||||
location: URIRef # Location of a repository. Emplacement d'un dépôt. lugar de un repositorio. Lokation eines Repositorys. Umístění úložiště. Localização de um repositório.
|
||||
maintainer: URIRef # Maintainer of a project, a project leader. Développeur principal d'un projet, un meneur du projet. Desarrollador principal de un proyecto, un líder de proyecto. Hauptentwickler eines Projektes, der Projektleiter Správce projektu, vedoucí projektu. Programador principal de um projeto, um líder de projeto.
|
||||
module: URIRef # Module name of a Subversion, CVS, BitKeeper or Arch repository. Nom du module d'un dépôt Subversion, CVS, BitKeeper ou Arch. Nombre del módulo de un repositorio Subversion, CVS, BitKeeper o Arch. Modul-Name eines Subversion, CVS, BitKeeper oder Arch Repositorys. Jméno modulu v CVS, BitKeeper nebo Arch úložišti. Nome do módulo de um repositório Subversion, CVS, BitKeeper ou Arch.
|
||||
name: URIRef # A name of something. Le nom de quelque chose. El nombre de algo. Der Name von Irgendwas Jméno něčeho. O nome de alguma coisa.
|
||||
os: URIRef # Operating system that a project is limited to. Omit this property if the project is not OS-specific. Système d'exploitation auquel est limité le projet. Omettez cette propriété si le projet n'est pas limité à un système d'exploitation. Sistema opertivo al cuál está limitado el proyecto. Omita esta propiedad si el proyecto no es específico de un sistema opertaivo en particular. Betriebssystem auf dem das Projekt eingesetzt werden kann. Diese Eigenschaft kann ausgelassen werden, wenn das Projekt nicht BS-spezifisch ist. Operační systém, na jehož použití je projekt limitován. Vynechejte tuto vlastnost, pokud je projekt nezávislý na operačním systému. Sistema operativo a que o projeto está limitado. Omita esta propriedade se o projeto não é condicionado pelo SO usado.
|
||||
platform: URIRef # Indicator of software platform (non-OS specific), e.g. Java, Firefox, ECMA CLR Indicador da plataforma do software (não específico a nenhum SO), ex.: Java, Firefox, ECMA CLR
|
||||
release: URIRef # A project release. Une release (révision) d'un projet. Un release (versión) de un proyecto. Ein Release (Version) eines Projekts. Relase (verze) projektu. A publicação de um projeto.
|
||||
repository: URIRef # Source code repository. Dépôt du code source. Repositorio del código fuente. Quellcode-Versionierungssystem. Úložiště zdrojových kódů. Repositório do código fonte.
|
||||
repositoryOf: URIRef # The project that uses a repository.
|
||||
revision: URIRef # Revision identifier of a software release. Identifiant de révision d'une release du programme. Indentificador de la versión de un release de software. Versionsidentifikator eines Software-Releases. Identifikátor zpřístupněné revize softwaru. Identificador do lançamento da revisão do software.
|
||||
screenshots: URIRef # Web page with screenshots of project. Page web avec des captures d'écran du projet. Página web con capturas de pantalla del proyecto. Web-Seite mit Screenshots eines Projektes. Webová stránka projektu se snímky obrazovky. Página web com as capturas de ecrãn do projeto.
|
||||
shortdesc: URIRef # Short (8 or 9 words) plain text description of a project. Texte descriptif concis (8 ou 9 mots) d'un projet. Descripción corta (8 o 9 palabras) en texto plano de un proyecto. Kurzbeschreibung (8 oder 9 Wörter) eines Projekts als einfacher Text. Krátký (8 nebo 9 slov) čistě textový popis projektu. Descrição curta (com 8 ou 9 palavras) de um projeto em texto apenas.
|
||||
tester: URIRef # A tester or other quality control contributor. Un testeur ou un collaborateur au contrôle qualité. Un tester u otro proveedor de control de calidad. Ein Tester oder anderer Mitarbeiter der Qualitätskontrolle. Tester nebo jiný spoluautor kontrolující kvalitu. Um controlador ou outro contribuidor para o controlo de qualidade.
|
||||
translator: URIRef # Contributor of translations to the project. Collaborateur à la traduction du projet. Proveedor de traducciones al proyecto. Mitarbeiter an den Übersetzungen des Projektes. Spoluautor překladu projektu. Contribuidor das traduções para o projeto.
|
||||
vendor: URIRef # Vendor organization: commercial, free or otherwise
|
||||
wiki: URIRef # URL of Wiki for collaborative discussion of project. L'URL du Wiki pour la discussion collaborative sur le projet. URL del Wiki para discusión colaborativa del proyecto. Wiki-URL für die kollaborative Dikussion eines Projektes. URL adresa wiki projektu pro společné diskuse. URL da Wiki para discussão em grupo do projeto.
|
||||
|
||||
# Valid non-python identifiers
|
||||
_extras = [
|
||||
"anon-root", # Repository for anonymous access. Dépôt pour accès anonyme. Repositorio para acceso anónimo. Repository für anonymen Zugriff Úložiště pro anonymní přístup. Repositório para acesso anónimo.
|
||||
"bug-database", # Bug tracker for a project. Suivi des bugs pour un projet. Bug tracker para un proyecto. Fehlerdatenbank eines Projektes. Správa chyb projektu. Bug tracker para um projeto.
|
||||
"developer-forum", # A forum or community for developers of this project.
|
||||
"download-mirror", # Mirror of software download web page. Miroir de la page de téléchargement du programme. Mirror de la página web de descarga. Spiegel der Seite von die Projekt-Software heruntergeladen werden kann. Zrcadlo stránky pro stažení softwaru. Mirror da página web para fazer download.
|
||||
"download-page", # Web page from which the project software can be downloaded. Page web à partir de laquelle on peut télécharger le programme. Página web de la cuál se puede bajar el software. Web-Seite von der die Projekt-Software heruntergeladen werden kann. Webová stránka, na které lze stáhnout projektový software. Página web da qual o projeto de software pode ser descarregado.
|
||||
"file-release", # URI of download associated with this release. URI adresa stažení asociované s revizí. URI para download associado com a publicação.
|
||||
"mailing-list", # Mailing list home page or email address. Page web de la liste de diffusion, ou adresse de courriel. Página web de la lista de correo o dirección de correo. Homepage der Mailing Liste oder E-Mail Adresse. Domovská stránka nebo e–mailová adresa e–mailové diskuse. Página web da lista de distribuição de e-mail ou dos endereços.
|
||||
"old-homepage", # URL of a project's past homepage, associated with exactly one project. L'URL d'une ancienne page web d'un projet, associée avec un unique projet. El URL de la antigua página de un proyecto, asociada con exactamente un proyecto. URL der letzten Projekt-Homepage, verbunden mit genau einem Projekt. URL adresa předešlé domovské stránky projektu asociované s právě jedním projektem. O URL antigo da página de um projeto, associada com exactamente um projeto.
|
||||
"programming-language", # Programming language a project is implemented in or intended for use with. Langage de programmation avec lequel un projet est implémenté, ou avec lequel il est prévu de l'utiliser. Lenguaje de programación en el que un proyecto es implementado o con el cuál pretende usarse. Programmiersprache in der ein Projekt implementiert ist oder intendiert wird zu benutzen. Programovací jazyk, ve kterém je projekt implementován nebo pro který je zamýšlen k použití. Linguagem de programação que o projeto usa ou é para ser utilizada.
|
||||
"security-contact", # The Agent that should be contacted if security issues are found with the project.
|
||||
"security-policy", # URL of the security policy of a project.
|
||||
"service-endpoint", # The URI of a web service endpoint where software as a service may be accessed
|
||||
"support-forum", # A forum or community that supports this project.
|
||||
]
|
||||
@@ -0,0 +1,105 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
class FOAF(DefinedNamespace):
|
||||
"""
|
||||
Friend of a Friend (FOAF) vocabulary
|
||||
|
||||
The Friend of a Friend (FOAF) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language.
|
||||
|
||||
Generated from: http://xmlns.com/foaf/spec/index.rdf
|
||||
Date: 2020-05-26 14:20:01.597998
|
||||
|
||||
"""
|
||||
|
||||
_fail = True
|
||||
|
||||
# http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
|
||||
account: URIRef # Indicates an account held by this agent.
|
||||
accountName: (
|
||||
URIRef # Indicates the name (identifier) associated with this online account.
|
||||
)
|
||||
accountServiceHomepage: (
|
||||
URIRef # Indicates a homepage of the service provide for this online account.
|
||||
)
|
||||
age: URIRef # The age in years of some agent.
|
||||
based_near: URIRef # A location that something is based near, for some broadly human notion of near.
|
||||
birthday: URIRef # The birthday of this Agent, represented in mm-dd string form, eg. '12-31'.
|
||||
currentProject: URIRef # A current project this person works on.
|
||||
depiction: URIRef # A depiction of some thing.
|
||||
depicts: URIRef # A thing depicted in this representation.
|
||||
dnaChecksum: URIRef # A checksum for the DNA of some thing. Joke.
|
||||
familyName: URIRef # The family name of some person.
|
||||
family_name: URIRef # The family name of some person.
|
||||
firstName: URIRef # The first name of a person.
|
||||
focus: URIRef # The underlying or 'focal' entity associated with some SKOS-described concept.
|
||||
fundedBy: URIRef # An organization funding a project or person.
|
||||
geekcode: URIRef # A textual geekcode for this person, see http://www.geekcode.com/geek.html
|
||||
gender: URIRef # The gender of this Agent (typically but not necessarily 'male' or 'female').
|
||||
givenName: URIRef # The given name of some person.
|
||||
givenname: URIRef # The given name of some person.
|
||||
holdsAccount: URIRef # Indicates an account held by this agent.
|
||||
img: URIRef # An image that can be used to represent some thing (ie. those depictions which are particularly representative of something, eg. one's photo on a homepage).
|
||||
interest: URIRef # A page about a topic of interest to this person.
|
||||
knows: URIRef # A person known by this person (indicating some level of reciprocated interaction between the parties).
|
||||
lastName: URIRef # The last name of a person.
|
||||
made: URIRef # Something that was made by this agent.
|
||||
maker: URIRef # An agent that made this thing.
|
||||
member: URIRef # Indicates a member of a Group
|
||||
membershipClass: (
|
||||
URIRef # Indicates the class of individuals that are a member of a Group
|
||||
)
|
||||
myersBriggs: URIRef # A Myers Briggs (MBTI) personality classification.
|
||||
name: URIRef # A name for some thing.
|
||||
nick: URIRef # A short informal nickname characterising an agent (includes login identifiers, IRC and other chat nicknames).
|
||||
page: URIRef # A page or document about this thing.
|
||||
pastProject: URIRef # A project this person has previously worked on.
|
||||
phone: URIRef # A phone, specified using fully qualified tel: URI scheme (refs: http://www.w3.org/Addressing/schemes.html#tel).
|
||||
plan: URIRef # A .plan comment, in the tradition of finger and '.plan' files.
|
||||
primaryTopic: URIRef # The primary topic of some page or document.
|
||||
publications: URIRef # A link to the publications of this person.
|
||||
schoolHomepage: URIRef # A homepage of a school attended by the person.
|
||||
sha1: URIRef # A sha1sum hash, in hex.
|
||||
skypeID: URIRef # A Skype ID
|
||||
status: URIRef # A string expressing what the user is happy for the general public (normally) to know about their current activity.
|
||||
surname: URIRef # The surname of some person.
|
||||
theme: URIRef # A theme.
|
||||
thumbnail: URIRef # A derived thumbnail image.
|
||||
tipjar: URIRef # A tipjar document for this agent, describing means for payment and reward.
|
||||
title: URIRef # Title (Mr, Mrs, Ms, Dr. etc)
|
||||
topic: URIRef # A topic of some page or document.
|
||||
topic_interest: URIRef # A thing of interest to this person.
|
||||
workInfoHomepage: URIRef # A work info homepage of some person; a page about their work for some organization.
|
||||
workplaceHomepage: URIRef # A workplace homepage of some person; the homepage of an organization they work for.
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Class
|
||||
Agent: URIRef # An agent (eg. person, group, software or physical artifact).
|
||||
Document: URIRef # A document.
|
||||
Group: URIRef # A class of Agents.
|
||||
Image: URIRef # An image.
|
||||
LabelProperty: URIRef # A foaf:LabelProperty is any RDF property with textual values that serve as labels.
|
||||
OnlineAccount: URIRef # An online account.
|
||||
OnlineChatAccount: URIRef # An online chat account.
|
||||
OnlineEcommerceAccount: URIRef # An online e-commerce account.
|
||||
OnlineGamingAccount: URIRef # An online gaming account.
|
||||
Organization: URIRef # An organization.
|
||||
Person: URIRef # A person.
|
||||
PersonalProfileDocument: URIRef # A personal profile RDF document.
|
||||
Project: URIRef # A project (a collective endeavour of some kind).
|
||||
|
||||
# http://www.w3.org/2002/07/owl#InverseFunctionalProperty
|
||||
aimChatID: URIRef # An AIM chat ID
|
||||
homepage: URIRef # A homepage for some thing.
|
||||
icqChatID: URIRef # An ICQ chat ID
|
||||
isPrimaryTopicOf: URIRef # A document that this thing is the primary topic of.
|
||||
jabberID: URIRef # A jabber ID for something.
|
||||
logo: URIRef # A logo representing some thing.
|
||||
mbox: URIRef # A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox. This is a 'static inverse functional property', in that there is (across time and change) at most one individual that ever has any particular value for foaf:mbox.
|
||||
mbox_sha1sum: URIRef # The sha1sum of the URI of an Internet mailbox associated with exactly one owner, the first owner of the mailbox.
|
||||
msnChatID: URIRef # An MSN chat ID
|
||||
openid: URIRef # An OpenID for an Agent.
|
||||
weblog: URIRef # A weblog of some thing (whether person, group, company etc.).
|
||||
yahooChatID: URIRef # A Yahoo chat ID
|
||||
|
||||
_NS = Namespace("http://xmlns.com/foaf/0.1/")
|
||||
@@ -0,0 +1,111 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
class GEO(DefinedNamespace):
|
||||
"""
|
||||
An RDF/OWL vocabulary for representing spatial information
|
||||
|
||||
Generated from: http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf
|
||||
Date: 2021-12-27 17:38:15.101187
|
||||
|
||||
.. code-block:: Turtle
|
||||
|
||||
<http://www.opengis.net/ont/geosparql> dc:creator "Open Geospatial Consortium"^^xsd:string
|
||||
dc:date "2012-04-30"^^xsd:date
|
||||
dc:source <http://www.opengis.net/doc/IS/geosparql/1.0>
|
||||
"OGC GeoSPARQL – A Geographic Query Language for RDF Data OGC 11-052r5"^^xsd:string
|
||||
rdfs:seeAlso <http://www.opengis.net/def/function/ogc-geosparql/1.0>
|
||||
<http://www.opengis.net/def/rule/ogc-geosparql/1.0>
|
||||
<http://www.opengis.net/doc/IS/geosparql/1.0>
|
||||
owl:imports dc:
|
||||
<http://www.opengis.net/ont/gml>
|
||||
<http://www.opengis.net/ont/sf>
|
||||
<http://www.w3.org/2004/02/skos/core>
|
||||
owl:versionInfo "OGC GeoSPARQL 1.0"^^xsd:string
|
||||
"""
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Datatype
|
||||
dggsLiteral: URIRef # A DGGS serialization of a geometry object.
|
||||
geoJSONLiteral: URIRef # A GeoJSON serialization of a geometry object.
|
||||
gmlLiteral: URIRef # A GML serialization of a geometry object.
|
||||
kmlLiteral: URIRef # A KML serialization of a geometry object.
|
||||
wktLiteral: URIRef # A Well-known Text serialization of a geometry object.
|
||||
|
||||
# http://www.w3.org/2002/07/owl#Class
|
||||
Feature: URIRef # This class represents the top-level feature type. This class is equivalent to GFI_Feature defined in ISO 19156:2011, and it is superclass of all feature types.
|
||||
FeatureCollection: URIRef # A collection of individual Features.
|
||||
Geometry: URIRef # The class represents the top-level geometry type. This class is equivalent to the UML class GM_Object defined in ISO 19107, and it is superclass of all geometry types.
|
||||
GeometryCollection: URIRef # A collection of individual Geometries.
|
||||
SpatialObject: URIRef # The class spatial-object represents everything that can have a spatial representation. It is superclass of feature and geometry.
|
||||
SpatialObjectCollection: URIRef # A collection of individual Spatial Objects. This is the superclass of Feature Collection and Geometry Collection.
|
||||
|
||||
# http://www.w3.org/2002/07/owl#DatatypeProperty
|
||||
asGML: URIRef # The GML serialization of a geometry
|
||||
asWKT: URIRef # The WKT serialization of a geometry
|
||||
asGeoJSON: URIRef # The GeoJSON serialization of a geometry
|
||||
asKML: URIRef # The KML serialization of a geometry
|
||||
asDGGS: URIRef # The DGGS serialization of a geometry
|
||||
coordinateDimension: URIRef # The number of measurements or axes needed to describe the position of this geometry in a coordinate system.
|
||||
dimension: URIRef # The topological dimension of this geometric object, which must be less than or equal to the coordinate dimension. In non-homogeneous collections, this will return the largest topological dimension of the contained objects.
|
||||
hasMetricArea: URIRef # The area of a Spatial Object in square meters.
|
||||
hasMetricLength: URIRef # The length of a Spatial Object in meters.
|
||||
hasMetricPerimeterLength: (
|
||||
URIRef # The length of the perimeter of a Spatial Object in meters.
|
||||
)
|
||||
hasMetricSpatialAccuracy: URIRef # The spatial resolution of a Geometry in meters.
|
||||
hasMetricSpatialResolution: (
|
||||
URIRef # The spatial resolution of a Geometry in meters.
|
||||
)
|
||||
hasMetricSize: URIRef # Subproperties of this property are used to indicate the size of a Spatial Object as a measurement or estimate of one or more dimensions of the Spatial Object's spatial presence. Units are always metric (meter, square meter or cubic meter)
|
||||
hasMetricVolume: URIRef # The volume of a Spatial Object in cubic meters.
|
||||
hasSerialization: (
|
||||
URIRef # Connects a geometry object with its text-based serialization.
|
||||
)
|
||||
isEmpty: URIRef # (true) if this geometric object is the empty Geometry. If true, then this geometric object represents the empty point set for the coordinate space.
|
||||
isSimple: URIRef # (true) if this geometric object has no anomalous geometric points, such as self intersection or self tangency.
|
||||
spatialDimension: URIRef # The number of measurements or axes needed to describe the spatial position of this geometry in a coordinate system.
|
||||
|
||||
# http://www.w3.org/2002/07/owl#ObjectProperty
|
||||
defaultGeometry: URIRef # The default geometry to be used in spatial calculations. It is Usually the most detailed geometry.
|
||||
ehContains: URIRef # Exists if the subject SpatialObject spatially contains the object SpatialObject. DE-9IM: T*TFF*FF*
|
||||
ehCoveredBy: URIRef # Exists if the subject SpatialObject is spatially covered by the object SpatialObject. DE-9IM: TFF*TFT**
|
||||
ehCovers: URIRef # Exists if the subject SpatialObject spatially covers the object SpatialObject. DE-9IM: T*TFT*FF*
|
||||
ehDisjoint: URIRef # Exists if the subject SpatialObject is spatially disjoint from the object SpatialObject. DE-9IM: FF*FF****
|
||||
ehEquals: URIRef # Exists if the subject SpatialObject spatially equals the object SpatialObject. DE-9IM: TFFFTFFFT
|
||||
ehInside: URIRef # Exists if the subject SpatialObject is spatially inside the object SpatialObject. DE-9IM: TFF*FFT**
|
||||
ehMeet: URIRef # Exists if the subject SpatialObject spatially meets the object SpatialObject. DE-9IM: FT******* ^ F**T***** ^ F***T****
|
||||
ehOverlap: URIRef # Exists if the subject SpatialObject spatially overlaps the object SpatialObject. DE-9IM: T*T***T**
|
||||
hasArea: URIRef # The area of a Spatial Object.
|
||||
hasBoundingBox: (
|
||||
URIRef # The minimum or smallest bounding or enclosing box of a given Feature.
|
||||
)
|
||||
hasCentroid: URIRef # The arithmetic mean position of all the geometry points of a given Feature.
|
||||
hasDefaultGeometry: URIRef # The default geometry to be used in spatial calculations, usually the most detailed geometry.
|
||||
hasGeometry: URIRef # A spatial representation for a given feature.
|
||||
hasLength: URIRef # The length of a Spatial Object.
|
||||
hasPerimeterLength: URIRef # The length of the perimeter of a Spatial Object.
|
||||
hasSize: URIRef # Subproperties of this property are used to indicate the size of a Spatial Object as a measurement or estimate of one or more dimensions of the Spatial Object's spatial presence.
|
||||
hasSpatialAccuracy: (
|
||||
URIRef # The positional accuracy of the coordinates of a Geometry.
|
||||
)
|
||||
hasSpatialResolution: URIRef # The spatial resolution of a Geometry.
|
||||
hasVolume: URIRef # he volume of a three-dimensional Spatial Object.
|
||||
rcc8dc: URIRef # Exists if the subject SpatialObject is spatially disjoint from the object SpatialObject. DE-9IM: FFTFFTTTT
|
||||
rcc8ec: URIRef # Exists if the subject SpatialObject spatially meets the object SpatialObject. DE-9IM: FFTFTTTTT
|
||||
rcc8eq: URIRef # Exists if the subject SpatialObject spatially equals the object SpatialObject. DE-9IM: TFFFTFFFT
|
||||
rcc8ntpp: URIRef # Exists if the subject SpatialObject is spatially inside the object SpatialObject. DE-9IM: TFFTFFTTT
|
||||
rcc8ntppi: URIRef # Exists if the subject SpatialObject spatially contains the object SpatialObject. DE-9IM: TTTFFTFFT
|
||||
rcc8po: URIRef # Exists if the subject SpatialObject spatially overlaps the object SpatialObject. DE-9IM: TTTTTTTTT
|
||||
rcc8tpp: URIRef # Exists if the subject SpatialObject is spatially covered by the object SpatialObject. DE-9IM: TFFTTFTTT
|
||||
rcc8tppi: URIRef # Exists if the subject SpatialObject spatially covers the object SpatialObject. DE-9IM: TTTFTTFFT
|
||||
sfContains: URIRef # Exists if the subject SpatialObject spatially contains the object SpatialObject. DE-9IM: T*****FF*
|
||||
sfCrosses: URIRef # Exists if the subject SpatialObject spatially crosses the object SpatialObject. DE-9IM: T*T******
|
||||
sfDisjoint: URIRef # Exists if the subject SpatialObject is spatially disjoint from the object SpatialObject. DE-9IM: FF*FF****
|
||||
sfEquals: URIRef # Exists if the subject SpatialObject spatially equals the object SpatialObject. DE-9IM: TFFFTFFFT
|
||||
sfIntersects: URIRef # Exists if the subject SpatialObject is not spatially disjoint from the object SpatialObject. DE-9IM: T******** ^ *T******* ^ ***T***** ^ ****T****
|
||||
sfOverlaps: URIRef # Exists if the subject SpatialObject spatially overlaps the object SpatialObject. DE-9IM: T*T***T**
|
||||
sfTouches: URIRef # Exists if the subject SpatialObject spatially touches the object SpatialObject. DE-9IM: FT******* ^ F**T***** ^ F***T****
|
||||
sfWithin: URIRef # Exists if the subject SpatialObject is spatially within the object SpatialObject. DE-9IM: T*F**F***
|
||||
|
||||
_NS = Namespace("http://www.opengis.net/ont/geosparql#")
|
||||
@@ -0,0 +1,283 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
class ODRL2(DefinedNamespace):
|
||||
"""
|
||||
ODRL Version 2.2
|
||||
|
||||
The ODRL Vocabulary and Expression defines a set of concepts and terms (the vocabulary) and encoding mechanism
|
||||
(the expression) for permissions and obligations statements describing digital content usage based on the ODRL
|
||||
Information Model.
|
||||
|
||||
Generated from: https://www.w3.org/ns/odrl/2/ODRL22.ttl
|
||||
Date: 2020-05-26 14:20:02.352356
|
||||
|
||||
"""
|
||||
|
||||
_fail = True
|
||||
|
||||
# http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
|
||||
action: URIRef # The operation relating to the Asset for which the Rule is being subjected.
|
||||
andSequence: URIRef # The relation is satisfied when each of the Constraints are satisfied in the order specified.
|
||||
assignee: URIRef # The Party is the recipient of the Rule.
|
||||
assigneeOf: URIRef # Identifies an ODRL Policy for which the identified Party undertakes the assignee functional role.
|
||||
assigner: URIRef # The Party is the issuer of the Rule.
|
||||
assignerOf: URIRef # Identifies an ODRL Policy for which the identified Party undertakes the assigner functional role.
|
||||
attributedParty: URIRef # The Party to be attributed.
|
||||
attributingParty: URIRef # The Party who undertakes the attribution.
|
||||
compensatedParty: URIRef # The Party is the recipient of the compensation.
|
||||
compensatingParty: URIRef # The Party that is the provider of the compensation.
|
||||
conflict: URIRef # The conflict-resolution strategy for a Policy.
|
||||
consentedParty: URIRef # The Party who obtains the consent.
|
||||
consentingParty: URIRef # The Party to obtain consent from.
|
||||
consequence: URIRef # Relates a Duty to another Duty, the latter being a consequence of not fulfilling the former.
|
||||
constraint: URIRef # Constraint applied to a Rule
|
||||
contractedParty: URIRef # The Party who is being contracted.
|
||||
contractingParty: URIRef # The Party who is offering the contract.
|
||||
dataType: URIRef # The datatype of the value of the rightOperand or rightOperandReference of a Constraint.
|
||||
duty: URIRef # Relates an individual Duty to a Permission.
|
||||
failure: URIRef # Failure is an abstract property that defines the violation (or unmet) relationship between Rules.
|
||||
function: URIRef # Function is an abstract property whose sub-properties define the functional roles which may be fulfilled by a party in relation to a Rule.
|
||||
hasPolicy: URIRef # Identifies an ODRL Policy for which the identified Asset is the target Asset to all the Rules.
|
||||
implies: URIRef # An Action asserts that another Action is not prohibited to enable its operational semantics.
|
||||
includedIn: URIRef # An Action transitively asserts that another Action that encompasses its operational semantics.
|
||||
informedParty: URIRef # The Party to be informed of all uses.
|
||||
informingParty: URIRef # The Party who provides the inform use data.
|
||||
inheritAllowed: URIRef # Indicates if the Policy entity can be inherited.
|
||||
inheritFrom: URIRef # Relates a (child) policy to another (parent) policy from which terms are inherited.
|
||||
inheritRelation: URIRef # Identifies the type of inheritance.
|
||||
leftOperand: URIRef # The left operand in a constraint expression.
|
||||
obligation: URIRef # Relates an individual Duty to a Policy.
|
||||
operand: URIRef # Operand is an abstract property for a logical relationship.
|
||||
operator: URIRef # The operator function applied to operands of a Constraint
|
||||
output: URIRef # The output property specifies the Asset which is created from the output of the Action.
|
||||
partOf: URIRef # Identifies an Asset/PartyCollection that the Asset/Party is a member of.
|
||||
payeeParty: URIRef # The Party is the recipient of the payment.
|
||||
permission: URIRef # Relates an individual Permission to a Policy.
|
||||
profile: URIRef # The identifier(s) of an ODRL Profile that the Policy conforms to.
|
||||
prohibition: URIRef # Relates an individual Prohibition to a Policy.
|
||||
proximity: URIRef # An value indicating the closeness or nearness.
|
||||
refinement: URIRef # Constraint used to refine the semantics of an Action, or Party/Asset Collection
|
||||
relation: URIRef # Relation is an abstract property which creates an explicit link between an Action and an Asset.
|
||||
remedy: URIRef # Relates an individual remedy Duty to a Prohibition.
|
||||
rightOperand: URIRef # The value of the right operand in a constraint expression.
|
||||
rightOperandReference: URIRef # A reference to a web resource providing the value for the right operand of a Constraint.
|
||||
scope: URIRef # The identifier of a scope that provides context to the extent of the entity.
|
||||
source: URIRef # Reference to a Asset/PartyCollection
|
||||
status: URIRef # the value generated from the leftOperand action or a value related to the leftOperand set as the reference for the comparison.
|
||||
target: URIRef # The target property indicates the Asset that is the primary subject to which the Rule action directly applies.
|
||||
timedCount: URIRef # The number of seconds after which timed metering use of the asset begins.
|
||||
trackedParty: URIRef # The Party whose usage is being tracked.
|
||||
trackingParty: URIRef # The Party who is tracking usage.
|
||||
uid: URIRef # An unambiguous identifier
|
||||
undefined: (
|
||||
URIRef # Relates the strategy used for handling undefined actions to a Policy.
|
||||
)
|
||||
unit: URIRef # The unit of measurement of the value of the rightOperand or rightOperandReference of a Constraint.
|
||||
xone: URIRef # The relation is satisfied when only one, and not more, of the Constraints is satisfied
|
||||
|
||||
# http://www.w3.org/2002/07/owl#NamedIndividual
|
||||
All: URIRef # Specifies that the scope of the relationship is all of the collective individuals within a context.
|
||||
All2ndConnections: URIRef # Specifies that the scope of the relationship is all of the second-level connections to the Party.
|
||||
AllConnections: URIRef # Specifies that the scope of the relationship is all of the first-level connections of the Party.
|
||||
AllGroups: URIRef # Specifies that the scope of the relationship is all of the group connections of the Party.
|
||||
Group: URIRef # Specifies that the scope of the relationship is the defined group with multiple individual members.
|
||||
Individual: URIRef # Specifies that the scope of the relationship is the single Party individual.
|
||||
absolutePosition: URIRef # A point in space or time defined with absolute coordinates for the positioning of the target Asset.
|
||||
absoluteSize: URIRef # Measure(s) of one or two axes for 2D-objects or measure(s) of one to tree axes for 3D-objects of the target Asset.
|
||||
absoluteSpatialPosition: URIRef # The absolute spatial positions of four corners of a rectangle on a 2D-canvas or the eight corners of a cuboid in a 3D-space for the target Asset to fit.
|
||||
absoluteTemporalPosition: URIRef # The absolute temporal positions in a media stream the target Asset has to fit.
|
||||
count: URIRef # Numeric count of executions of the action of the Rule.
|
||||
dateTime: URIRef # The date (and optional time and timezone) of exercising the action of the Rule. Right operand value MUST be an xsd:date or xsd:dateTime as defined by [[xmlschema11-2]].
|
||||
delayPeriod: URIRef # A time delay period prior to exercising the action of the Rule. The point in time triggering this period MAY be defined by another temporal Constraint combined by a Logical Constraint (utilising the odrl:andSequence operand). Right operand value MUST be an xsd:duration as defined by [[xmlschema11-2]].
|
||||
deliveryChannel: (
|
||||
URIRef # The delivery channel used for exercising the action of the Rule.
|
||||
)
|
||||
device: URIRef # An identified device used for exercising the action of the Rule.
|
||||
elapsedTime: URIRef # A continuous elapsed time period which may be used for exercising of the action of the Rule. Right operand value MUST be an xsd:duration as defined by [[xmlschema11-2]].
|
||||
eq: URIRef # Indicating that a given value equals the right operand of the Constraint.
|
||||
event: URIRef # An identified event setting a context for exercising the action of the Rule.
|
||||
fileFormat: URIRef # A transformed file format of the target Asset.
|
||||
gt: URIRef # Indicating that a given value is greater than the right operand of the Constraint.
|
||||
gteq: URIRef # Indicating that a given value is greater than or equal to the right operand of the Constraint.
|
||||
hasPart: URIRef # A set-based operator indicating that a given value contains the right operand of the Constraint.
|
||||
ignore: URIRef # The Action is to be ignored and is not part of the policy – and the policy remains valid.
|
||||
industry: URIRef # A defined industry sector setting a context for exercising the action of the Rule.
|
||||
invalid: URIRef # The policy is void.
|
||||
isA: URIRef # A set-based operator indicating that a given value is an instance of the right operand of the Constraint.
|
||||
isAllOf: URIRef # A set-based operator indicating that a given value is all of the right operand of the Constraint.
|
||||
isAnyOf: URIRef # A set-based operator indicating that a given value is any of the right operand of the Constraint.
|
||||
isNoneOf: URIRef # A set-based operator indicating that a given value is none of the right operand of the Constraint.
|
||||
isPartOf: URIRef # A set-based operator indicating that a given value is contained by the right operand of the Constraint.
|
||||
language: URIRef # A natural language used by the target Asset.
|
||||
lt: URIRef # Indicating that a given value is less than the right operand of the Constraint.
|
||||
lteq: URIRef # Indicating that a given value is less than or equal to the right operand of the Constraint.
|
||||
media: URIRef # Category of a media asset setting a context for exercising the action of the Rule.
|
||||
meteredTime: URIRef # An accumulated amount of one to many metered time periods which were used for exercising the action of the Rule. Right operand value MUST be an xsd:duration as defined by [[xmlschema11-2]].
|
||||
neq: URIRef # Indicating that a given value is not equal to the right operand of the Constraint.
|
||||
payAmount: URIRef # The amount of a financial payment. Right operand value MUST be an xsd:decimal.
|
||||
percentage: URIRef # A percentage amount of the target Asset relevant for exercising the action of the Rule. Right operand value MUST be an xsd:decimal from 0 to 100.
|
||||
perm: URIRef # Permissions take preference over prohibitions.
|
||||
policyUsage: (
|
||||
URIRef # Indicates the actual datetime the action of the Rule was exercised.
|
||||
)
|
||||
product: URIRef # Category of product or service setting a context for exercising the action of the Rule.
|
||||
prohibit: URIRef # Prohibitions take preference over permissions.
|
||||
purpose: URIRef # A defined purpose for exercising the action of the Rule.
|
||||
recipient: URIRef # The party receiving the result/outcome of exercising the action of the Rule.
|
||||
relativePosition: URIRef # A point in space or time defined with coordinates relative to full measures the positioning of the target Asset.
|
||||
relativeSize: URIRef # Measure(s) of one or two axes for 2D-objects or measure(s) of one to tree axes for 3D-objects - expressed as percentages of full values - of the target Asset.
|
||||
relativeSpatialPosition: URIRef # The relative spatial positions - expressed as percentages of full values - of four corners of a rectangle on a 2D-canvas or the eight corners of a cuboid in a 3D-space of the target Asset.
|
||||
relativeTemporalPosition: URIRef # A point in space or time defined with coordinates relative to full measures the positioning of the target Asset.
|
||||
resolution: URIRef # Resolution of the rendition of the target Asset.
|
||||
spatial: URIRef # A named and identified geospatial area with defined borders which is used for exercising the action of the Rule. An IRI MUST be used to represent this value.
|
||||
spatialCoordinates: URIRef # A set of coordinates setting the borders of a geospatial area used for exercising the action of the Rule. The coordinates MUST include longitude and latitude, they MAY include altitude and the geodetic datum.
|
||||
support: URIRef # The Action is to be supported as part of the policy – and the policy remains valid.
|
||||
system: URIRef # An identified computing system used for exercising the action of the Rule.
|
||||
systemDevice: URIRef # An identified computing system or computing device used for exercising the action of the Rule.
|
||||
timeInterval: URIRef # A recurring period of time before the next execution of the action of the Rule. Right operand value MUST be an xsd:duration as defined by [[xmlschema11-2]].
|
||||
unitOfCount: URIRef # The unit of measure used for counting the executions of the action of the Rule.
|
||||
version: URIRef # The version of the target Asset.
|
||||
virtualLocation: URIRef # An identified location of the IT communication space which is relevant for exercising the action of the Rule.
|
||||
|
||||
# http://www.w3.org/2004/02/skos/core#Collection
|
||||
|
||||
# http://www.w3.org/2004/02/skos/core#Concept
|
||||
Action: URIRef # An operation on an Asset.
|
||||
Agreement: URIRef # A Policy that grants the assignee a Rule over an Asset from an assigner.
|
||||
Assertion: URIRef # A Policy that asserts a Rule over an Asset from parties.
|
||||
Asset: URIRef # A resource or a collection of resources that are the subject of a Rule.
|
||||
AssetCollection: URIRef # An Asset that is collection of individual resources
|
||||
AssetScope: URIRef # Scopes for Asset Scope expressions.
|
||||
ConflictTerm: URIRef # Used to establish strategies to resolve conflicts that arise from the merging of Policies or conflicts between Permissions and Prohibitions in the same Policy.
|
||||
Constraint: URIRef # A boolean expression that refines the semantics of an Action and Party/Asset Collection or declare the conditions applicable to a Rule.
|
||||
Duty: URIRef # The obligation to perform an Action
|
||||
LeftOperand: URIRef # Left operand for a constraint expression.
|
||||
LogicalConstraint: URIRef # A logical expression that refines the semantics of an Action and Party/Asset Collection or declare the conditions applicable to a Rule.
|
||||
Offer: URIRef # A Policy that proposes a Rule over an Asset from an assigner.
|
||||
Operator: URIRef # Operator for constraint expression.
|
||||
Party: (
|
||||
URIRef # An entity or a collection of entities that undertake Roles in a Rule.
|
||||
)
|
||||
PartyCollection: URIRef # A Party that is a group of individual entities
|
||||
PartyScope: URIRef # Scopes for Party Scope expressions.
|
||||
Permission: URIRef # The ability to perform an Action over an Asset.
|
||||
Policy: URIRef # A non-empty group of Permissions and/or Prohibitions.
|
||||
Privacy: URIRef # A Policy that expresses a Rule over an Asset containing personal information.
|
||||
Prohibition: URIRef # The inability to perform an Action over an Asset.
|
||||
Request: URIRef # A Policy that proposes a Rule over an Asset from an assignee.
|
||||
RightOperand: URIRef # Right operand for constraint expression.
|
||||
Rule: URIRef # An abstract concept that represents the common characteristics of Permissions, Prohibitions, and Duties.
|
||||
Set: URIRef # A Policy that expresses a Rule over an Asset.
|
||||
Ticket: (
|
||||
URIRef # A Policy that grants the holder a Rule over an Asset from an assigner.
|
||||
)
|
||||
UndefinedTerm: URIRef # Is used to indicate how to support Actions that are not part of any vocabulary or profile in the policy expression system.
|
||||
acceptTracking: URIRef # To accept that the use of the Asset may be tracked.
|
||||
adHocShare: URIRef # The act of sharing the asset to parties in close proximity to the owner.
|
||||
aggregate: (
|
||||
URIRef # To use the Asset or parts of it as part of a composite collection.
|
||||
)
|
||||
annotate: URIRef # To add explanatory notations/commentaries to the Asset without modifying the Asset in any other way.
|
||||
anonymize: URIRef # To anonymize all or parts of the Asset.
|
||||
append: URIRef # The act of adding to the end of an asset.
|
||||
appendTo: URIRef # The act of appending data to the Asset without modifying the Asset in any other way.
|
||||
archive: URIRef # To store the Asset (in a non-transient form).
|
||||
attachPolicy: URIRef # The act of keeping the policy notice with the asset.
|
||||
attachSource: (
|
||||
URIRef # The act of attaching the source of the asset and its derivatives.
|
||||
)
|
||||
attribute: URIRef # To attribute the use of the Asset.
|
||||
commercialize: URIRef # The act of using the asset in a business environment.
|
||||
compensate: URIRef # To compensate by transfer of some amount of value, if defined, for using or selling the Asset.
|
||||
concurrentUse: URIRef # To create multiple copies of the Asset that are being concurrently used.
|
||||
copy: URIRef # The act of making an exact reproduction of the asset.
|
||||
core: URIRef # Identifier for the ODRL Core Profile
|
||||
delete: (
|
||||
URIRef # To permanently remove all copies of the Asset after it has been used.
|
||||
)
|
||||
derive: URIRef # To create a new derivative Asset from this Asset and to edit or modify the derivative.
|
||||
digitize: URIRef # To produce a digital copy of (or otherwise digitize) the Asset from its analogue form.
|
||||
display: URIRef # To create a static and transient rendition of an Asset.
|
||||
distribute: URIRef # To supply the Asset to third-parties.
|
||||
ensureExclusivity: URIRef # To ensure that the Rule on the Asset is exclusive.
|
||||
execute: URIRef # To run the computer program Asset.
|
||||
export: URIRef # The act of transforming the asset into a new form.
|
||||
extract: URIRef # To extract parts of the Asset and to use it as a new Asset.
|
||||
extractChar: URIRef # The act of extracting (replicating) unchanged characters from the asset.
|
||||
extractPage: (
|
||||
URIRef # The act of extracting (replicating) unchanged pages from the asset.
|
||||
)
|
||||
extractWord: (
|
||||
URIRef # The act of extracting (replicating) unchanged words from the asset.
|
||||
)
|
||||
give: URIRef # To transfer the ownership of the Asset to a third party without compensation and while deleting the original asset.
|
||||
grantUse: URIRef # To grant the use of the Asset to third parties.
|
||||
include: URIRef # To include other related assets in the Asset.
|
||||
index: URIRef # To record the Asset in an index.
|
||||
inform: URIRef # To inform that an action has been performed on or in relation to the Asset.
|
||||
install: URIRef # To load the computer program Asset onto a storage device which allows operating or running the Asset.
|
||||
lease: URIRef # The act of making available the asset to a third-party for a fixed period of time with exchange of value.
|
||||
lend: URIRef # The act of making available the asset to a third-party for a fixed period of time without exchange of value.
|
||||
license: URIRef # The act of granting the right to use the asset to a third-party.
|
||||
modify: URIRef # To change existing content of the Asset. A new asset is not created by this action.
|
||||
move: URIRef # To move the Asset from one digital location to another including deleting the original copy.
|
||||
nextPolicy: URIRef # To grant the specified Policy to a third party for their use of the Asset.
|
||||
obtainConsent: URIRef # To obtain verifiable consent to perform the requested action in relation to the Asset.
|
||||
pay: URIRef # The act of paying a financial amount to a party for use of the asset.
|
||||
play: URIRef # To create a sequential and transient rendition of an Asset.
|
||||
present: URIRef # To publicly perform the Asset.
|
||||
preview: URIRef # The act of providing a short preview of the asset.
|
||||
print: URIRef # To create a tangible and permanent rendition of an Asset.
|
||||
read: URIRef # To obtain data from the Asset.
|
||||
reproduce: URIRef # To make duplicate copies the Asset in any material form.
|
||||
reviewPolicy: URIRef # To review the Policy applicable to the Asset.
|
||||
secondaryUse: URIRef # The act of using the asset for a purpose other than the purpose it was intended for.
|
||||
sell: URIRef # To transfer the ownership of the Asset to a third party with compensation and while deleting the original asset.
|
||||
share: URIRef # The act of the non-commercial reproduction and distribution of the asset to third-parties.
|
||||
shareAlike: URIRef # The act of distributing any derivative asset under the same terms as the original asset.
|
||||
stream: URIRef # To deliver the Asset in real-time.
|
||||
synchronize: URIRef # To use the Asset in timed relations with media (audio/visual) elements of another Asset.
|
||||
textToSpeech: URIRef # To have a text Asset read out loud.
|
||||
transfer: URIRef # To transfer the ownership of the Asset in perpetuity.
|
||||
transform: URIRef # To convert the Asset into a different format.
|
||||
translate: URIRef # To translate the original natural language of an Asset into another natural language.
|
||||
uninstall: URIRef # To unload and delete the computer program Asset from a storage device and disable its readiness for operation.
|
||||
use: URIRef # To use the Asset
|
||||
watermark: URIRef # To apply a watermark to the Asset.
|
||||
write: URIRef # The act of writing to the Asset.
|
||||
writeTo: URIRef # The act of adding data to the Asset.
|
||||
|
||||
# Valid non-python identifiers
|
||||
_extras = [
|
||||
"and",
|
||||
"or",
|
||||
"#actionConcepts",
|
||||
"#actions",
|
||||
"#actionsCommon",
|
||||
"#assetConcepts",
|
||||
"#assetParty",
|
||||
"#assetRelations",
|
||||
"#assetRelationsCommon",
|
||||
"#conflictConcepts",
|
||||
"#constraintLeftOperandCommon",
|
||||
"#constraintLogicalOperands",
|
||||
"#constraintRelationalOperators",
|
||||
"#constraintRightOpCommon",
|
||||
"#constraints",
|
||||
"#deprecatedTerms",
|
||||
"#duties",
|
||||
"#logicalConstraints",
|
||||
"#partyConcepts",
|
||||
"#partyRoles",
|
||||
"#partyRolesCommon",
|
||||
"#permissions",
|
||||
"#policyConcepts",
|
||||
"#policySubClasses",
|
||||
"#policySubClassesCommon",
|
||||
"#prohibitions",
|
||||
"#ruleConcepts",
|
||||
]
|
||||
|
||||
_NS = Namespace("http://www.w3.org/ns/odrl/2/")
|
||||
@@ -0,0 +1,70 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
class ORG(DefinedNamespace):
|
||||
"""
|
||||
Core organization ontology
|
||||
|
||||
Vocabulary for describing organizational structures, specializable to a broad variety of types of
|
||||
organization.
|
||||
|
||||
Generated from: http://www.w3.org/ns/org#
|
||||
Date: 2020-05-26 14:20:02.908408
|
||||
|
||||
"""
|
||||
|
||||
_fail = True
|
||||
|
||||
# http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
|
||||
basedAt: URIRef # Indicates the site at which a person is based. We do not restrict the possibility that a person is based at multiple sites.
|
||||
changedBy: URIRef # Indicates a change event which resulted in a change to this organization. Depending on the event the organization may or may not have continued to exist after the event. Inverse of `org:originalOrganization`.
|
||||
classification: URIRef # Indicates a classification for this Organization within some classification scheme. Extension vocabularies may wish to specialize this property to have a range corresponding to a specific `skos:ConceptScheme`. This property is under discussion and may be revised or removed - in many cases organizations are best categorized by defining a sub-class hierarchy in an extension vocabulary.
|
||||
hasMember: URIRef # Indicates a person who is a member of the subject Organization. Inverse of `org:memberOf`, see that property for further clarification. Provided for compatibility with `foaf:member`.
|
||||
hasMembership: URIRef # Indicates a membership relationship that the Agent plays. Inverse of `org:member`.
|
||||
hasPost: URIRef # Indicates a Post which exists within the Organization.
|
||||
hasPrimarySite: URIRef # Indicates a primary site for the Organization, this is the default means by which an Organization can be contacted and is not necessarily the formal headquarters.
|
||||
hasRegisteredSite: URIRef # Indicates the legally registered site for the organization, in many legal jurisdictions there is a requirement that FormalOrganizations such as Companies or Charities have such a primary designed site.
|
||||
hasSite: URIRef # Indicates a site at which the Organization has some presence even if only indirect (e.g. virtual office or a professional service which is acting as the registered address for a company). Inverse of `org:siteOf`.
|
||||
hasSubOrganization: URIRef # Represents hierarchical containment of Organizations or Organizational Units; indicates an organization which is a sub-part or child of this organization. Inverse of `org:subOrganizationOf`.
|
||||
hasUnit: URIRef # Indicates a unit which is part of this Organization, e.g. a Department within a larger FormalOrganization. Inverse of `org:unitOf`.
|
||||
headOf: URIRef # Indicates that a person is the leader or formal head of the Organization. This will normally mean that they are the root of the `org:reportsTo` (acyclic) graph, though an organization may have more than one head.
|
||||
heldBy: URIRef # Indicates an Agent which holds a Post.
|
||||
holds: URIRef # Indicates a Post held by some Agent.
|
||||
identifier: URIRef # Gives an identifier, such as a company registration number, that can be used to used to uniquely identify the organization. Many different national and international identier schemes are available. The org ontology is neutral to which schemes are used. The particular identifier scheme should be indicated by the datatype of the identifier value. Using datatypes to distinguish the notation scheme used is consistent with recommended best practice for `skos:notation` of which this property is a specialization.
|
||||
linkedTo: URIRef # Indicates an arbitrary relationship between two organizations. Specializations of this can be used to, for example, denote funding or supply chain relationships.
|
||||
location: URIRef # Gives a location description for a person within the organization, for example a _Mail Stop_ for internal posting purposes.
|
||||
member: URIRef # Indicates the Person (or other Agent including Organization) involved in the Membership relationship. Inverse of `org:hasMembership`
|
||||
memberDuring: URIRef # Optional property to indicate the interval for which the membership is/was valid.
|
||||
memberOf: URIRef # Indicates that a person is a member of the Organization with no indication of the nature of that membership or the role played. Note that the choice of property name is not meant to limit the property to only formal membership arrangements, it is also intended to cover related concepts such as affilliation or other involvement in the organization. Extensions can specialize this relationship to indicate particular roles within the organization or more nuanced relationships to the organization. Has an optional inverse, `org:hasmember`.
|
||||
organization: URIRef # Indicates Organization in which the Agent is a member.
|
||||
originalOrganization: URIRef # Indicates one or more organizations that existed before the change event. Depending on the event they may or may not have continued to exist after the event. Inverse of `org:changedBy`.
|
||||
postIn: URIRef # Indicates the Organization in which the Post exists.
|
||||
purpose: URIRef # Indicates the purpose of this Organization. There can be many purposes at different levels of abstraction but the nature of an organization is to have a reason for existence and this property is a means to document that reason. An Organization may have multiple purposes. It is recommended that the purpose be denoted by a controlled term or code list, ideally a `skos:Concept`. However, the range is left open to allow for other types of descriptive schemes. It is expected that specializations or application profiles of this vocabulary will constrain the range of the purpose. Alternative names: _remit_ _responsibility_ (esp. if applied to OrganizationalUnits such as Government Departments).
|
||||
remuneration: URIRef # Indicates a salary or other reward associated with the role. Typically this will be denoted using an existing representation scheme such as `gr:PriceSpecification` but the range is left open to allow applications to specialize it (e.g. to remunerationInGBP).
|
||||
reportsTo: URIRef # Indicates a reporting relationship as might be depicted on an organizational chart. The precise semantics of the reporting relationship will vary by organization but is intended to encompass both direct supervisory relationships (e.g. carrying objective and salary setting authority) and more general reporting or accountability relationships (e.g. so called _dotted line_ reporting).
|
||||
resultedFrom: URIRef # Indicates an event which resulted in this organization. Inverse of `org:resultingOrganization`.
|
||||
resultingOrganization: URIRef # Indicates an organization which was created or changed as a result of the event. Inverse of `org:resultedFrom`.
|
||||
role: URIRef # Indicates the Role that the Agent plays in a Membership relationship with an Organization.
|
||||
roleProperty: URIRef # This is a metalevel property which is used to annotate an `org:Role` instance with a sub-property of `org:memberOf` that can be used to directly indicate the role for easy of query. The intended semantics is a Membership relation involving the Role implies the existence of a direct property relationship through an inference rule of the form: `{ [] org:member ?p; org:organization ?o; org:role [org:roleProperty ?r] } -> {?p ?r ?o}`.
|
||||
siteAddress: URIRef # Indicates an address for the site in a suitable encoding. Use of vCard (using the http://www.w3.org/TR/vcard-rdf/ vocabulary) is encouraged but the range is left open to allow other encodings to be used. The address may include email, telephone, and geo-location information and is not restricted to a physical address.
|
||||
siteOf: URIRef # Indicates an Organization which has some presence at the given site. This is the inverse of `org:hasSite`.
|
||||
subOrganizationOf: URIRef # Represents hierarchical containment of Organizations or OrganizationalUnits; indicates an Organization which contains this Organization. Inverse of `org:hasSubOrganization`.
|
||||
transitiveSubOrganizationOf: URIRef # The transitive closure of subOrganizationOf, giving a representation of all organizations that contain this one. Note that technically this is a super property of the transitive closure so it could contain additional assertions but such usage is discouraged.
|
||||
unitOf: URIRef # Indicates an Organization of which this Unit is a part, e.g. a Department within a larger FormalOrganization. This is the inverse of `org:hasUnit`.
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Class
|
||||
ChangeEvent: URIRef # Represents an event which resulted in a major change to an organization such as a merger or complete restructuring. It is intended for situations where the resulting organization is sufficient distinct from the original organizations that it has a distinct identity and distinct URI. Extension vocabularies should define sub-classes of this to denote particular categories of event. The instant or interval at which the event occurred should be given by `prov:startAtTime` and `prov:endedAtTime`, a description should be given by `dct:description`.
|
||||
FormalOrganization: URIRef # An Organization which is recognized in the world at large, in particular in legal jurisdictions, with associated rights and responsibilities. Examples include a Corporation, Charity, Government or Church. Note that this is a super class of `gr:BusinessEntity` and it is recommended to use the GoodRelations vocabulary to denote Business classifications such as DUNS or NAICS.
|
||||
Membership: URIRef # Indicates the nature of an Agent's membership of an organization. Represents an n-ary relation between an Agent, an Organization and a Role. It is possible to directly indicate membership, independent of the specific Role, through use of the `org:memberOf` property.
|
||||
Organization: URIRef # Represents a collection of people organized together into a community or other social, commercial or political structure. The group has some common purpose or reason for existence which goes beyond the set of people belonging to it and can act as an Agent. Organizations are often decomposable into hierarchical structures. It is recommended that SKOS lexical labels should be used to label the Organization. In particular `skos:prefLabel` for the primary (possibly legally recognized name), `skos:altLabel` for alternative names (trading names, colloquial names) and `skos:notation` to denote a code from a code list. Alternative names: _Collective_ _Body_ _Org_ _Group_
|
||||
OrganizationalCollaboration: URIRef # A collaboration between two or more Organizations such as a project. It meets the criteria for being an Organization in that it has an identity and defining purpose independent of its particular members but is neither a formally recognized legal entity nor a sub-unit within some larger organization. Might typically have a shorter lifetime than the Organizations within it, but not necessarily. All members are `org:Organization`s rather than individuals and those Organizations can play particular roles within the venture. Alternative names: _Project_ _Venture_ _Endeavour_ _Consortium_ _Endeavour_
|
||||
OrganizationalUnit: URIRef # An Organization such as a University Support Unit which is part of some larger FormalOrganization and only has full recognition within the context of that FormalOrganization, it is not a Legal Entity in its own right. Units can be large and complex containing other Units and even FormalOrganizations. Alternative names: _OU_ _Unit_ _Department_
|
||||
Post: URIRef # A Post represents some position within an organization that exists independently of the person or persons filling it. Posts may be used to represent situations where a person is a member of an organization ex officio (for example the Secretary of State for Scotland is part of UK Cabinet by virtue of being Secretary of State for Scotland, not as an individual person). A post can be held by multiple people and hence can be treated as a organization in its own right.
|
||||
Role: URIRef # Denotes a role that a Person or other Agent can take in an organization. Instances of this class describe the abstract role; to denote a specific instance of a person playing that role in a specific organization use an instance of `org:Membership`. It is common for roles to be arranged in some taxonomic structure and we use SKOS to represent that. The normal SKOS lexical properties should be used when labelling the Role. Additional descriptive properties for the Role, such as a Salary band, may be added by extension vocabularies.
|
||||
Site: URIRef # An office or other premise at which the organization is located. Many organizations are spread across multiple sites and many sites will host multiple locations. In most cases a Site will be a physical location. However, we don't exclude the possibility of non-physical sites such as a virtual office with an associated post box and phone reception service. Extensions may provide subclasses to denote particular types of site.
|
||||
|
||||
# http://www.w3.org/ns/org#Role
|
||||
Head: URIRef # head
|
||||
|
||||
_NS = Namespace("http://www.w3.org/ns/org#")
|
||||
@@ -0,0 +1,140 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
class OWL(DefinedNamespace):
|
||||
"""
|
||||
The OWL 2 Schema vocabulary (OWL 2)
|
||||
|
||||
This ontology partially describes the built-in classes and properties that together form the basis of
|
||||
the RDF/XML syntax of OWL 2. The content of this ontology is based on Tables 6.1 and 6.2 in Section 6.4
|
||||
of the OWL 2 RDF-Based Semantics specification, available at http://www.w3.org/TR/owl2-rdf-based-
|
||||
semantics/. Please note that those tables do not include the different annotations (labels, comments and
|
||||
rdfs:isDefinedBy links) used in this file. Also note that the descriptions provided in this ontology do not
|
||||
provide a complete and correct formal description of either the syntax or the semantics of the introduced
|
||||
terms (please see the OWL 2 recommendations for the complete and normative specifications). Furthermore,
|
||||
the information provided by this ontology may be misleading if not used with care. This ontology SHOULD NOT
|
||||
be imported into OWL ontologies. Importing this file into an OWL 2 DL ontology will cause it to become
|
||||
an OWL 2 Full ontology and may have other, unexpected, consequences.
|
||||
|
||||
Generated from: http://www.w3.org/2002/07/owl#
|
||||
Date: 2020-05-26 14:20:03.193795
|
||||
|
||||
"""
|
||||
|
||||
_fail = True
|
||||
|
||||
# http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
|
||||
allValuesFrom: URIRef # The property that determines the class that a universal property restriction refers to.
|
||||
annotatedProperty: URIRef # The property that determines the predicate of an annotated axiom or annotated annotation.
|
||||
annotatedSource: URIRef # The property that determines the subject of an annotated axiom or annotated annotation.
|
||||
annotatedTarget: URIRef # The property that determines the object of an annotated axiom or annotated annotation.
|
||||
assertionProperty: URIRef # The property that determines the predicate of a negative property assertion.
|
||||
cardinality: URIRef # The property that determines the cardinality of an exact cardinality restriction.
|
||||
complementOf: URIRef # The property that determines that a given class is the complement of another class.
|
||||
datatypeComplementOf: URIRef # The property that determines that a given data range is the complement of another data range with respect to the data domain.
|
||||
differentFrom: (
|
||||
URIRef # The property that determines that two given individuals are different.
|
||||
)
|
||||
disjointUnionOf: URIRef # The property that determines that a given class is equivalent to the disjoint union of a collection of other classes.
|
||||
disjointWith: (
|
||||
URIRef # The property that determines that two given classes are disjoint.
|
||||
)
|
||||
distinctMembers: URIRef # The property that determines the collection of pairwise different individuals in a owl:AllDifferent axiom.
|
||||
equivalentClass: URIRef # The property that determines that two given classes are equivalent, and that is used to specify datatype definitions.
|
||||
equivalentProperty: (
|
||||
URIRef # The property that determines that two given properties are equivalent.
|
||||
)
|
||||
hasKey: URIRef # The property that determines the collection of properties that jointly build a key.
|
||||
hasSelf: URIRef # The property that determines the property that a self restriction refers to.
|
||||
hasValue: URIRef # The property that determines the individual that a has-value restriction refers to.
|
||||
intersectionOf: URIRef # The property that determines the collection of classes or data ranges that build an intersection.
|
||||
inverseOf: (
|
||||
URIRef # The property that determines that two given properties are inverse.
|
||||
)
|
||||
maxCardinality: URIRef # The property that determines the cardinality of a maximum cardinality restriction.
|
||||
maxQualifiedCardinality: URIRef # The property that determines the cardinality of a maximum qualified cardinality restriction.
|
||||
members: URIRef # The property that determines the collection of members in either a owl:AllDifferent, owl:AllDisjointClasses or owl:AllDisjointProperties axiom.
|
||||
minCardinality: URIRef # The property that determines the cardinality of a minimum cardinality restriction.
|
||||
minQualifiedCardinality: URIRef # The property that determines the cardinality of a minimum qualified cardinality restriction.
|
||||
onClass: URIRef # The property that determines the class that a qualified object cardinality restriction refers to.
|
||||
onDataRange: URIRef # The property that determines the data range that a qualified data cardinality restriction refers to.
|
||||
onDatatype: URIRef # The property that determines the datatype that a datatype restriction refers to.
|
||||
onProperties: URIRef # The property that determines the n-tuple of properties that a property restriction on an n-ary data range refers to.
|
||||
onProperty: URIRef # The property that determines the property that a property restriction refers to.
|
||||
oneOf: URIRef # The property that determines the collection of individuals or data values that build an enumeration.
|
||||
propertyChainAxiom: URIRef # The property that determines the n-tuple of properties that build a sub property chain of a given property.
|
||||
propertyDisjointWith: (
|
||||
URIRef # The property that determines that two given properties are disjoint.
|
||||
)
|
||||
qualifiedCardinality: URIRef # The property that determines the cardinality of an exact qualified cardinality restriction.
|
||||
sameAs: URIRef # The property that determines that two given individuals are equal.
|
||||
someValuesFrom: URIRef # The property that determines the class that an existential property restriction refers to.
|
||||
sourceIndividual: URIRef # The property that determines the subject of a negative property assertion.
|
||||
targetIndividual: URIRef # The property that determines the object of a negative object property assertion.
|
||||
targetValue: URIRef # The property that determines the value of a negative data property assertion.
|
||||
unionOf: URIRef # The property that determines the collection of classes or data ranges that build a union.
|
||||
withRestrictions: URIRef # The property that determines the collection of facet-value pairs that define a datatype restriction.
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Class
|
||||
AllDifferent: URIRef # The class of collections of pairwise different individuals.
|
||||
AllDisjointClasses: URIRef # The class of collections of pairwise disjoint classes.
|
||||
AllDisjointProperties: (
|
||||
URIRef # The class of collections of pairwise disjoint properties.
|
||||
)
|
||||
Annotation: URIRef # The class of annotated annotations for which the RDF serialization consists of an annotated subject, predicate and object.
|
||||
AnnotationProperty: URIRef # The class of annotation properties.
|
||||
AsymmetricProperty: URIRef # The class of asymmetric properties.
|
||||
Axiom: URIRef # The class of annotated axioms for which the RDF serialization consists of an annotated subject, predicate and object.
|
||||
Class: URIRef # The class of OWL classes.
|
||||
DataRange: URIRef # The class of OWL data ranges, which are special kinds of datatypes. Note: The use of the IRI owl:DataRange has been deprecated as of OWL 2. The IRI rdfs:Datatype SHOULD be used instead.
|
||||
DatatypeProperty: URIRef # The class of data properties.
|
||||
DeprecatedClass: URIRef # The class of deprecated classes.
|
||||
DeprecatedProperty: URIRef # The class of deprecated properties.
|
||||
FunctionalProperty: URIRef # The class of functional properties.
|
||||
InverseFunctionalProperty: URIRef # The class of inverse-functional properties.
|
||||
IrreflexiveProperty: URIRef # The class of irreflexive properties.
|
||||
NamedIndividual: URIRef # The class of named individuals.
|
||||
NegativePropertyAssertion: URIRef # The class of negative property assertions.
|
||||
ObjectProperty: URIRef # The class of object properties.
|
||||
Ontology: URIRef # The class of ontologies.
|
||||
OntologyProperty: URIRef # The class of ontology properties.
|
||||
ReflexiveProperty: URIRef # The class of reflexive properties.
|
||||
Restriction: URIRef # The class of property restrictions.
|
||||
SymmetricProperty: URIRef # The class of symmetric properties.
|
||||
TransitiveProperty: URIRef # The class of transitive properties.
|
||||
|
||||
# http://www.w3.org/2002/07/owl#AnnotationProperty
|
||||
backwardCompatibleWith: URIRef # The annotation property that indicates that a given ontology is backward compatible with another ontology.
|
||||
deprecated: URIRef # The annotation property that indicates that a given entity has been deprecated.
|
||||
incompatibleWith: URIRef # The annotation property that indicates that a given ontology is incompatible with another ontology.
|
||||
priorVersion: URIRef # The annotation property that indicates the predecessor ontology of a given ontology.
|
||||
versionInfo: URIRef # The annotation property that provides version information for an ontology or another OWL construct.
|
||||
|
||||
# http://www.w3.org/2002/07/owl#Class
|
||||
Nothing: URIRef # This is the empty class.
|
||||
Thing: URIRef # The class of OWL individuals.
|
||||
|
||||
# http://www.w3.org/2002/07/owl#DatatypeProperty
|
||||
bottomDataProperty: URIRef # The data property that does not relate any individual to any data value.
|
||||
topDataProperty: (
|
||||
URIRef # The data property that relates every individual to every data value.
|
||||
)
|
||||
|
||||
# http://www.w3.org/2002/07/owl#ObjectProperty
|
||||
bottomObjectProperty: (
|
||||
URIRef # The object property that does not relate any two individuals.
|
||||
)
|
||||
topObjectProperty: URIRef # The object property that relates every two individuals.
|
||||
|
||||
# http://www.w3.org/2002/07/owl#OntologyProperty
|
||||
imports: URIRef # The property that is used for importing other ontologies into a given ontology.
|
||||
versionIRI: URIRef # The property that identifies the version IRI of an ontology.
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Datatype
|
||||
# NOTE: the following two elements don't appear in the OWL RDF documents but are defined in the OWL2 Recommentation
|
||||
# at https://www.w3.org/TR/owl2-syntax/#Datatype_Maps
|
||||
rational: URIRef # The value space is the set of all rational numbers. The lexical form is numerator '/' denominator, where both are integers.
|
||||
real: URIRef # The value space is the set of all real numbers. Does not directly provide any lexical forms.
|
||||
|
||||
_NS = Namespace("http://www.w3.org/2002/07/owl#")
|
||||
@@ -0,0 +1,39 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
class PROF(DefinedNamespace):
|
||||
"""
|
||||
Profiles Vocabulary
|
||||
|
||||
This vocabulary is for describing relationships between standards/specifications, profiles of them and
|
||||
supporting artifacts such as validating resources. This model starts with
|
||||
[http://dublincore.org/2012/06/14/dcterms#Standard](dct:Standard) entities which can either be Base
|
||||
Specifications (a standard not profiling any other Standard) or Profiles (Standards which do profile others).
|
||||
Base Specifications or Profiles can have Resource Descriptors associated with them that defines implementing
|
||||
rules for the it. Resource Descriptors must indicate the role they play (to guide, to validate etc.) and the
|
||||
formalism they adhere to (dct:format) to allow for content negotiation. A vocabulary of Resource Roles are
|
||||
provided alongside this vocabulary but that list is extensible.
|
||||
|
||||
Generated from: https://www.w3.org/ns/dx/prof/profilesont.ttl
|
||||
Date: 2020-05-26 14:20:03.542924
|
||||
|
||||
"""
|
||||
|
||||
# http://www.w3.org/2002/07/owl#Class
|
||||
Profile: URIRef # A named set of constraints on one or more identified base specifications or other profiles, including the identification of any implementing subclasses of datatypes, semantic interpretations, vocabularies, options and parameters of those base specifications necessary to accomplish a particular function. This definition includes what are often called "application profiles", "metadata application profiles", or "metadata profiles".
|
||||
ResourceDescriptor: URIRef # A resource that defines an aspect - a particular part or feature - of a Profile
|
||||
ResourceRole: URIRef # The role that an Resource plays
|
||||
|
||||
# http://www.w3.org/2002/07/owl#DatatypeProperty
|
||||
hasToken: URIRef # A preferred alternative identifier for the Profile
|
||||
|
||||
# http://www.w3.org/2002/07/owl#ObjectProperty
|
||||
hasArtifact: URIRef # The URL of a downloadable file with particulars such as its format and role indicated by a Resource Descriptor
|
||||
hasResource: URIRef # A resource which describes the nature of an artifact and the role it plays in relation to a profile
|
||||
hasRole: URIRef # The function of the described artifactresource in the expression of the Profile, such as a specification, guidance documentation, SHACL file etc.
|
||||
isInheritedFrom: URIRef # This property indicates a Resource Descriptor described by this Profile’s base specification that is to be considered a Resource Descriptor for this Profile also
|
||||
isProfileOf: URIRef # A Profile is a profile of a dct:Standard (or a Base Specification or another Profile)
|
||||
isTransitiveProfileOf: URIRef # A base specification an Profile conforms to
|
||||
|
||||
_NS = Namespace("http://www.w3.org/ns/dx/prof/")
|
||||
@@ -0,0 +1,250 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
class PROV(DefinedNamespace):
|
||||
"""
|
||||
W3C PROVenance Interchange Ontology (PROV-O)
|
||||
|
||||
This document is published by the Provenance Working Group (http://www.w3.org/2011/prov/wiki/Main_Page). If
|
||||
you wish to make comments regarding this document, please send them to public-prov-comments@w3.org (subscribe
|
||||
public-prov-comments-request@w3.org, archives http://lists.w3.org/Archives/Public/public-prov-comments/). All
|
||||
feedback is welcome.
|
||||
|
||||
PROV Access and Query Ontology
|
||||
|
||||
This document is published by the Provenance Working Group (http://www.w3.org/2011/prov/wiki/Main_Page). If
|
||||
you wish to make comments regarding this document, please send them to public-prov-comments@w3.org (subscribe
|
||||
public-prov-comments-request@w3.org, archives http://lists.w3.org/Archives/Public/public-prov-comments/). All
|
||||
feedback is welcome.
|
||||
|
||||
Dublin Core extensions of the W3C PROVenance Interchange Ontology (PROV-O)
|
||||
|
||||
This document is published by the Provenance Working Group (http://www.w3.org/2011/prov/wiki/Main_Page). If
|
||||
you wish to make comments regarding this document, please send them to public-prov-comments@w3.org (subscribe
|
||||
public-prov-comments-request@w3.org, archives http://lists.w3.org/Archives/Public/public-prov-comments/). All
|
||||
feedback is welcome.
|
||||
|
||||
W3C PROV Linking Across Provenance Bundles Ontology (PROV-LINKS)
|
||||
|
||||
This document is published by the Provenance Working Group (http://www.w3.org/2011/prov/wiki/Main_Page). If
|
||||
you wish to make comments regarding this document, please send them to public-prov-comments@w3.org (subscribe
|
||||
public-prov-comments-request@w3.org, archives http://lists.w3.org/Archives/Public/public-prov-comments/ ). All
|
||||
feedback is welcome.
|
||||
|
||||
W3C PROVenance Interchange Ontology (PROV-O) Dictionary Extension
|
||||
|
||||
This document is published by the Provenance Working Group (http://www.w3.org/2011/prov/wiki/Main_Page).
|
||||
If you wish to make comments regarding this document, please send them to public-prov-comments@w3.org
|
||||
(subscribe public-prov-comments-request@w3.org, archives http://lists.w3.org/Archives/Public/public-prov-
|
||||
comments/). All feedback is welcome.
|
||||
|
||||
W3C PROVenance Interchange
|
||||
|
||||
This document is published by the Provenance Working Group (http://www.w3.org/2011/prov/wiki/Main_Page). If
|
||||
you wish to make comments regarding this document, please send them to public-prov-comments@w3.org (subscribe
|
||||
public-prov-comments-request@w3.org, archives http://lists.w3.org/ Archives/Public/public-prov-comments/). All
|
||||
feedback is welcome.
|
||||
|
||||
Generated from: http://www.w3.org/ns/prov
|
||||
Date: 2020-05-26 14:20:04.650279
|
||||
|
||||
"""
|
||||
|
||||
_fail = True
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Resource
|
||||
activityOfInfluence: URIRef # activityOfInfluence
|
||||
agentOfInfluence: URIRef # agentOfInfluence
|
||||
contributed: URIRef # contributed
|
||||
ended: URIRef # ended
|
||||
entityOfInfluence: URIRef # entityOfInfluence
|
||||
generalizationOf: URIRef # generalizationOf
|
||||
generatedAsDerivation: URIRef # generatedAsDerivation
|
||||
hadDelegate: URIRef # hadDelegate
|
||||
hadDerivation: URIRef # hadDerivation
|
||||
hadInfluence: URIRef # hadInfluence
|
||||
hadRevision: URIRef # hadRevision
|
||||
informed: URIRef # informed
|
||||
locationOf: URIRef # locationOf
|
||||
qualifiedAssociationOf: URIRef # qualifiedAssociationOf
|
||||
qualifiedAttributionOf: URIRef # qualifiedAttributionOf
|
||||
qualifiedCommunicationOf: URIRef # qualifiedCommunicationOf
|
||||
qualifiedDelegationOf: URIRef # qualifiedDelegationOf
|
||||
qualifiedDerivationOf: URIRef # qualifiedDerivationOf
|
||||
qualifiedEndOf: URIRef # qualifiedEndOf
|
||||
qualifiedGenerationOf: URIRef # qualifiedGenerationOf
|
||||
qualifiedInfluenceOf: URIRef # qualifiedInfluenceOf
|
||||
qualifiedInvalidationOf: URIRef # qualifiedInvalidationOf
|
||||
qualifiedQuotationOf: URIRef # qualifiedQuotationOf
|
||||
qualifiedSourceOf: URIRef # qualifiedSourceOf
|
||||
qualifiedStartOf: URIRef # qualifiedStartOf
|
||||
qualifiedUsingActivity: URIRef # qualifiedUsingActivity
|
||||
quotedAs: URIRef # quotedAs
|
||||
revisedEntity: URIRef # revisedEntity
|
||||
started: URIRef # started
|
||||
wasActivityOfInfluence: URIRef # wasActivityOfInfluence
|
||||
wasAssociateFor: URIRef # wasAssociateFor
|
||||
wasMemberOf: URIRef # wasMemberOf
|
||||
wasPlanOf: URIRef # wasPlanOf
|
||||
wasPrimarySourceOf: URIRef # wasPrimarySourceOf
|
||||
wasRoleIn: URIRef # wasRoleIn
|
||||
wasUsedBy: URIRef # wasUsedBy
|
||||
wasUsedInDerivation: URIRef # wasUsedInDerivation
|
||||
|
||||
# http://www.w3.org/2002/07/owl#AnnotationProperty
|
||||
aq: URIRef #
|
||||
category: URIRef # Classify prov-o terms into three categories, including 'starting-point', 'qualifed', and 'extended'. This classification is used by the prov-o html document to gently introduce prov-o terms to its users.
|
||||
component: URIRef # Classify prov-o terms into six components according to prov-dm, including 'agents-responsibility', 'alternate', 'annotations', 'collections', 'derivations', and 'entities-activities'. This classification is used so that readers of prov-o specification can find its correspondence with the prov-dm specification.
|
||||
constraints: URIRef # A reference to the principal section of the PROV-CONSTRAINTS document that describes this concept.
|
||||
definition: URIRef # A definition quoted from PROV-DM or PROV-CONSTRAINTS that describes the concept expressed with this OWL term.
|
||||
dm: URIRef # A reference to the principal section of the PROV-DM document that describes this concept.
|
||||
editorialNote: URIRef # A note by the OWL development team about how this term expresses the PROV-DM concept, or how it should be used in context of semantic web or linked data.
|
||||
editorsDefinition: URIRef # When the prov-o term does not have a definition drawn from prov-dm, and the prov-o editor provides one.
|
||||
inverse: URIRef # PROV-O does not define all property inverses. The directionalities defined in PROV-O should be given preference over those not defined. However, if users wish to name the inverse of a PROV-O property, the local name given by prov:inverse should be used.
|
||||
n: URIRef # A reference to the principal section of the PROV-M document that describes this concept.
|
||||
order: URIRef # The position that this OWL term should be listed within documentation. The scope of the documentation (e.g., among all terms, among terms within a prov:category, among properties applying to a particular class, etc.) is unspecified.
|
||||
qualifiedForm: URIRef # This annotation property links a subproperty of prov:wasInfluencedBy with the subclass of prov:Influence and the qualifying property that are used to qualify it. Example annotation: prov:wasGeneratedBy prov:qualifiedForm prov:qualifiedGeneration, prov:Generation . Then this unqualified assertion: :entity1 prov:wasGeneratedBy :activity1 . can be qualified by adding: :entity1 prov:qualifiedGeneration :entity1Gen . :entity1Gen a prov:Generation, prov:Influence; prov:activity :activity1; :customValue 1337 . Note how the value of the unqualified influence (prov:wasGeneratedBy :activity1) is mirrored as the value of the prov:activity (or prov:entity, or prov:agent) property on the influence class.
|
||||
sharesDefinitionWith: URIRef #
|
||||
specializationOf: URIRef # specializationOf
|
||||
todo: URIRef #
|
||||
unqualifiedForm: URIRef # Classes and properties used to qualify relationships are annotated with prov:unqualifiedForm to indicate the property used to assert an unqualified provenance relation.
|
||||
wasRevisionOf: URIRef # A revision is a derivation that revises an entity into a revised version.
|
||||
|
||||
# http://www.w3.org/2002/07/owl#Class
|
||||
Accept: URIRef # Accept
|
||||
Activity: URIRef # Activity
|
||||
ActivityInfluence: URIRef # ActivityInfluence provides additional descriptions of an Activity's binary influence upon any other kind of resource. Instances of ActivityInfluence use the prov:activity property to cite the influencing Activity.
|
||||
Agent: URIRef # Agent
|
||||
AgentInfluence: URIRef # AgentInfluence provides additional descriptions of an Agent's binary influence upon any other kind of resource. Instances of AgentInfluence use the prov:agent property to cite the influencing Agent.
|
||||
Association: URIRef # An instance of prov:Association provides additional descriptions about the binary prov:wasAssociatedWith relation from an prov:Activity to some prov:Agent that had some responsibility for it. For example, :baking prov:wasAssociatedWith :baker; prov:qualifiedAssociation [ a prov:Association; prov:agent :baker; :foo :bar ].
|
||||
Attribution: URIRef # An instance of prov:Attribution provides additional descriptions about the binary prov:wasAttributedTo relation from an prov:Entity to some prov:Agent that had some responsible for it. For example, :cake prov:wasAttributedTo :baker; prov:qualifiedAttribution [ a prov:Attribution; prov:entity :baker; :foo :bar ].
|
||||
Bundle: URIRef # Note that there are kinds of bundles (e.g. handwritten letters, audio recordings, etc.) that are not expressed in PROV-O, but can be still be described by PROV-O.
|
||||
Collection: URIRef # Collection
|
||||
Communication: URIRef # An instance of prov:Communication provides additional descriptions about the binary prov:wasInformedBy relation from an informed prov:Activity to the prov:Activity that informed it. For example, :you_jumping_off_bridge prov:wasInformedBy :everyone_else_jumping_off_bridge; prov:qualifiedCommunication [ a prov:Communication; prov:activity :everyone_else_jumping_off_bridge; :foo :bar ].
|
||||
Contribute: URIRef # Contribute
|
||||
Contributor: URIRef # Contributor
|
||||
Copyright: URIRef # Copyright
|
||||
Create: URIRef # Create
|
||||
Creator: URIRef # Creator
|
||||
Delegation: URIRef # An instance of prov:Delegation provides additional descriptions about the binary prov:actedOnBehalfOf relation from a performing prov:Agent to some prov:Agent for whom it was performed. For example, :mixing prov:wasAssociatedWith :toddler . :toddler prov:actedOnBehalfOf :mother; prov:qualifiedDelegation [ a prov:Delegation; prov:entity :mother; :foo :bar ].
|
||||
Derivation: URIRef # The more specific forms of prov:Derivation (i.e., prov:Revision, prov:Quotation, prov:PrimarySource) should be asserted if they apply.
|
||||
Dictionary: URIRef # This concept allows for the provenance of the dictionary, but also of its constituents to be expressed. Such a notion of dictionary corresponds to a wide variety of concrete data structures, such as a maps or associative arrays.
|
||||
DirectQueryService: URIRef # Type for a generic provenance query service. Mainly for use in RDF provenance query service descriptions, to facilitate discovery in linked data environments.
|
||||
EmptyDictionary: URIRef # Empty Dictionary
|
||||
End: URIRef # An instance of prov:End provides additional descriptions about the binary prov:wasEndedBy relation from some ended prov:Activity to an prov:Entity that ended it. For example, :ball_game prov:wasEndedBy :buzzer; prov:qualifiedEnd [ a prov:End; prov:entity :buzzer; :foo :bar; prov:atTime '2012-03-09T08:05:08-05:00'^^xsd:dateTime ].
|
||||
Entity: URIRef # Entity
|
||||
EntityInfluence: URIRef # It is not recommended that the type EntityInfluence be asserted without also asserting one of its more specific subclasses.
|
||||
Generation: URIRef # An instance of prov:Generation provides additional descriptions about the binary prov:wasGeneratedBy relation from a generated prov:Entity to the prov:Activity that generated it. For example, :cake prov:wasGeneratedBy :baking; prov:qualifiedGeneration [ a prov:Generation; prov:activity :baking; :foo :bar ].
|
||||
Influence: URIRef # Because prov:Influence is a broad relation, its most specific subclasses (e.g. prov:Communication, prov:Delegation, prov:End, prov:Revision, etc.) should be used when applicable.
|
||||
Insertion: URIRef # Insertion
|
||||
InstantaneousEvent: URIRef # An instantaneous event, or event for short, happens in the world and marks a change in the world, in its activities and in its entities. The term 'event' is commonly used in process algebra with a similar meaning. Events represent communications or interactions; they are assumed to be atomic and instantaneous.
|
||||
Invalidation: URIRef # An instance of prov:Invalidation provides additional descriptions about the binary prov:wasInvalidatedBy relation from an invalidated prov:Entity to the prov:Activity that invalidated it. For example, :uncracked_egg prov:wasInvalidatedBy :baking; prov:qualifiedInvalidation [ a prov:Invalidation; prov:activity :baking; :foo :bar ].
|
||||
KeyEntityPair: URIRef # Key-Entity Pair
|
||||
Location: URIRef # Location
|
||||
Modify: URIRef # Modify
|
||||
Organization: URIRef # Organization
|
||||
Person: URIRef # Person
|
||||
Plan: URIRef # There exist no prescriptive requirement on the nature of plans, their representation, the actions or steps they consist of, or their intended goals. Since plans may evolve over time, it may become necessary to track their provenance, so plans themselves are entities. Representing the plan explicitly in the provenance can be useful for various tasks: for example, to validate the execution as represented in the provenance record, to manage expectation failures, or to provide explanations.
|
||||
PrimarySource: URIRef # An instance of prov:PrimarySource provides additional descriptions about the binary prov:hadPrimarySource relation from some secondary prov:Entity to an earlier, primary prov:Entity. For example, :blog prov:hadPrimarySource :newsArticle; prov:qualifiedPrimarySource [ a prov:PrimarySource; prov:entity :newsArticle; :foo :bar ] .
|
||||
Publish: URIRef # Publish
|
||||
Publisher: URIRef # Publisher
|
||||
Quotation: URIRef # An instance of prov:Quotation provides additional descriptions about the binary prov:wasQuotedFrom relation from some taken prov:Entity from an earlier, larger prov:Entity. For example, :here_is_looking_at_you_kid prov:wasQuotedFrom :casablanca_script; prov:qualifiedQuotation [ a prov:Quotation; prov:entity :casablanca_script; :foo :bar ].
|
||||
Removal: URIRef # Removal
|
||||
Replace: URIRef # Replace
|
||||
Revision: URIRef # An instance of prov:Revision provides additional descriptions about the binary prov:wasRevisionOf relation from some newer prov:Entity to an earlier prov:Entity. For example, :draft_2 prov:wasRevisionOf :draft_1; prov:qualifiedRevision [ a prov:Revision; prov:entity :draft_1; :foo :bar ].
|
||||
RightsAssignment: URIRef # RightsAssignment
|
||||
RightsHolder: URIRef # RightsHolder
|
||||
Role: URIRef # Role
|
||||
ServiceDescription: URIRef # Type for a generic provenance query service. Mainly for use in RDF provenance query service descriptions, to facilitate discovery in linked data environments.
|
||||
SoftwareAgent: URIRef # SoftwareAgent
|
||||
Start: URIRef # An instance of prov:Start provides additional descriptions about the binary prov:wasStartedBy relation from some started prov:Activity to an prov:Entity that started it. For example, :foot_race prov:wasStartedBy :bang; prov:qualifiedStart [ a prov:Start; prov:entity :bang; :foo :bar; prov:atTime '2012-03-09T08:05:08-05:00'^^xsd:dateTime ] .
|
||||
Submit: URIRef # Submit
|
||||
Usage: URIRef # An instance of prov:Usage provides additional descriptions about the binary prov:used relation from some prov:Activity to an prov:Entity that it used. For example, :keynote prov:used :podium; prov:qualifiedUsage [ a prov:Usage; prov:entity :podium; :foo :bar ].
|
||||
|
||||
# http://www.w3.org/2002/07/owl#DatatypeProperty
|
||||
atTime: URIRef # The time at which an InstantaneousEvent occurred, in the form of xsd:dateTime.
|
||||
endedAtTime: (
|
||||
URIRef # The time at which an activity ended. See also prov:startedAtTime.
|
||||
)
|
||||
generatedAtTime: URIRef # The time at which an entity was completely created and is available for use.
|
||||
invalidatedAtTime: (
|
||||
URIRef # The time at which an entity was invalidated (i.e., no longer usable).
|
||||
)
|
||||
provenanceUriTemplate: URIRef # Relates a provenance service to a URI template string for constructing provenance-URIs.
|
||||
removedKey: URIRef # removedKey
|
||||
startedAtTime: (
|
||||
URIRef # The time at which an activity started. See also prov:endedAtTime.
|
||||
)
|
||||
value: URIRef # value
|
||||
|
||||
# http://www.w3.org/2002/07/owl#FunctionalProperty
|
||||
pairEntity: URIRef # pairKey
|
||||
pairKey: URIRef # pairKey
|
||||
|
||||
# http://www.w3.org/2002/07/owl#NamedIndividual
|
||||
EmptyCollection: URIRef # EmptyCollection
|
||||
|
||||
# http://www.w3.org/2002/07/owl#ObjectProperty
|
||||
actedOnBehalfOf: URIRef # An object property to express the accountability of an agent towards another agent. The subordinate agent acted on behalf of the responsible agent in an actual activity.
|
||||
activity: URIRef # activity
|
||||
agent: URIRef # agent
|
||||
alternateOf: URIRef # alternateOf
|
||||
asInBundle: URIRef # prov:asInBundle is used to specify which bundle the general entity of a prov:mentionOf property is described. When :x prov:mentionOf :y and :y is described in Bundle :b, the triple :x prov:asInBundle :b is also asserted to cite the Bundle in which :y was described.
|
||||
atLocation: URIRef # The Location of any resource.
|
||||
derivedByInsertionFrom: URIRef # derivedByInsertionFrom
|
||||
derivedByRemovalFrom: URIRef # derivedByRemovalFrom
|
||||
describesService: URIRef # relates a generic provenance query service resource (type prov:ServiceDescription) to a specific query service description (e.g. a prov:DirectQueryService or a sd:Service).
|
||||
dictionary: URIRef # dictionary
|
||||
entity: URIRef # entity
|
||||
generated: URIRef # generated
|
||||
hadActivity: URIRef # The _optional_ Activity of an Influence, which used, generated, invalidated, or was the responsibility of some Entity. This property is _not_ used by ActivityInfluence (use prov:activity instead).
|
||||
hadDictionaryMember: URIRef # hadDictionaryMember
|
||||
hadGeneration: (
|
||||
URIRef # The _optional_ Generation involved in an Entity's Derivation.
|
||||
)
|
||||
hadMember: URIRef # hadMember
|
||||
hadPlan: URIRef # The _optional_ Plan adopted by an Agent in Association with some Activity. Plan specifications are out of the scope of this specification.
|
||||
hadPrimarySource: URIRef # hadPrimarySource
|
||||
hadRole: URIRef # This property has multiple RDFS domains to suit multiple OWL Profiles. See <a href="#owl-profile">PROV-O OWL Profile</a>.
|
||||
hadUsage: URIRef # The _optional_ Usage involved in an Entity's Derivation.
|
||||
has_anchor: (
|
||||
URIRef # Indicates anchor URI for a potentially dynamic resource instance.
|
||||
)
|
||||
has_provenance: URIRef # Indicates a provenance-URI for a resource; the resource identified by this property presents a provenance record about its subject or anchor resource.
|
||||
has_query_service: URIRef # Indicates a provenance query service that can access provenance related to its subject or anchor resource.
|
||||
influenced: URIRef # influenced
|
||||
influencer: URIRef # Subproperties of prov:influencer are used to cite the object of an unqualified PROV-O triple whose predicate is a subproperty of prov:wasInfluencedBy (e.g. prov:used, prov:wasGeneratedBy). prov:influencer is used much like rdf:object is used.
|
||||
insertedKeyEntityPair: URIRef # insertedKeyEntityPair
|
||||
invalidated: URIRef # invalidated
|
||||
mentionOf: URIRef # prov:mentionOf is used to specialize an entity as described in another bundle. It is to be used in conjunction with prov:asInBundle. prov:asInBundle is used to cite the Bundle in which the generalization was mentioned.
|
||||
pingback: URIRef # Relates a resource to a provenance pingback service that may receive additional provenance links about the resource.
|
||||
qualifiedAssociation: URIRef # If this Activity prov:wasAssociatedWith Agent :ag, then it can qualify the Association using prov:qualifiedAssociation [ a prov:Association; prov:agent :ag; :foo :bar ].
|
||||
qualifiedAttribution: URIRef # If this Entity prov:wasAttributedTo Agent :ag, then it can qualify how it was influenced using prov:qualifiedAttribution [ a prov:Attribution; prov:agent :ag; :foo :bar ].
|
||||
qualifiedCommunication: URIRef # If this Activity prov:wasInformedBy Activity :a, then it can qualify how it was influenced using prov:qualifiedCommunication [ a prov:Communication; prov:activity :a; :foo :bar ].
|
||||
qualifiedDelegation: URIRef # If this Agent prov:actedOnBehalfOf Agent :ag, then it can qualify how with prov:qualifiedResponsibility [ a prov:Responsibility; prov:agent :ag; :foo :bar ].
|
||||
qualifiedDerivation: URIRef # If this Entity prov:wasDerivedFrom Entity :e, then it can qualify how it was derived using prov:qualifiedDerivation [ a prov:Derivation; prov:entity :e; :foo :bar ].
|
||||
qualifiedEnd: URIRef # If this Activity prov:wasEndedBy Entity :e1, then it can qualify how it was ended using prov:qualifiedEnd [ a prov:End; prov:entity :e1; :foo :bar ].
|
||||
qualifiedGeneration: URIRef # If this Activity prov:generated Entity :e, then it can qualify how it performed the Generation using prov:qualifiedGeneration [ a prov:Generation; prov:entity :e; :foo :bar ].
|
||||
qualifiedInfluence: URIRef # Because prov:qualifiedInfluence is a broad relation, the more specific relations (qualifiedCommunication, qualifiedDelegation, qualifiedEnd, etc.) should be used when applicable.
|
||||
qualifiedInsertion: URIRef # qualifiedInsertion
|
||||
qualifiedInvalidation: URIRef # If this Entity prov:wasInvalidatedBy Activity :a, then it can qualify how it was invalidated using prov:qualifiedInvalidation [ a prov:Invalidation; prov:activity :a; :foo :bar ].
|
||||
qualifiedPrimarySource: URIRef # If this Entity prov:hadPrimarySource Entity :e, then it can qualify how using prov:qualifiedPrimarySource [ a prov:PrimarySource; prov:entity :e; :foo :bar ].
|
||||
qualifiedQuotation: URIRef # If this Entity prov:wasQuotedFrom Entity :e, then it can qualify how using prov:qualifiedQuotation [ a prov:Quotation; prov:entity :e; :foo :bar ].
|
||||
qualifiedRemoval: URIRef # qualifiedRemoval
|
||||
qualifiedRevision: URIRef # If this Entity prov:wasRevisionOf Entity :e, then it can qualify how it was revised using prov:qualifiedRevision [ a prov:Revision; prov:entity :e; :foo :bar ].
|
||||
qualifiedStart: URIRef # If this Activity prov:wasStartedBy Entity :e1, then it can qualify how it was started using prov:qualifiedStart [ a prov:Start; prov:entity :e1; :foo :bar ].
|
||||
qualifiedUsage: URIRef # If this Activity prov:used Entity :e, then it can qualify how it used it using prov:qualifiedUsage [ a prov:Usage; prov:entity :e; :foo :bar ].
|
||||
used: URIRef # A prov:Entity that was used by this prov:Activity. For example, :baking prov:used :spoon, :egg, :oven .
|
||||
wasAssociatedWith: URIRef # An prov:Agent that had some (unspecified) responsibility for the occurrence of this prov:Activity.
|
||||
wasAttributedTo: URIRef # Attribution is the ascribing of an entity to an agent.
|
||||
wasDerivedFrom: URIRef # The more specific subproperties of prov:wasDerivedFrom (i.e., prov:wasQuotedFrom, prov:wasRevisionOf, prov:hadPrimarySource) should be used when applicable.
|
||||
wasEndedBy: URIRef # End is when an activity is deemed to have ended. An end may refer to an entity, known as trigger, that terminated the activity.
|
||||
wasGeneratedBy: URIRef # wasGeneratedBy
|
||||
wasInfluencedBy: URIRef # This property has multiple RDFS domains to suit multiple OWL Profiles. See <a href="#owl-profile">PROV-O OWL Profile</a>.
|
||||
wasInformedBy: URIRef # An activity a2 is dependent on or informed by another activity a1, by way of some unspecified entity that is generated by a1 and used by a2.
|
||||
wasInvalidatedBy: URIRef # wasInvalidatedBy
|
||||
wasQuotedFrom: URIRef # An entity is derived from an original entity by copying, or 'quoting', some or all of it.
|
||||
wasStartedBy: URIRef # Start is when an activity is deemed to have started. A start may refer to an entity, known as trigger, that initiated the activity.
|
||||
|
||||
_NS = Namespace("http://www.w3.org/ns/prov#")
|
||||
@@ -0,0 +1,63 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
class QB(DefinedNamespace):
|
||||
"""
|
||||
Vocabulary for multi-dimensional (e.g. statistical) data publishing
|
||||
|
||||
This vocabulary allows multi-dimensional data, such as statistics, to be published in RDF. It is based on the
|
||||
core information model from SDMX (and thus also DDI).
|
||||
|
||||
Generated from: http://purl.org/linked-data/cube#
|
||||
Date: 2020-05-26 14:20:05.485176
|
||||
|
||||
"""
|
||||
|
||||
_fail = True
|
||||
|
||||
# http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
|
||||
attribute: URIRef # An alternative to qb:componentProperty which makes explicit that the component is a attribute
|
||||
codeList: URIRef # gives the code list associated with a CodedProperty
|
||||
component: URIRef # indicates a component specification which is included in the structure of the dataset
|
||||
componentAttachment: URIRef # Indicates the level at which the component property should be attached, this might an qb:DataSet, qb:Slice or qb:Observation, or a qb:MeasureProperty.
|
||||
componentProperty: URIRef # indicates a ComponentProperty (i.e. attribute/dimension) expected on a DataSet, or a dimension fixed in a SliceKey
|
||||
componentRequired: URIRef # Indicates whether a component property is required (true) or optional (false) in the context of a DSD. Only applicable to components correspond to an attribute. Defaults to false (optional).
|
||||
concept: URIRef # gives the concept which is being measured or indicated by a ComponentProperty
|
||||
dataSet: URIRef # indicates the data set of which this observation is a part
|
||||
dimension: URIRef # An alternative to qb:componentProperty which makes explicit that the component is a dimension
|
||||
hierarchyRoot: URIRef # Specifies a root of the hierarchy. A hierarchy may have multiple roots but must have at least one.
|
||||
measure: URIRef # An alternative to qb:componentProperty which makes explicit that the component is a measure
|
||||
measureDimension: URIRef # An alternative to qb:componentProperty which makes explicit that the component is a measure dimension
|
||||
measureType: URIRef # Generic measure dimension, the value of this dimension indicates which measure (from the set of measures in the DSD) is being given by the obsValue (or other primary measure)
|
||||
observation: (
|
||||
URIRef # indicates a observation contained within this slice of the data set
|
||||
)
|
||||
observationGroup: URIRef # Indicates a group of observations. The domain of this property is left open so that a group may be attached to different resources and need not be restricted to a single DataSet
|
||||
order: URIRef # indicates a priority order for the components of sets with this structure, used to guide presentations - lower order numbers come before higher numbers, un-numbered components come last
|
||||
parentChildProperty: URIRef # Specifies a property which relates a parent concept in the hierarchy to a child concept.
|
||||
slice: URIRef # Indicates a subset of a DataSet defined by fixing a subset of the dimensional values
|
||||
sliceKey: URIRef # indicates a slice key which is used for slices in this dataset
|
||||
sliceStructure: URIRef # indicates the sub-key corresponding to this slice
|
||||
structure: URIRef # indicates the structure to which this data set conforms
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Class
|
||||
Attachable: URIRef # Abstract superclass for everything that can have attributes and dimensions
|
||||
AttributeProperty: URIRef # The class of components which represent attributes of observations in the cube, e.g. unit of measurement
|
||||
CodedProperty: URIRef # Superclass of all coded ComponentProperties
|
||||
ComponentProperty: URIRef # Abstract super-property of all properties representing dimensions, attributes or measures
|
||||
ComponentSet: URIRef # Abstract class of things which reference one or more ComponentProperties
|
||||
ComponentSpecification: URIRef # Used to define properties of a component (attribute, dimension etc) which are specific to its usage in a DSD.
|
||||
DataSet: URIRef # Represents a collection of observations, possibly organized into various slices, conforming to some common dimensional structure.
|
||||
DataStructureDefinition: URIRef # Defines the structure of a DataSet or slice
|
||||
DimensionProperty: (
|
||||
URIRef # The class of components which represent the dimensions of the cube
|
||||
)
|
||||
HierarchicalCodeList: URIRef # Represents a generalized hierarchy of concepts which can be used for coding. The hierarchy is defined by one or more roots together with a property which relates concepts in the hierarchy to their child concept . The same concepts may be members of multiple hierarchies provided that different qb:parentChildProperty values are used for each hierarchy.
|
||||
MeasureProperty: URIRef # The class of components which represent the measured value of the phenomenon being observed
|
||||
Observation: URIRef # A single observation in the cube, may have one or more associated measured values
|
||||
ObservationGroup: URIRef # A, possibly arbitrary, group of observations.
|
||||
Slice: URIRef # Denotes a subset of a DataSet defined by fixing a subset of the dimensional values, component properties on the Slice
|
||||
SliceKey: URIRef # Denotes a subset of the component properties of a DataSet which are fixed in the corresponding slices
|
||||
|
||||
_NS = Namespace("http://purl.org/linked-data/cube#")
|
||||
@@ -0,0 +1,51 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
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
|
||||
_underscore_num = 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.
|
||||
|
||||
# http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
|
||||
direction: URIRef # The base direction component of a CompoundLiteral.
|
||||
first: URIRef # The first item in the subject RDF list.
|
||||
language: URIRef # The language component of a CompoundLiteral.
|
||||
object: URIRef # The object of the subject RDF statement.
|
||||
predicate: URIRef # The predicate of the subject RDF statement.
|
||||
rest: URIRef # The rest of the subject RDF list after the first item.
|
||||
subject: URIRef # The subject of the subject RDF statement.
|
||||
type: URIRef # The subject is an instance of a class.
|
||||
value: URIRef # Idiomatic property used for structured values.
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Class
|
||||
Alt: URIRef # The class of containers of alternatives.
|
||||
Bag: URIRef # The class of unordered containers.
|
||||
CompoundLiteral: URIRef # A class representing a compound literal.
|
||||
List: URIRef # The class of RDF Lists.
|
||||
Property: URIRef # The class of RDF properties.
|
||||
Seq: URIRef # The class of ordered containers.
|
||||
Statement: URIRef # The class of RDF statements.
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Datatype
|
||||
HTML: URIRef # The datatype of RDF literals storing fragments of HTML content
|
||||
JSON: URIRef # The datatype of RDF literals storing JSON content.
|
||||
PlainLiteral: URIRef # The class of plain (i.e. untyped) literal values, as used in RIF and OWL 2
|
||||
XMLLiteral: URIRef # The datatype of XML literal values.
|
||||
langString: URIRef # The datatype of language-tagged string values
|
||||
|
||||
_NS = Namespace("http://www.w3.org/1999/02/22-rdf-syntax-ns#")
|
||||
@@ -0,0 +1,35 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
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
|
||||
|
||||
"""
|
||||
|
||||
_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.
|
||||
isDefinedBy: URIRef # The definition of the subject resource.
|
||||
label: URIRef # A human-readable name for the subject.
|
||||
member: URIRef # A member of the subject resource.
|
||||
range: URIRef # A range of the subject property.
|
||||
seeAlso: URIRef # Further information about the subject resource.
|
||||
subClassOf: URIRef # The subject is a subclass of a class.
|
||||
subPropertyOf: URIRef # The subject is a subproperty of a property.
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Class
|
||||
Class: URIRef # The class of classes.
|
||||
Container: URIRef # The class of RDF containers.
|
||||
ContainerMembershipProperty: URIRef # The class of container membership properties, rdf:_1, rdf:_2, ..., all of which are sub-properties of 'member'.
|
||||
Datatype: URIRef # The class of RDF datatypes.
|
||||
Literal: URIRef # The class of literal values, eg. textual strings and integers.
|
||||
Resource: URIRef # The class resource, everything.
|
||||
|
||||
_NS = Namespace("http://www.w3.org/2000/01/rdf-schema#")
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,293 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
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
|
||||
|
||||
"""
|
||||
|
||||
_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.
|
||||
annotationValue: URIRef # The (default) values of the annotation property.
|
||||
annotationVarName: URIRef # The name of the SPARQL variable from the SELECT clause that shall be used for the values.
|
||||
ask: URIRef # The SPARQL ASK query to execute.
|
||||
closed: URIRef # If set to true then the shape is closed.
|
||||
condition: URIRef # The shapes that the focus nodes need to conform to before a rule is executed on them.
|
||||
conforms: URIRef # True if the validation did not produce any validation results, and false otherwise.
|
||||
construct: URIRef # The SPARQL CONSTRUCT query to execute.
|
||||
datatype: URIRef # Specifies an RDF datatype that all value nodes must have.
|
||||
deactivated: URIRef # If set to true then all nodes conform to this.
|
||||
declare: URIRef # Links a resource with its namespace prefix declarations.
|
||||
defaultValue: URIRef # A default value for a property, for example for user interface tools to pre-populate input fields.
|
||||
description: URIRef # Human-readable descriptions for the property in the context of the surrounding shape.
|
||||
detail: URIRef # Links a result with other results that provide more details, for example to describe violations against nested shapes.
|
||||
disjoint: URIRef # Specifies a property where the set of values must be disjoint with the value nodes.
|
||||
entailment: URIRef # An entailment regime that indicates what kind of inferencing is required by a shapes graph.
|
||||
equals: URIRef # Specifies a property that must have the same values as the value nodes.
|
||||
expression: URIRef # The node expression that must return true for the value nodes.
|
||||
filterShape: (
|
||||
URIRef # The shape that all input nodes of the expression need to conform to.
|
||||
)
|
||||
flags: (
|
||||
URIRef # An optional flag to be used with regular expression pattern matching.
|
||||
)
|
||||
focusNode: URIRef # The focus node that was validated when the result was produced.
|
||||
group: URIRef # Can be used to link to a property group to indicate that a property shape belongs to a group of related property shapes.
|
||||
hasValue: URIRef # Specifies a value that must be among the value nodes.
|
||||
ignoredProperties: URIRef # An optional RDF list of properties that are also permitted in addition to those explicitly enumerated via sh:property/sh:path.
|
||||
intersection: URIRef # A list of node expressions that shall be intersected.
|
||||
inversePath: URIRef # The (single) value of this property represents an inverse path (object to subject).
|
||||
js: URIRef # Constraints expressed in JavaScript.
|
||||
jsFunctionName: URIRef # The name of the JavaScript function to execute.
|
||||
jsLibrary: URIRef # Declares which JavaScript libraries are needed to execute this.
|
||||
jsLibraryURL: URIRef # Declares the URLs of a JavaScript library. This should be the absolute URL of a JavaScript file. Implementations may redirect those to local files.
|
||||
labelTemplate: URIRef # Outlines how human-readable labels of instances of the associated Parameterizable shall be produced. The values can contain {?paramName} as placeholders for the actual values of the given parameter.
|
||||
languageIn: (
|
||||
URIRef # Specifies a list of language tags that all value nodes must have.
|
||||
)
|
||||
lessThan: URIRef # Specifies a property that must have smaller values than the value nodes.
|
||||
lessThanOrEquals: URIRef # Specifies a property that must have smaller or equal values than the value nodes.
|
||||
maxCount: (
|
||||
URIRef # Specifies the maximum number of values in the set of value nodes.
|
||||
)
|
||||
maxExclusive: URIRef # Specifies the maximum exclusive value of each value node.
|
||||
maxInclusive: URIRef # Specifies the maximum inclusive value of each value node.
|
||||
maxLength: URIRef # Specifies the maximum string length of each value node.
|
||||
message: URIRef # A human-readable message (possibly with placeholders for variables) explaining the cause of the result.
|
||||
minCount: (
|
||||
URIRef # Specifies the minimum number of values in the set of value nodes.
|
||||
)
|
||||
minExclusive: URIRef # Specifies the minimum exclusive value of each value node.
|
||||
minInclusive: URIRef # Specifies the minimum inclusive value of each value node.
|
||||
minLength: URIRef # Specifies the minimum string length of each value node.
|
||||
name: URIRef # Human-readable labels for the property in the context of the surrounding shape.
|
||||
namespace: URIRef # The namespace associated with a prefix in a prefix declaration.
|
||||
node: URIRef # Specifies the node shape that all value nodes must conform to.
|
||||
nodeKind: URIRef # Specifies the node kind (e.g. IRI or literal) each value node.
|
||||
nodeValidator: URIRef # The validator(s) used to evaluate a constraint in the context of a node shape.
|
||||
nodes: URIRef # The node expression producing the input nodes of a filter shape expression.
|
||||
object: (
|
||||
URIRef # An expression producing the nodes that shall be inferred as objects.
|
||||
)
|
||||
oneOrMorePath: URIRef # The (single) value of this property represents a path that is matched one or more times.
|
||||
optional: URIRef # Indicates whether a parameter is optional.
|
||||
order: URIRef # Specifies the relative order of this compared to its siblings. For example use 0 for the first, 1 for the second.
|
||||
parameter: URIRef # The parameters of a function or constraint component.
|
||||
path: URIRef # Specifies the property path of a property shape.
|
||||
pattern: URIRef # Specifies a regular expression pattern that the string representations of the value nodes must match.
|
||||
predicate: URIRef # An expression producing the properties that shall be inferred as predicates.
|
||||
prefix: URIRef # The prefix of a prefix declaration.
|
||||
prefixes: URIRef # The prefixes that shall be applied before parsing the associated SPARQL query.
|
||||
property: URIRef # Links a shape to its property shapes.
|
||||
propertyValidator: URIRef # The validator(s) used to evaluate a constraint in the context of a property shape.
|
||||
qualifiedMaxCount: (
|
||||
URIRef # The maximum number of value nodes that can conform to the shape.
|
||||
)
|
||||
qualifiedMinCount: (
|
||||
URIRef # The minimum number of value nodes that must conform to the shape.
|
||||
)
|
||||
qualifiedValueShape: (
|
||||
URIRef # The shape that a specified number of values must conform to.
|
||||
)
|
||||
qualifiedValueShapesDisjoint: URIRef # Can be used to mark the qualified value shape to be disjoint with its sibling shapes.
|
||||
result: URIRef # The validation results contained in a validation report.
|
||||
resultAnnotation: URIRef # Links a SPARQL validator with zero or more sh:ResultAnnotation instances, defining how to derive additional result properties based on the variables of the SELECT query.
|
||||
resultMessage: URIRef # Human-readable messages explaining the cause of the result.
|
||||
resultPath: URIRef # The path of a validation result, based on the path of the validated property shape.
|
||||
resultSeverity: URIRef # The severity of the result, e.g. warning.
|
||||
returnType: (
|
||||
URIRef # The expected type of values returned by the associated function.
|
||||
)
|
||||
rule: URIRef # The rules linked to a shape.
|
||||
select: URIRef # The SPARQL SELECT query to execute.
|
||||
severity: URIRef # Defines the severity that validation results produced by a shape must have. Defaults to sh:Violation.
|
||||
shapesGraph: (
|
||||
URIRef # Shapes graphs that should be used when validating this data graph.
|
||||
)
|
||||
shapesGraphWellFormed: URIRef # If true then the validation engine was certain that the shapes graph has passed all SHACL syntax requirements during the validation process.
|
||||
sourceConstraint: (
|
||||
URIRef # The constraint that was validated when the result was produced.
|
||||
)
|
||||
sourceConstraintComponent: (
|
||||
URIRef # The constraint component that is the source of the result.
|
||||
)
|
||||
sourceShape: URIRef # The shape that is was validated when the result was produced.
|
||||
sparql: URIRef # Links a shape with SPARQL constraints.
|
||||
subject: URIRef # An expression producing the resources that shall be inferred as subjects.
|
||||
suggestedShapesGraph: URIRef # Suggested shapes graphs for this ontology. The values of this property may be used in the absence of specific sh:shapesGraph statements.
|
||||
target: URIRef # Links a shape to a target specified by an extension language, for example instances of sh:SPARQLTarget.
|
||||
targetClass: URIRef # Links a shape to a class, indicating that all instances of the class must conform to the shape.
|
||||
targetNode: URIRef # Links a shape to individual nodes, indicating that these nodes must conform to the shape.
|
||||
targetObjectsOf: URIRef # Links a shape to a property, indicating that all all objects of triples that have the given property as their predicate must conform to the shape.
|
||||
targetSubjectsOf: URIRef # Links a shape to a property, indicating that all subjects of triples that have the given property as their predicate must conform to the shape.
|
||||
union: URIRef # A list of node expressions that shall be used together.
|
||||
uniqueLang: URIRef # Specifies whether all node values must have a unique (or no) language tag.
|
||||
update: URIRef # The SPARQL UPDATE to execute.
|
||||
validator: URIRef # The validator(s) used to evaluate constraints of either node or property shapes.
|
||||
value: URIRef # An RDF node that has caused the result.
|
||||
xone: URIRef # Specifies a list of shapes so that the value nodes must conform to exactly one of the shapes.
|
||||
zeroOrMorePath: URIRef # The (single) value of this property represents a path that is matched zero or more times.
|
||||
zeroOrOnePath: URIRef # The (single) value of this property represents a path that is matched zero or one times.
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Class
|
||||
AbstractResult: URIRef # The base class of validation results, typically not instantiated directly.
|
||||
ConstraintComponent: URIRef # The class of constraint components.
|
||||
Function: URIRef # The class of SHACL functions.
|
||||
JSConstraint: URIRef # The class of constraints backed by a JavaScript function.
|
||||
JSExecutable: URIRef # Abstract base class of resources that declare an executable JavaScript.
|
||||
JSFunction: URIRef # The class of SHACL functions that execute a JavaScript function when called.
|
||||
JSLibrary: URIRef # Represents a JavaScript library, typically identified by one or more URLs of files to include.
|
||||
JSRule: URIRef # The class of SHACL rules expressed using JavaScript.
|
||||
JSTarget: URIRef # The class of targets that are based on JavaScript functions.
|
||||
JSTargetType: URIRef # The (meta) class for parameterizable targets that are based on JavaScript functions.
|
||||
JSValidator: URIRef # A SHACL validator based on JavaScript. This can be used to declare SHACL constraint components that perform JavaScript-based validation when used.
|
||||
NodeKind: URIRef # The class of all node kinds, including sh:BlankNode, sh:IRI, sh:Literal or the combinations of these: sh:BlankNodeOrIRI, sh:BlankNodeOrLiteral, sh:IRIOrLiteral.
|
||||
NodeShape: URIRef # A node shape is a shape that specifies constraint that need to be met with respect to focus nodes.
|
||||
Parameter: URIRef # The class of parameter declarations, consisting of a path predicate and (possibly) information about allowed value type, cardinality and other characteristics.
|
||||
Parameterizable: URIRef # Superclass of components that can take parameters, especially functions and constraint components.
|
||||
PrefixDeclaration: URIRef # The class of prefix declarations, consisting of pairs of a prefix with a namespace.
|
||||
PropertyGroup: URIRef # Instances of this class represent groups of property shapes that belong together.
|
||||
PropertyShape: URIRef # A property shape is a shape that specifies constraints on the values of a focus node for a given property or path.
|
||||
ResultAnnotation: URIRef # A class of result annotations, which define the rules to derive the values of a given annotation property as extra values for a validation result.
|
||||
Rule: URIRef # The class of SHACL rules. Never instantiated directly.
|
||||
SPARQLAskExecutable: (
|
||||
URIRef # The class of SPARQL executables that are based on an ASK query.
|
||||
)
|
||||
SPARQLAskValidator: URIRef # The class of validators based on SPARQL ASK queries. The queries are evaluated for each value node and are supposed to return true if the given node conforms.
|
||||
SPARQLConstraint: URIRef # The class of constraints based on SPARQL SELECT queries.
|
||||
SPARQLConstructExecutable: (
|
||||
URIRef # The class of SPARQL executables that are based on a CONSTRUCT query.
|
||||
)
|
||||
SPARQLExecutable: URIRef # The class of resources that encapsulate a SPARQL query.
|
||||
SPARQLFunction: (
|
||||
URIRef # A function backed by a SPARQL query - either ASK or SELECT.
|
||||
)
|
||||
SPARQLRule: URIRef # The class of SHACL rules based on SPARQL CONSTRUCT queries.
|
||||
SPARQLSelectExecutable: (
|
||||
URIRef # The class of SPARQL executables based on a SELECT query.
|
||||
)
|
||||
SPARQLSelectValidator: URIRef # The class of validators based on SPARQL SELECT queries. The queries are evaluated for each focus node and are supposed to produce bindings for all focus nodes that do not conform.
|
||||
SPARQLTarget: URIRef # The class of targets that are based on SPARQL queries.
|
||||
SPARQLTargetType: URIRef # The (meta) class for parameterizable targets that are based on SPARQL queries.
|
||||
SPARQLUpdateExecutable: (
|
||||
URIRef # The class of SPARQL executables based on a SPARQL UPDATE.
|
||||
)
|
||||
Severity: URIRef # The class of validation result severity levels, including violation and warning levels.
|
||||
Shape: URIRef # A shape is a collection of constraints that may be targeted for certain nodes.
|
||||
Target: URIRef # The base class of targets such as those based on SPARQL queries.
|
||||
TargetType: URIRef # The (meta) class for parameterizable targets. Instances of this are instantiated as values of the sh:target property.
|
||||
TripleRule: URIRef # A rule based on triple (subject, predicate, object) pattern.
|
||||
ValidationReport: URIRef # The class of SHACL validation reports.
|
||||
ValidationResult: URIRef # The class of validation results.
|
||||
Validator: URIRef # The class of validators, which provide instructions on how to process a constraint definition. This class serves as base class for the SPARQL-based validators and other possible implementations.
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Resource
|
||||
this: URIRef # A node expression that represents the current focus node.
|
||||
|
||||
# http://www.w3.org/ns/shacl#ConstraintComponent
|
||||
AndConstraintComponent: URIRef # A constraint component that can be used to test whether a value node conforms to all members of a provided list of shapes.
|
||||
ClassConstraintComponent: URIRef # A constraint component that can be used to verify that each value node is an instance of a given type.
|
||||
ClosedConstraintComponent: URIRef # A constraint component that can be used to indicate that focus nodes must only have values for those properties that have been explicitly enumerated via sh:property/sh:path.
|
||||
DatatypeConstraintComponent: URIRef # A constraint component that can be used to restrict the datatype of all value nodes.
|
||||
DisjointConstraintComponent: URIRef # A constraint component that can be used to verify that the set of value nodes is disjoint with the the set of nodes that have the focus node as subject and the value of a given property as predicate.
|
||||
EqualsConstraintComponent: URIRef # A constraint component that can be used to verify that the set of value nodes is equal to the set of nodes that have the focus node as subject and the value of a given property as predicate.
|
||||
ExpressionConstraintComponent: URIRef # A constraint component that can be used to verify that a given node expression produces true for all value nodes.
|
||||
HasValueConstraintComponent: URIRef # A constraint component that can be used to verify that one of the value nodes is a given RDF node.
|
||||
InConstraintComponent: URIRef # A constraint component that can be used to exclusively enumerate the permitted value nodes.
|
||||
JSConstraintComponent: URIRef # A constraint component with the parameter sh:js linking to a sh:JSConstraint containing a sh:script.
|
||||
LanguageInConstraintComponent: URIRef # A constraint component that can be used to enumerate language tags that all value nodes must have.
|
||||
LessThanConstraintComponent: URIRef # A constraint component that can be used to verify that each value node is smaller than all the nodes that have the focus node as subject and the value of a given property as predicate.
|
||||
LessThanOrEqualsConstraintComponent: URIRef # A constraint component that can be used to verify that every value node is smaller than all the nodes that have the focus node as subject and the value of a given property as predicate.
|
||||
MaxCountConstraintComponent: URIRef # A constraint component that can be used to restrict the maximum number of value nodes.
|
||||
MaxExclusiveConstraintComponent: URIRef # A constraint component that can be used to restrict the range of value nodes with a maximum exclusive value.
|
||||
MaxInclusiveConstraintComponent: URIRef # A constraint component that can be used to restrict the range of value nodes with a maximum inclusive value.
|
||||
MaxLengthConstraintComponent: URIRef # A constraint component that can be used to restrict the maximum string length of value nodes.
|
||||
MinCountConstraintComponent: URIRef # A constraint component that can be used to restrict the minimum number of value nodes.
|
||||
MinExclusiveConstraintComponent: URIRef # A constraint component that can be used to restrict the range of value nodes with a minimum exclusive value.
|
||||
MinInclusiveConstraintComponent: URIRef # A constraint component that can be used to restrict the range of value nodes with a minimum inclusive value.
|
||||
MinLengthConstraintComponent: URIRef # A constraint component that can be used to restrict the minimum string length of value nodes.
|
||||
NodeConstraintComponent: URIRef # A constraint component that can be used to verify that all value nodes conform to the given node shape.
|
||||
NodeKindConstraintComponent: URIRef # A constraint component that can be used to restrict the RDF node kind of each value node.
|
||||
NotConstraintComponent: URIRef # A constraint component that can be used to verify that value nodes do not conform to a given shape.
|
||||
OrConstraintComponent: URIRef # A constraint component that can be used to restrict the value nodes so that they conform to at least one out of several provided shapes.
|
||||
PatternConstraintComponent: URIRef # A constraint component that can be used to verify that every value node matches a given regular expression.
|
||||
PropertyConstraintComponent: URIRef # A constraint component that can be used to verify that all value nodes conform to the given property shape.
|
||||
QualifiedMaxCountConstraintComponent: URIRef # A constraint component that can be used to verify that a specified maximum number of value nodes conforms to a given shape.
|
||||
QualifiedMinCountConstraintComponent: URIRef # A constraint component that can be used to verify that a specified minimum number of value nodes conforms to a given shape.
|
||||
SPARQLConstraintComponent: URIRef # A constraint component that can be used to define constraints based on SPARQL queries.
|
||||
UniqueLangConstraintComponent: URIRef # A constraint component that can be used to specify that no pair of value nodes may use the same language tag.
|
||||
XoneConstraintComponent: URIRef # A constraint component that can be used to restrict the value nodes so that they conform to exactly one out of several provided shapes.
|
||||
|
||||
# http://www.w3.org/ns/shacl#NodeKind
|
||||
BlankNode: URIRef # The node kind of all blank nodes.
|
||||
BlankNodeOrIRI: URIRef # The node kind of all blank nodes or IRIs.
|
||||
BlankNodeOrLiteral: URIRef # The node kind of all blank nodes or literals.
|
||||
IRI: URIRef # The node kind of all IRIs.
|
||||
IRIOrLiteral: URIRef # The node kind of all IRIs or literals.
|
||||
Literal: URIRef # The node kind of all literals.
|
||||
|
||||
# http://www.w3.org/ns/shacl#Parameter
|
||||
|
||||
# http://www.w3.org/ns/shacl#Severity
|
||||
Info: URIRef # The severity for an informational validation result.
|
||||
Violation: URIRef # The severity for a violation validation result.
|
||||
Warning: URIRef # The severity for a warning validation result.
|
||||
|
||||
# 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#")
|
||||
@@ -0,0 +1,66 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
class SKOS(DefinedNamespace):
|
||||
"""
|
||||
SKOS Vocabulary
|
||||
|
||||
An RDF vocabulary for describing the basic structure and content of concept schemes such as thesauri,
|
||||
classification schemes, subject heading lists, taxonomies, 'folksonomies', other types of controlled
|
||||
vocabulary, and also concept schemes embedded in glossaries and terminologies.
|
||||
|
||||
Generated from: https://www.w3.org/2009/08/skos-reference/skos.rdf
|
||||
Date: 2020-05-26 14:20:08.489187
|
||||
|
||||
"""
|
||||
|
||||
_fail = True
|
||||
|
||||
# http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
|
||||
altLabel: URIRef # An alternative lexical label for a resource.
|
||||
broadMatch: URIRef # skos:broadMatch is used to state a hierarchical mapping link between two conceptual resources in different concept schemes.
|
||||
broader: URIRef # Relates a concept to a concept that is more general in meaning.
|
||||
broaderTransitive: (
|
||||
URIRef # skos:broaderTransitive is a transitive superproperty of skos:broader.
|
||||
)
|
||||
changeNote: URIRef # A note about a modification to a concept.
|
||||
closeMatch: URIRef # skos:closeMatch is used to link two concepts that are sufficiently similar that they can be used interchangeably in some information retrieval applications. In order to avoid the possibility of "compound errors" when combining mappings across more than two concept schemes, skos:closeMatch is not declared to be a transitive property.
|
||||
definition: URIRef # A statement or formal explanation of the meaning of a concept.
|
||||
editorialNote: (
|
||||
URIRef # A note for an editor, translator or maintainer of the vocabulary.
|
||||
)
|
||||
exactMatch: URIRef # skos:exactMatch is used to link two concepts, indicating a high degree of confidence that the concepts can be used interchangeably across a wide range of information retrieval applications. skos:exactMatch is a transitive property, and is a sub-property of skos:closeMatch.
|
||||
example: URIRef # An example of the use of a concept.
|
||||
hasTopConcept: URIRef # Relates, by convention, a concept scheme to a concept which is topmost in the broader/narrower concept hierarchies for that scheme, providing an entry point to these hierarchies.
|
||||
hiddenLabel: URIRef # A lexical label for a resource that should be hidden when generating visual displays of the resource, but should still be accessible to free text search operations.
|
||||
historyNote: URIRef # A note about the past state/use/meaning of a concept.
|
||||
inScheme: URIRef # Relates a resource (for example a concept) to a concept scheme in which it is included.
|
||||
mappingRelation: URIRef # Relates two concepts coming, by convention, from different schemes, and that have comparable meanings
|
||||
member: URIRef # Relates a collection to one of its members.
|
||||
memberList: (
|
||||
URIRef # Relates an ordered collection to the RDF list containing its members.
|
||||
)
|
||||
narrowMatch: URIRef # skos:narrowMatch is used to state a hierarchical mapping link between two conceptual resources in different concept schemes.
|
||||
narrower: URIRef # Relates a concept to a concept that is more specific in meaning.
|
||||
narrowerTransitive: URIRef # skos:narrowerTransitive is a transitive superproperty of skos:narrower.
|
||||
notation: URIRef # A notation, also known as classification code, is a string of characters such as "T58.5" or "303.4833" used to uniquely identify a concept within the scope of a given concept scheme.
|
||||
note: URIRef # A general note, for any purpose.
|
||||
prefLabel: (
|
||||
URIRef # The preferred lexical label for a resource, in a given language.
|
||||
)
|
||||
related: URIRef # Relates a concept to a concept with which there is an associative semantic relationship.
|
||||
relatedMatch: URIRef # skos:relatedMatch is used to state an associative mapping link between two conceptual resources in different concept schemes.
|
||||
scopeNote: (
|
||||
URIRef # A note that helps to clarify the meaning and/or the use of a concept.
|
||||
)
|
||||
semanticRelation: URIRef # Links a concept to a concept related by meaning.
|
||||
topConceptOf: URIRef # Relates a concept to the concept scheme that it is a top level concept of.
|
||||
|
||||
# http://www.w3.org/2002/07/owl#Class
|
||||
Collection: URIRef # A meaningful collection of concepts.
|
||||
Concept: URIRef # An idea or notion; a unit of thought.
|
||||
ConceptScheme: URIRef # A set of concepts, optionally including statements about semantic relationships between those concepts.
|
||||
OrderedCollection: URIRef # An ordered collection of concepts, where both the grouping and the ordering are meaningful.
|
||||
|
||||
_NS = Namespace("http://www.w3.org/2004/02/skos/core#")
|
||||
@@ -0,0 +1,68 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
class SOSA(DefinedNamespace):
|
||||
"""
|
||||
Sensor, Observation, Sample, and Actuator (SOSA) Ontology
|
||||
|
||||
This ontology is based on the SSN Ontology by the W3C Semantic Sensor Networks Incubator Group (SSN-XG),
|
||||
together with considerations from the W3C/OGC Spatial Data on the Web Working Group.
|
||||
|
||||
Generated from: http://www.w3.org/ns/sosa/
|
||||
Date: 2020-05-26 14:20:08.792504
|
||||
|
||||
"""
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Class
|
||||
ActuatableProperty: URIRef # An actuatable quality (property, characteristic) of a FeatureOfInterest.
|
||||
Actuation: URIRef # An Actuation carries out an (Actuation) Procedure to change the state of the world using an Actuator.
|
||||
Actuator: URIRef # A device that is used by, or implements, an (Actuation) Procedure that changes the state of the world.
|
||||
FeatureOfInterest: URIRef # The thing whose property is being estimated or calculated in the course of an Observation to arrive at a Result or whose property is being manipulated by an Actuator, or which is being sampled or transformed in an act of Sampling.
|
||||
ObservableProperty: URIRef # An observable quality (property, characteristic) of a FeatureOfInterest.
|
||||
Observation: URIRef # Act of carrying out an (Observation) Procedure to estimate or calculate a value of a property of a FeatureOfInterest. Links to a Sensor to describe what made the Observation and how; links to an ObservableProperty to describe what the result is an estimate of, and to a FeatureOfInterest to detail what that property was associated with.
|
||||
ObservationCollection: URIRef # Collection of one or more observations, whose members share a common value for one or more property
|
||||
Platform: URIRef # A Platform is an entity that hosts other entities, particularly Sensors, Actuators, Samplers, and other Platforms.
|
||||
Procedure: URIRef # A workflow, protocol, plan, algorithm, or computational method specifying how to make an Observation, create a Sample, or make a change to the state of the world (via an Actuator). A Procedure is re-usable, and might be involved in many Observations, Samplings, or Actuations. It explains the steps to be carried out to arrive at reproducible results.
|
||||
Result: URIRef # The Result of an Observation, Actuation, or act of Sampling. To store an observation's simple result value one can use the hasSimpleResult property.
|
||||
Sample: URIRef # Feature which is intended to be representative of a FeatureOfInterest on which Observations may be made.
|
||||
Sampler: URIRef # A device that is used by, or implements, a Sampling Procedure to create or transform one or more samples.
|
||||
Sampling: URIRef # An act of Sampling carries out a sampling Procedure to create or transform one or more samples.
|
||||
Sensor: URIRef # Device, agent (including humans), or software (simulation) involved in, or implementing, a Procedure. Sensors respond to a stimulus, e.g., a change in the environment, or input data composed from the results of prior Observations, and generate a Result. Sensors can be hosted by Platforms.
|
||||
|
||||
# http://www.w3.org/2002/07/owl#DatatypeProperty
|
||||
hasSimpleResult: (
|
||||
URIRef # The simple value of an Observation or Actuation or act of Sampling.
|
||||
)
|
||||
resultTime: URIRef # The result time is the instant of time when the Observation, Actuation or Sampling activity was completed.
|
||||
|
||||
# http://www.w3.org/2002/07/owl#ObjectProperty
|
||||
actsOnProperty: URIRef # Relation between an Actuation and the property of a FeatureOfInterest it is acting upon.
|
||||
hasFeatureOfInterest: URIRef # A relation between an Observation and the entity whose quality was observed, or between an Actuation and the entity whose property was modified, or between an act of Sampling and the entity that was sampled.
|
||||
hasMember: URIRef # Link to a member of a collection of observations that share the same value for one or more of the characteristic properties
|
||||
hasOriginalSample: URIRef # link to the original sample that is related to the context sample through a chain of isSampleOf relations
|
||||
hasResult: URIRef # Relation linking an Observation or Actuation or act of Sampling and a Result or Sample.
|
||||
hasSample: URIRef # Relation between a FeatureOfInterest and the Sample used to represent it.
|
||||
hasSampledFeature: URIRef # link to the ultimate feature of interest of the context sample - i.e. the end of a chain of isSampleOf relations
|
||||
hasUltimateFeatureOfInterest: URIRef # link to the ultimate feature of interest of an observation or act of sampling. This is useful when the proximate feature of interest is a sample of the ultimate feature of interest, directly or trasntitively.
|
||||
hosts: URIRef # Relation between a Platform and a Sensor, Actuator, Sampler, or Platform, hosted or mounted on it.
|
||||
isActedOnBy: URIRef # Relation between an ActuatableProperty of a FeatureOfInterest and an Actuation changing its state.
|
||||
isFeatureOfInterestOf: URIRef # A relation between a FeatureOfInterest and an Observation about it, an Actuation acting on it, or an act of Sampling that sampled it.
|
||||
isHostedBy: URIRef # Relation between a Sensor, Actuator, Sampler, or Platform, and the Platform that it is mounted on or hosted by.
|
||||
isObservedBy: URIRef # Relation between an ObservableProperty and the Sensor able to observe it.
|
||||
isResultOf: URIRef # Relation linking a Result to the Observation or Actuation or act of Sampling that created or caused it.
|
||||
isSampleOf: URIRef # Relation from a Sample to the FeatureOfInterest that it is intended to be representative of.
|
||||
madeActuation: URIRef # Relation between an Actuator and the Actuation it has made.
|
||||
madeByActuator: URIRef # Relation linking an Actuation to the Actuator that made that Actuation.
|
||||
madeBySampler: URIRef # Relation linking an act of Sampling to the Sampler (sampling device or entity) that made it.
|
||||
madeBySensor: URIRef # Relation between an Observation and the Sensor which made the Observation.
|
||||
madeObservation: (
|
||||
URIRef # Relation between a Sensor and an Observation made by the Sensor.
|
||||
)
|
||||
madeSampling: URIRef # Relation between a Sampler (sampling device or entity) and the Sampling act it performed.
|
||||
observedProperty: URIRef # Relation linking an Observation to the property that was observed. The ObservableProperty should be a property of the FeatureOfInterest (linked by hasFeatureOfInterest) of this Observation.
|
||||
observes: URIRef # Relation between a Sensor and an ObservableProperty that it is capable of sensing.
|
||||
phenomenonTime: URIRef # The time that the Result of an Observation, Actuation or Sampling applies to the FeatureOfInterest. Not necessarily the same as the resultTime. May be an Interval or an Instant, or some other compound TemporalEntity.
|
||||
usedProcedure: URIRef # A relation to link to a re-usable Procedure used in making an Observation, an Actuation, or a Sample, typically through a Sensor, Actuator or Sampler.
|
||||
|
||||
_NS = Namespace("http://www.w3.org/ns/sosa/")
|
||||
@@ -0,0 +1,46 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
class SSN(DefinedNamespace):
|
||||
"""
|
||||
Semantic Sensor Network Ontology
|
||||
|
||||
This ontology describes sensors, actuators and observations, and related concepts. It does not describe domain
|
||||
concepts, time, locations, etc. these are intended to be included from other ontologies via OWL imports.
|
||||
|
||||
Generated from: http://www.w3.org/ns/ssn/
|
||||
Date: 2020-05-26 14:20:09.068204
|
||||
|
||||
"""
|
||||
|
||||
# http://www.w3.org/2002/07/owl#Class
|
||||
Deployment: URIRef # Describes the Deployment of one or more Systems for a particular purpose. Deployment may be done on a Platform.
|
||||
Input: URIRef # Any information that is provided to a Procedure for its use.
|
||||
Output: URIRef # Any information that is reported from a Procedure.
|
||||
Property: URIRef # A quality of an entity. An aspect of an entity that is intrinsic to and cannot exist without the entity.
|
||||
Stimulus: URIRef # An event in the real world that 'triggers' the Sensor. The properties associated to the Stimulus may be different to the eventual observed ObservableProperty. It is the event, not the object, that triggers the Sensor.
|
||||
System: URIRef # System is a unit of abstraction for pieces of infrastructure that implement Procedures. A System may have components, its subsystems, which are other systems.
|
||||
|
||||
# http://www.w3.org/2002/07/owl#FunctionalProperty
|
||||
wasOriginatedBy: (
|
||||
URIRef # Relation between an Observation and the Stimulus that originated it.
|
||||
)
|
||||
|
||||
# http://www.w3.org/2002/07/owl#ObjectProperty
|
||||
deployedOnPlatform: URIRef # Relation between a Deployment and the Platform on which the Systems are deployed.
|
||||
deployedSystem: URIRef # Relation between a Deployment and a deployed System.
|
||||
detects: URIRef # A relation from a Sensor to the Stimulus that the Sensor detects. The Stimulus itself will be serving as a proxy for some ObservableProperty.
|
||||
forProperty: URIRef # A relation between some aspect of an entity and a Property.
|
||||
hasDeployment: URIRef # Relation between a System and a Deployment, recording that the System is deployed in that Deployment.
|
||||
hasInput: URIRef # Relation between a Procedure and an Input to it.
|
||||
hasOutput: URIRef # Relation between a Procedure and an Output of it.
|
||||
hasProperty: URIRef # Relation between an entity and a Property of that entity.
|
||||
hasSubSystem: URIRef # Relation between a System and its component parts.
|
||||
implementedBy: URIRef # Relation between a Procedure (an algorithm, procedure or method) and an entity that implements that Procedure in some executable way.
|
||||
implements: URIRef # Relation between an entity that implements a Procedure in some executable way and the Procedure (an algorithm, procedure or method).
|
||||
inDeployment: URIRef # Relation between a Platform and a Deployment, meaning that the deployedSystems of the Deployment are hosted on the Platform.
|
||||
isPropertyOf: URIRef # Relation between a Property and the entity it belongs to.
|
||||
isProxyFor: URIRef # A relation from a Stimulus to the Property that the Stimulus is serving as a proxy for.
|
||||
|
||||
_NS = Namespace("http://www.w3.org/ns/ssn/")
|
||||
@@ -0,0 +1,135 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
class TIME(DefinedNamespace):
|
||||
"""
|
||||
OWL-Time
|
||||
|
||||
Generated from: http://www.w3.org/2006/time#
|
||||
Date: 2020-05-26 14:20:10.531265
|
||||
|
||||
"""
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Datatype
|
||||
generalDay: URIRef # Day of month - formulated as a text string with a pattern constraint to reproduce the same lexical form as gDay, except that values up to 99 are permitted, in order to support calendars with more than 31 days in a month. Note that the value-space is not defined, so a generic OWL2 processor cannot compute ordering relationships of values of this type.
|
||||
generalMonth: URIRef # Month of year - formulated as a text string with a pattern constraint to reproduce the same lexical form as gMonth, except that values up to 20 are permitted, in order to support calendars with more than 12 months in the year. Note that the value-space is not defined, so a generic OWL2 processor cannot compute ordering relationships of values of this type.
|
||||
generalYear: URIRef # Year number - formulated as a text string with a pattern constraint to reproduce the same lexical form as gYear, but not restricted to values from the Gregorian calendar. Note that the value-space is not defined, so a generic OWL2 processor cannot compute ordering relationships of values of this type.
|
||||
|
||||
# http://www.w3.org/2002/07/owl#Class
|
||||
DateTimeDescription: URIRef # Description of date and time structured with separate values for the various elements of a calendar-clock system. The temporal reference system is fixed to Gregorian Calendar, and the range of year, month, day properties restricted to corresponding XML Schema types xsd:gYear, xsd:gMonth and xsd:gDay, respectively.
|
||||
DateTimeInterval: URIRef # DateTimeInterval is a subclass of ProperInterval, defined using the multi-element DateTimeDescription.
|
||||
DayOfWeek: URIRef # The day of week
|
||||
Duration: URIRef # Duration of a temporal extent expressed as a number scaled by a temporal unit
|
||||
DurationDescription: URIRef # Description of temporal extent structured with separate values for the various elements of a calendar-clock system. The temporal reference system is fixed to Gregorian Calendar, and the range of each of the numeric properties is restricted to xsd:decimal
|
||||
GeneralDateTimeDescription: URIRef # Description of date and time structured with separate values for the various elements of a calendar-clock system
|
||||
GeneralDurationDescription: URIRef # Description of temporal extent structured with separate values for the various elements of a calendar-clock system.
|
||||
Instant: URIRef # A temporal entity with zero extent or duration
|
||||
Interval: URIRef # A temporal entity with an extent or duration
|
||||
MonthOfYear: URIRef # The month of the year
|
||||
ProperInterval: URIRef # A temporal entity with non-zero extent or duration, i.e. for which the value of the beginning and end are different
|
||||
TRS: URIRef # A temporal reference system, such as a temporal coordinate system (with an origin, direction, and scale), a calendar-clock combination, or a (possibly hierarchical) ordinal system. This is a stub class, representing the set of all temporal reference systems.
|
||||
TemporalDuration: URIRef # Time extent; duration of a time interval separate from its particular start position
|
||||
TemporalEntity: URIRef # A temporal interval or instant.
|
||||
TemporalPosition: URIRef # A position on a time-line
|
||||
TemporalUnit: URIRef # A standard duration, which provides a scale factor for a time extent, or the granularity or precision for a time position.
|
||||
TimePosition: URIRef # A temporal position described using either a (nominal) value from an ordinal reference system, or a (numeric) value in a temporal coordinate system.
|
||||
TimeZone: URIRef # A Time Zone specifies the amount by which the local time is offset from UTC. A time zone is usually denoted geographically (e.g. Australian Eastern Daylight Time), with a constant value in a given region. The region where it applies and the offset from UTC are specified by a locally recognised governing authority.
|
||||
|
||||
# http://www.w3.org/2002/07/owl#DatatypeProperty
|
||||
day: URIRef # Day position in a calendar-clock system. The range of this property is not specified, so can be replaced by any specific representation of a calendar day from any calendar.
|
||||
dayOfYear: URIRef # The number of the day within the year
|
||||
days: URIRef # length of, or element of the length of, a temporal extent expressed in days
|
||||
hasXSDDuration: URIRef # Extent of a temporal entity, expressed using xsd:duration
|
||||
hour: URIRef # Hour position in a calendar-clock system.
|
||||
hours: URIRef # length of, or element of the length of, a temporal extent expressed in hours
|
||||
inXSDDate: URIRef # Position of an instant, expressed using xsd:date
|
||||
inXSDDateTimeStamp: (
|
||||
URIRef # Position of an instant, expressed using xsd:dateTimeStamp
|
||||
)
|
||||
inXSDgYear: URIRef # Position of an instant, expressed using xsd:gYear
|
||||
inXSDgYearMonth: URIRef # Position of an instant, expressed using xsd:gYearMonth
|
||||
minute: URIRef # Minute position in a calendar-clock system.
|
||||
minutes: URIRef # length, or element of, a temporal extent expressed in minutes
|
||||
month: URIRef # Month position in a calendar-clock system. The range of this property is not specified, so can be replaced by any specific representation of a calendar month from any calendar.
|
||||
months: URIRef # length of, or element of the length of, a temporal extent expressed in months
|
||||
nominalPosition: URIRef # The (nominal) value indicating temporal position in an ordinal reference system
|
||||
numericDuration: URIRef # Value of a temporal extent expressed as a decimal number scaled by a temporal unit
|
||||
numericPosition: URIRef # The (numeric) value indicating position within a temporal coordinate system
|
||||
second: URIRef # Second position in a calendar-clock system.
|
||||
seconds: URIRef # length of, or element of the length of, a temporal extent expressed in seconds
|
||||
week: URIRef # Week number within the year.
|
||||
weeks: URIRef # length of, or element of the length of, a temporal extent expressed in weeks
|
||||
year: URIRef # Year position in a calendar-clock system. The range of this property is not specified, so can be replaced by any specific representation of a calendar year from any calendar.
|
||||
years: URIRef # length of, or element of the length of, a temporal extent expressed in years
|
||||
|
||||
# http://www.w3.org/2002/07/owl#DeprecatedClass
|
||||
January: URIRef # January
|
||||
Year: URIRef # Year duration
|
||||
|
||||
# http://www.w3.org/2002/07/owl#DeprecatedProperty
|
||||
inXSDDateTime: URIRef # Position of an instant, expressed using xsd:dateTime
|
||||
xsdDateTime: URIRef # Value of DateTimeInterval expressed as a compact value.
|
||||
|
||||
# http://www.w3.org/2002/07/owl#FunctionalProperty
|
||||
hasTRS: URIRef # The temporal reference system used by a temporal position or extent description.
|
||||
|
||||
# http://www.w3.org/2002/07/owl#ObjectProperty
|
||||
after: URIRef # Gives directionality to time. If a temporal entity T1 is after another temporal entity T2, then the beginning of T1 is after the end of T2.
|
||||
dayOfWeek: (
|
||||
URIRef # The day of week, whose value is a member of the class time:DayOfWeek
|
||||
)
|
||||
hasBeginning: URIRef # Beginning of a temporal entity.
|
||||
hasDateTimeDescription: URIRef # Value of DateTimeInterval expressed as a structured value. The beginning and end of the interval coincide with the limits of the shortest element in the description.
|
||||
hasDuration: URIRef # Duration of a temporal entity, event or activity, or thing, expressed as a scaled value
|
||||
hasDurationDescription: URIRef # Duration of a temporal entity, expressed using a structured description
|
||||
hasEnd: URIRef # End of a temporal entity.
|
||||
hasTemporalDuration: URIRef # Duration of a temporal entity.
|
||||
hasTime: URIRef # Supports the association of a temporal entity (instant or interval) to any thing
|
||||
inDateTime: (
|
||||
URIRef # Position of an instant, expressed using a structured description
|
||||
)
|
||||
inTemporalPosition: URIRef # Position of a time instant
|
||||
inTimePosition: URIRef # Position of a time instant expressed as a TimePosition
|
||||
inside: URIRef # An instant that falls inside the interval. It is not intended to include beginnings and ends of intervals.
|
||||
intervalAfter: URIRef # If a proper interval T1 is intervalAfter another proper interval T2, then the beginning of T1 is after the end of T2.
|
||||
intervalBefore: URIRef # If a proper interval T1 is intervalBefore another proper interval T2, then the end of T1 is before the beginning of T2.
|
||||
intervalContains: URIRef # If a proper interval T1 is intervalContains another proper interval T2, then the beginning of T1 is before the beginning of T2, and the end of T1 is after the end of T2.
|
||||
intervalDisjoint: URIRef # If a proper interval T1 is intervalDisjoint another proper interval T2, then the beginning of T1 is after the end of T2, or the end of T1 is before the beginning of T2, i.e. the intervals do not overlap in any way, but their ordering relationship is not known.
|
||||
intervalDuring: URIRef # If a proper interval T1 is intervalDuring another proper interval T2, then the beginning of T1 is after the beginning of T2, and the end of T1 is before the end of T2.
|
||||
intervalEquals: URIRef # If a proper interval T1 is intervalEquals another proper interval T2, then the beginning of T1 is coincident with the beginning of T2, and the end of T1 is coincident with the end of T2.
|
||||
intervalFinishedBy: URIRef # If a proper interval T1 is intervalFinishedBy another proper interval T2, then the beginning of T1 is before the beginning of T2, and the end of T1 is coincident with the end of T2.
|
||||
intervalFinishes: URIRef # If a proper interval T1 is intervalFinishes another proper interval T2, then the beginning of T1 is after the beginning of T2, and the end of T1 is coincident with the end of T2.
|
||||
intervalIn: URIRef # If a proper interval T1 is intervalIn another proper interval T2, then the beginning of T1 is after the beginning of T2 or is coincident with the beginning of T2, and the end of T1 is before the end of T2, or is coincident with the end of T2, except that end of T1 may not be coincident with the end of T2 if the beginning of T1 is coincident with the beginning of T2.
|
||||
intervalMeets: URIRef # If a proper interval T1 is intervalMeets another proper interval T2, then the end of T1 is coincident with the beginning of T2.
|
||||
intervalMetBy: URIRef # If a proper interval T1 is intervalMetBy another proper interval T2, then the beginning of T1 is coincident with the end of T2.
|
||||
intervalOverlappedBy: URIRef # If a proper interval T1 is intervalOverlappedBy another proper interval T2, then the beginning of T1 is after the beginning of T2, the beginning of T1 is before the end of T2, and the end of T1 is after the end of T2.
|
||||
intervalOverlaps: URIRef # If a proper interval T1 is intervalOverlaps another proper interval T2, then the beginning of T1 is before the beginning of T2, the end of T1 is after the beginning of T2, and the end of T1 is before the end of T2.
|
||||
intervalStartedBy: URIRef # If a proper interval T1 is intervalStarted another proper interval T2, then the beginning of T1 is coincident with the beginning of T2, and the end of T1 is after the end of T2.
|
||||
intervalStarts: URIRef # If a proper interval T1 is intervalStarts another proper interval T2, then the beginning of T1 is coincident with the beginning of T2, and the end of T1 is before the end of T2.
|
||||
monthOfYear: URIRef # The month of the year, whose value is a member of the class time:MonthOfYear
|
||||
timeZone: URIRef # The time zone for clock elements in the temporal position
|
||||
unitType: URIRef # The temporal unit which provides the precision of a date-time value or scale of a temporal extent
|
||||
|
||||
# http://www.w3.org/2002/07/owl#TransitiveProperty
|
||||
before: URIRef # Gives directionality to time. If a temporal entity T1 is before another temporal entity T2, then the end of T1 is before the beginning of T2. Thus, "before" can be considered to be basic to instants and derived for intervals.
|
||||
|
||||
# http://www.w3.org/2006/time#DayOfWeek
|
||||
Friday: URIRef # Friday
|
||||
Monday: URIRef # Monday
|
||||
Saturday: URIRef # Saturday
|
||||
Sunday: URIRef # Sunday
|
||||
Thursday: URIRef # Thursday
|
||||
Tuesday: URIRef # Tuesday
|
||||
Wednesday: URIRef # Wednesday
|
||||
|
||||
# http://www.w3.org/2006/time#TemporalUnit
|
||||
unitDay: URIRef # day
|
||||
unitHour: URIRef # hour
|
||||
unitMinute: URIRef # minute
|
||||
unitMonth: URIRef # month
|
||||
unitSecond: URIRef # second
|
||||
unitWeek: URIRef # week
|
||||
unitYear: URIRef # year
|
||||
|
||||
_NS = Namespace("http://www.w3.org/2006/time#")
|
||||
@@ -0,0 +1,27 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
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
|
||||
|
||||
"""
|
||||
|
||||
_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.
|
||||
preferredNamespacePrefix: URIRef # The preferred namespace prefix to use when using terms from this vocabulary in an XML document.
|
||||
preferredNamespaceUri: URIRef # The preferred namespace URI to use when using terms from this vocabulary in an XML document.
|
||||
termGroup: URIRef # A group of related terms in a vocabulary.
|
||||
usageNote: URIRef # A reference to a resource that provides information on how this resource is to be used.
|
||||
|
||||
_NS = Namespace("http://purl.org/vocab/vann/")
|
||||
@@ -0,0 +1,65 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
class VOID(DefinedNamespace):
|
||||
"""
|
||||
Vocabulary of Interlinked Datasets (VoID)
|
||||
|
||||
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>.
|
||||
|
||||
Generated from: http://rdfs.org/ns/void#
|
||||
Date: 2020-05-26 14:20:11.911298
|
||||
|
||||
"""
|
||||
|
||||
_fail = True
|
||||
|
||||
# http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
|
||||
classPartition: URIRef # A subset of a void:Dataset that contains only the entities of a certain rdfs:Class.
|
||||
classes: URIRef # The total number of distinct classes in a void:Dataset. In other words, the number of distinct resources occurring as objects of rdf:type triples in the dataset.
|
||||
dataDump: URIRef # An RDF dump, partial or complete, of a void:Dataset.
|
||||
distinctObjects: URIRef # 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.
|
||||
distinctSubjects: URIRef # 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.
|
||||
documents: URIRef # 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.
|
||||
entities: (
|
||||
URIRef # The total number of entities that are described in a void:Dataset.
|
||||
)
|
||||
exampleResource: URIRef # example resource of dataset
|
||||
feature: URIRef # feature
|
||||
inDataset: URIRef # Points to the void:Dataset that a document is a part of.
|
||||
linkPredicate: URIRef # a link predicate
|
||||
objectsTarget: URIRef # The dataset describing the objects of the triples contained in the Linkset.
|
||||
openSearchDescription: URIRef # An OpenSearch description document for a free-text search service over a void:Dataset.
|
||||
properties: URIRef # 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.
|
||||
property: URIRef # The rdf:Property that is the predicate of all triples in a property-based partition.
|
||||
propertyPartition: URIRef # A subset of a void:Dataset that contains only the triples of a certain rdf:Property.
|
||||
rootResource: URIRef # 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.
|
||||
sparqlEndpoint: URIRef # has a SPARQL endpoint at
|
||||
subjectsTarget: URIRef # The dataset describing the subjects of triples contained in the Linkset.
|
||||
subset: URIRef # has subset
|
||||
target: URIRef # One of the two datasets linked by the Linkset.
|
||||
triples: URIRef # The total number of triples contained in a void:Dataset.
|
||||
uriLookupEndpoint: (
|
||||
URIRef # Defines a simple URI look-up protocol for accessing a dataset.
|
||||
)
|
||||
uriRegexPattern: (
|
||||
URIRef # Defines a regular expression pattern matching URIs in the dataset.
|
||||
)
|
||||
uriSpace: URIRef # A URI that is a common string prefix of all the entity URIs in a void:Dataset.
|
||||
vocabulary: URIRef # A vocabulary that is used in the dataset.
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Class
|
||||
Dataset: URIRef # A set of RDF triples that are published, maintained or aggregated by a single provider.
|
||||
DatasetDescription: URIRef # A web resource whose foaf:primaryTopic or foaf:topics include void:Datasets.
|
||||
Linkset: URIRef # A collection of RDF links between two void:Datasets.
|
||||
TechnicalFeature: URIRef # A technical feature of a void:Dataset, such as a supported RDF serialization format.
|
||||
|
||||
# Valid non-python identifiers
|
||||
_extras = ["class"]
|
||||
|
||||
_NS = Namespace("http://rdfs.org/ns/void#")
|
||||
@@ -0,0 +1,25 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
class WGS(DefinedNamespace):
|
||||
"""
|
||||
Basic Geo (WGS84 lat/long) Vocabulary
|
||||
|
||||
The HTML Specification for the vocabulary can be found
|
||||
here <https://www.w3.org/2003/01/geo/>.
|
||||
"""
|
||||
|
||||
_NS = Namespace("https://www.w3.org/2003/01/geo/wgs84_pos#")
|
||||
|
||||
# http://www.w3.org/2000/01/rdf-schema#Class
|
||||
SpatialThing: URIRef
|
||||
Point: URIRef
|
||||
|
||||
# http://www.w3.org/2002/07/owl#DatatypeProperty
|
||||
alt: URIRef
|
||||
|
||||
lat: URIRef # http://www.w3.org/2003/01/geo/wgs84_pos#lat
|
||||
lat_long: URIRef
|
||||
location: URIRef
|
||||
long: URIRef
|
||||
@@ -0,0 +1,103 @@
|
||||
from rdflib.namespace import DefinedNamespace, Namespace
|
||||
from rdflib.term import URIRef
|
||||
|
||||
|
||||
class XSD(DefinedNamespace):
|
||||
"""
|
||||
W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes
|
||||
|
||||
Generated from: ../schemas/datatypes.xsd
|
||||
Date: 2021-09-05 20:37+10
|
||||
|
||||
"""
|
||||
|
||||
_NS = Namespace("http://www.w3.org/2001/XMLSchema#")
|
||||
|
||||
ENTITIES: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#ENTITIES
|
||||
ENTITY: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#ENTITY
|
||||
ID: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#ID
|
||||
IDREF: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#IDREF
|
||||
IDREFS: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#IDREFS
|
||||
NCName: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#NCName
|
||||
NMTOKEN: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#NMTOKEN
|
||||
NMTOKENS: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#NMTOKENS
|
||||
NOTATION: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#NOTATIONNOTATION cannot be used directly in a schema; rather a type
|
||||
Name: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#Name
|
||||
QName: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#QName
|
||||
anyURI: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#anyURI
|
||||
base64Binary: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#base64Binary
|
||||
boolean: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#boolean
|
||||
byte: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#byte
|
||||
date: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#date
|
||||
dateTime: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#dateTime
|
||||
dateTimeStamp: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#dateTimeStamp
|
||||
dayTimeDuration: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#dayTimeDuration
|
||||
decimal: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#decimal
|
||||
double: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#double
|
||||
duration: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#duration
|
||||
float: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#float
|
||||
gDay: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#gDay
|
||||
gMonth: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#gMonth
|
||||
gMonthDay: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#gMonthDay
|
||||
gYear: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#gYear
|
||||
gYearMonth: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#gYearMonth
|
||||
hexBinary: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#binary
|
||||
int: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#int
|
||||
integer: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#integer
|
||||
language: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#language
|
||||
long: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#long
|
||||
negativeInteger: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#negativeInteger
|
||||
nonNegativeInteger: (
|
||||
URIRef # see: http://www.w3.org/TR/xmlschema11-2/#nonNegativeInteger
|
||||
)
|
||||
nonPositiveInteger: (
|
||||
URIRef # see: http://www.w3.org/TR/xmlschema11-2/#nonPositiveInteger
|
||||
)
|
||||
normalizedString: (
|
||||
URIRef # see: http://www.w3.org/TR/xmlschema11-2/#normalizedString
|
||||
)
|
||||
positiveInteger: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#positiveInteger
|
||||
short: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#short
|
||||
string: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#string
|
||||
time: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#time
|
||||
token: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#token
|
||||
unsignedByte: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#unsignedByte
|
||||
unsignedInt: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#unsignedInt
|
||||
unsignedLong: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#unsignedLong
|
||||
unsignedShort: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#unsignedShort
|
||||
yearMonthDuration: (
|
||||
URIRef # see: http://www.w3.org/TR/xmlschema11-2/#yearMonthDuration
|
||||
)
|
||||
|
||||
# fundamental facets - https://www.w3.org/TR/xmlschema11-2/#rf-fund-facets
|
||||
ordered: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#rf-ordered
|
||||
bounded: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#rf-bounded
|
||||
cardinality: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#rf-cardinality
|
||||
numeric: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#rf-numeric
|
||||
|
||||
# constraining facets - https://www.w3.org/TR/xmlschema11-2/#rf-facets
|
||||
length: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#rf-length
|
||||
minLength: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#rf-minLength
|
||||
maxLength: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#rf-maxLength
|
||||
pattern: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#rf-pattern
|
||||
enumeration: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#rf-enumeration
|
||||
whiteSpace: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#rf-whiteSpace
|
||||
maxExclusive: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#rf-maxExclusive
|
||||
maxInclusive: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#rf-maxInclusive
|
||||
minExclusive: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#rf-minExclusive
|
||||
minInclusive: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#rf-minInclusive
|
||||
totalDigits: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#rf-totalDigits
|
||||
fractionDigits: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#rf-fractionDigits
|
||||
Assertions: URIRef # see: https://www.w3.org/TR/xmlschema11-2/#rf-assertions
|
||||
explicitTimezone: (
|
||||
URIRef # see: http://www.w3.org/TR/xmlschema11-2/#rf-explicitTimezone
|
||||
)
|
||||
|
||||
# The Seven-property Model - https://www.w3.org/TR/xmlschema11-2/#theSevenPropertyModel
|
||||
year: URIRef # see: https://www.w3.org/TR/xmlschema11-2/#vp-dt-http://www.w3.org/TR/xmlschema11-2/#rf-whiteSpace
|
||||
month: URIRef # see: https://www.w3.org/TR/xmlschema11-2/#vp-dt-month
|
||||
day: URIRef # see: https://www.w3.org/TR/xmlschema11-2/#vp-dt-day
|
||||
hour: URIRef # see: https://www.w3.org/TR/xmlschema11-2/#vp-dt-hour
|
||||
minute: URIRef # see: https://www.w3.org/TR/xmlschema11-2/#vp-dt-minute
|
||||
second: URIRef # see: https://www.w3.org/TR/xmlschema11-2/#vp-dt-second
|
||||
timezoneOffset: URIRef # see: https://www.w3.org/TR/xmlschema11-2/#vp-dt-timezone
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user