Config vocabulary¶
Namespace: https://datatreehouse.github.io/fastrdf/config#
This page documents the classes and properties of the config graph, which holds the
configuration of a model as triples. The config graph describes how
they are used; this page is the dereferenceable home of the terms: each has an HTML
anchor that is its IRI fragment, so a URL like
https://datatreehouse.github.io/fastrdf/config#Virtualization resolves directly to its documentation.
The functions, predicates and other terms of fastrdf itself, fastrdf:, are in the
vocabulary.
The examples assume the prefix:
PREFIX mcfg: <https://datatreehouse.github.io/fastrdf/config#>
A machine-readable version of this vocabulary is available as Turtle:
config.ttl.
The graph¶
mcfg:ConfigGraph¶
The named graph that holds the configuration of a model. It is fastrdf.config.CONFIG_GRAPH in Python. See The config graph.
IRI |
|
Kind |
Named graph |
Virtualizations¶
A virtualized database, its connection and its resources. See Virtualizations.
<urn:fastrdf:config:virtualization:plant> a mcfg:Virtualization, mcfg:SnowflakeDatabase ;
rdfs:label "Plant historian" ;
mcfg:parameter [ mcfg:key "account" ; mcfg:value "acme" ] ;
mcfg:secret [ mcfg:key "password" ; mcfg:environmentVariable "SNOWFLAKE_PASSWORD" ] ;
mcfg:resource [ mcfg:resourceName "readings" ; mcfg:sql "SELECT id, timestamp, value FROM readings" ] .
mcfg:Virtualization¶
A virtualized database of the model. Every virtualized database has this type, and the type of its kind of database.
IRI |
|
Kind |
Class |
mcfg:Resource¶
A resource of a virtualized database: the data behind the nodes that have its name as their fastrdf:hasResource.
IRI |
|
Kind |
Class |
mcfg:enabled¶
Whether it is in use. apply_config skips a virtualization that is not enabled, and the query cache is off when it is not enabled.
IRI |
|
Kind |
Datatype property |
Subject |
A |
Object |
|
mcfg:sqlDialect¶
The SQL dialect of the database: "duckdb", "postgres", "snowflake", "bigquery" or "databricks".
IRI |
|
Kind |
Datatype property |
Subject |
A |
Object |
|
mcfg:parameter¶
A connection parameter of the database, with mcfg:key and mcfg:value.
IRI |
|
Kind |
Object property |
Subject |
A |
Object |
A node with a key and a value |
mcfg:secret¶
A secret connection parameter of the database, with mcfg:key and mcfg:environmentVariable. The secret itself is never in the graph.
IRI |
|
Kind |
Object property |
Subject |
A |
Object |
A node with a key and an environment variable |
mcfg:key¶
The name of a parameter, a secret or an option.
IRI |
|
Kind |
Datatype property |
Subject |
A parameter, a secret or an option |
Object |
|
mcfg:value¶
The value of a parameter or an option.
IRI |
|
Kind |
Datatype property |
Subject |
A parameter or an option |
Object |
|
mcfg:environmentVariable¶
The name of the environment variable that holds a secret.
IRI |
|
Kind |
Datatype property |
Subject |
A secret |
Object |
|
mcfg:resource¶
A resource of the database.
IRI |
|
Kind |
Object property |
Subject |
A |
Object |
A |
mcfg:resourceName¶
The name of the resource: the value of fastrdf:hasResource on the nodes it virtualizes.
IRI |
|
Kind |
Datatype property |
Subject |
A |
Object |
|
mcfg:sql¶
The query that gives the rows of the resource, with columns named as the parameters of its template.
IRI |
|
Kind |
Datatype property |
Subject |
A |
Object |
|
mcfg:template¶
The template of the resource, one that the model already has. Used instead of mcfg:templateDocument.
IRI |
|
Kind |
Object property |
Subject |
A |
Object |
The IRI of a template |
mcfg:templateDocument¶
The template of the resource, as a stOTTR document.
IRI |
|
Kind |
Datatype property |
Subject |
A |
Object |
|
mcfg:option¶
A setting of the resource, with mcfg:key and mcfg:value.
IRI |
|
Kind |
Object property |
Subject |
A |
Object |
A node with a key and a value |
mcfg:property¶
A static property of the nodes that the resource virtualizes, e.g. a unit, with mcfg:predicate and mcfg:object. See Static properties of resources.
IRI |
|
Kind |
Object property |
Subject |
A |
Object |
A node with a predicate and an object |
mcfg:predicate¶
The predicate of a static property.
IRI |
|
Kind |
Object property |
Subject |
A static property |
Object |
An IRI |
mcfg:object¶
The object of a static property.
IRI |
|
Kind |
Property |
Subject |
A static property |
Object |
An IRI or a literal |
Kinds of database¶
The type that a mcfg:Virtualization has besides mcfg:Virtualization. See Classes and Parameters per database.
mcfg:SQLDatabase¶
A virtualized database: any SQL database that SQLAlchemy can reach, with its dialect in mcfg:sqlDialect. Built with fastrdf.config.SQLAlchemyDatabase.
IRI |
|
Kind |
Class |
mcfg:DuckDBDatabase¶
A virtualized database: DuckDB. Built with fastrdf.virtualization.DuckDBDatabase.
IRI |
|
Kind |
Class |
mcfg:SnowflakeDatabase¶
A virtualized database: Snowflake. Built with fastrdf.virtualization.SnowflakeDatabase.
IRI |
|
Kind |
Class |
mcfg:BigQueryDatabase¶
A virtualized database: BigQuery. Built with fastrdf.virtualization.BigQueryDatabase.
IRI |
|
Kind |
Class |
mcfg:DatabricksDatabase¶
A virtualized database: a Databricks SQL warehouse. Built with fastrdf.virtualization.DatabricksDatabase.
IRI |
|
Kind |
Class |
mcfg:TimescaleDatabase¶
A virtualized database: TimescaleDB. Built with fastrdf.virtualization.TimescaleDatabase.
IRI |
|
Kind |
Class |
mcfg:FabricLakehouseDatabase¶
A virtualized database: a Microsoft Fabric Lakehouse, with its Delta tables read from OneLake. Built with fastrdf.virtualization.FabricLakehouseDatabase.
IRI |
|
Kind |
Class |
mcfg:FabricDatabase¶
A virtualized database: a Microsoft Fabric Warehouse, or the SQL analytics endpoint of a Lakehouse. Built with fastrdf.virtualization.FabricDatabase.
IRI |
|
Kind |
Class |
mcfg:KustoDatabase¶
A virtualized database: Azure Data Explorer, or the KQL database of a Microsoft Fabric Eventhouse. Built with fastrdf.virtualization.KustoDatabase.
IRI |
|
Kind |
Class |
mcfg:InfluxDBDatabase¶
A virtualized database: InfluxDB 3. Built with fastrdf.virtualization.InfluxDBDatabase.
IRI |
|
Kind |
Class |
mcfg:InfluxDB2Database¶
A virtualized database: InfluxDB 2, InfluxDB Cloud (TSM) or InfluxDB 1.8. Built with fastrdf.virtualization.InfluxDB2Database.
IRI |
|
Kind |
Class |
mcfg:OPCUADatabase¶
A virtualized database: an OPC UA server with Historical Access. Built with fastrdf.opcua.OPCUAHistoryDatabase.
IRI |
|
Kind |
Class |
mcfg:CogniteDatabase¶
A virtualized database: the time series of Cognite Data Fusion. Built with VirtualizedDatabase.Cognite.
IRI |
|
Kind |
Class |
mcfg:OSIPIDatabase¶
A virtualized database: OSIsoft (AVEVA) PI with its Asset Framework, through the PI Web API. Built with Model.map_osipi.
IRI |
|
Kind |
Class |
mcfg:PIPointsDatabase¶
A virtualized database: the points of an OSIsoft (AVEVA) PI Data Archive, through the PI Web API. Built with Model.map_pi_points.
IRI |
|
Kind |
Class |
mcfg:IP21Database¶
A virtualized database: AspenTech InfoPlus.21, through the aspenONE Process Data REST API. Built with fastrdf.ip21.map_ip21.
IRI |
|
Kind |
Class |
mcfg:InsightsHubDatabase¶
A virtualized database: Siemens Insights Hub. Built with Model.map_insights_hub.
IRI |
|
Kind |
Class |
Indexing options¶
The indexes of the model, as IndexingOptions has them. See Indexing.
mcfg:Indexing¶
The indexes of the model.
IRI |
|
Kind |
Class |
mcfg:indexing¶
The node that holds the indexing of the model, a mcfg:Indexing.
IRI |
|
Kind |
Individual |
mcfg:fts¶
Whether the model has a full text search index. fts of IndexingOptions.
IRI |
|
Kind |
Datatype property |
Subject |
A |
Object |
|
mcfg:geo¶
Whether the model has a geospatial index. geo of IndexingOptions.
IRI |
|
Kind |
Datatype property |
Subject |
A |
Object |
|
mcfg:objectIndexAll¶
Whether all suitable predicates are indexed by object, which takes about twice the memory. object_sort_all of IndexingOptions.
IRI |
|
Kind |
Datatype property |
Subject |
A |
Object |
|
mcfg:objectIndexPredicate¶
A predicate that is indexed by object. Any number. object_sort_some of IndexingOptions.
IRI |
|
Kind |
Object property |
Subject |
A |
Object |
The IRI of a predicate |
Query cache¶
The cache of query results, as QueryCacheOptions has it. It also takes mcfg:enabled. See Query cache.
mcfg:QueryCache¶
The query result cache of the model.
IRI |
|
Kind |
Class |
mcfg:queryCache¶
The node that holds the query cache of the model, a mcfg:QueryCache.
IRI |
|
Kind |
Individual |
mcfg:maxEntries¶
The most results kept. max_entries of QueryCacheOptions.
IRI |
|
Kind |
Datatype property |
Subject |
A |
Object |
|
mcfg:maxBytes¶
The most bytes of results kept. max_bytes of QueryCacheOptions.
IRI |
|
Kind |
Datatype property |
Subject |
A |
Object |
|
mcfg:maxEntryBytes¶
The most bytes of one result that is kept. max_entry_bytes of QueryCacheOptions.
IRI |
|
Kind |
Datatype property |
Subject |
A |
Object |
|
mcfg:ttl¶
The seconds that a result is kept; none for no limit. ttl of QueryCacheOptions.
IRI |
|
Kind |
Datatype property |
Subject |
A |
Object |
|
mcfg:minRunTime¶
The seconds that a query must run for its result to be kept. min_run_time of QueryCacheOptions.
IRI |
|
Kind |
Datatype property |
Subject |
A |
Object |
|
mcfg:cacheVirtualized¶
Whether the results of queries over virtualized data are kept. cache_virtualized of QueryCacheOptions.
IRI |
|
Kind |
Datatype property |
Subject |
A |
Object |
|
Common questions¶
Saved SPARQL queries that answer common questions about a model. See Common questions.
mcfg:CommonQuestion¶
A common question. It also has the type of its query form, a SHACL-AF executable such as sh:SPARQLSelectExecutable, or mcfg:SPARQLDescribeExecutable.
IRI |
|
Kind |
Class |
mcfg:SPARQLDescribeExecutable¶
A DESCRIBE query, with the query in mcfg:describe. A subclass of sh:SPARQLExecutable, as SHACL-AF has no class for DESCRIBE queries.
IRI |
|
Kind |
Class |
mcfg:describe¶
The DESCRIBE query of a mcfg:SPARQLDescribeExecutable.
IRI |
|
Kind |
Datatype property |
Subject |
A |
Object |
|
mcfg:appliesTo¶
The vocabulary of the data that the question is about, as the IRI of its namespace; none for a question about any data.
IRI |
|
Kind |
Object property |
Subject |
A |
Object |
The IRI of a namespace |
mcfg:bundled¶
Whether the question is one of those that fastrdf ships.
IRI |
|
Kind |
Datatype property |
Subject |
A |
Object |
|
Prefix declarations¶
The prefixes of the model, as SHACL prefix declarations. See Prefixes.
mcfg:prefixes¶
The owl:Ontology that declares the prefixes of the model with sh:declare.
IRI |
|
Kind |
Individual |
mcfg:generated¶
Whether the prefix was made by generate_prefixes, not by a person.
IRI |
|
Kind |
Datatype property |
Subject |
A |
Object |
|
Notes for maintainers¶
This page is generated. The terms are listed in
docs/site/config_terms.py, andpython docs/site/vocab.pywrites this page andconfig.ttlfrom them. Add every new term of the vocabulary there.python docs/site/vocab.py --check, which the website workflow runs, fails when the sources use a term of the vocabulary that is not listed.Anchors are exact. Each term has an
<a id="…">with the fragment of its IRI, case-sensitively. Sphinx lowercases the anchors of headings, which would break#Virtualization.Machine-readable RDF.
config.ttldescribes the vocabulary in Turtle. GitHub Pages can not do content negotiation, soAccept-based dereferencing (HTML for browsers, Turtle for tools) would need a small server or aw3id.org-style redirect; the.ttllink is the static-hosting fallback.