# RDF Vocabulary document for Rational Data Collection Service
# Licensed Materials (See http://jazz.net/ns/license.html) - Property of IBM.
# Copyright IBM Corporation 2012,2013. All Rights Reserved.
# U.S. Government Users Restricted Rights: Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
@prefix dcterms: .
@prefix owl: .
@prefix rdf: .
@prefix rdfs: .
@prefix ldp: .
@prefix dcs: .
# the vocabulary
dcs:
a owl:Ontology ;
dcterms:title "Rational Data Collection Service vocabulary" ;
dcterms:description """Data Collection Service.
The Rational Data Collection Service vocabulary terms, an extension to the R2RML vocabulary for the purpose of mapping xml and RDF data to relational data.""" ;
rdfs:label "Data Collection Service" ;
# dcterms:source ;
dcterms:license ;
dcterms:dateCopyrighted "2013,2014" .
# classes
dcs:BaseResourceGroup
a rdfs:Class ;
rdfs:isDefinedBy dcs: ;
rdfs:label "BaseResourceGroup" ;
rdfs:comment """A BaseResourceGroup refers to a specific class or type of source that can provide a set of web resources. For example RTC would constitute a base resource group .""" .
dcs:MapGroup
a rdfs:Class ;
rdfs:isDefinedBy dcs: ;
rdfs:label "MapGroup" ;
rdfs:comment """A MapGroup refers to a set of ODSTableMap,FactTableMap or DimensionTableMap instances mapping specifications grouped together with the intent to process the data as one unit of collection cycle.
For example we could define a MapGroup called RTC Workitem that groups together all of the ODSTableMap mapping specifications for collecting work item data from RTC. """ .
dcs:ODSTableMap
a rdfs:Class ;
rdfs:isDefinedBy dcs: ;
rdfs:label "ODSTableMap" ;
rdfs:comment """An ODSTableMap contains information about one or more resources to collect data from to eventually store in a Operational Data Store (ODS) database table.
It contains the information regarding the source data, what to extract, how to transform and in which column to store the information for the selected resources.""".
dcs:DimensionTableMap
a rdfs:Class ;
rdfs:isDefinedBy dcs: ;
rdfs:label "DimensionTableMap" ;
rdfs:comment """A DimensionTableMap contains information about one or more resources to collect data from to eventually store in a data mart dimension database table.
It contains the information regarding the source data, what to extract, how to transform and in which column to store the information for the selected resources.""".
dcs:FactTableMap
a rdfs:Class ;
rdfs:isDefinedBy dcs: ;
rdfs:label "FactTableMap" ;
rdfs:comment """A FactTableMap contains information about one or more resources to collect data from to eventually store in a data mart fact database table.
It contains the information regarding the source data, what to extract, how to transform and in which column to store the information for the selected resources.""".
dcs:TableInfo
a rdfs:Class ;
rdfs:isDefinedBy dcs: ;
rdfs:label "TableInfo" ;
rdfs:comment """A TableInfo refers to a database table specification.
It contains physical table meta data in the database.""".
# Properties
dcs:dbTransform
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "dbTransform" ;
rdfs:comment "Specifies in an map the transformation a value is suppose to undergo before being stored into the target table and column." ;
rdfs:domain dcs:dbTransform .
dcs:defaultSyntax
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "defaultSyntax" ;
rdfs:comment "Specifies the default value, action, transformation, sql statement in a mapping." ;
rdfs:domain dcs:defaultSyntax .
dcs:oracleSyntax
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "oracleSyntax" ;
rdfs:comment "Specifies a value, action, transformation, sql statement in a mapping specific to Oracle" ;
rdfs:domain dcs:oracleSyntax .
dcs:sqlServerSyntax
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "sqlServerSyntax" ;
rdfs:comment "Specifies a value, action, transformation, sql statement in a mapping specific to SQLServer" ;
rdfs:domain dcs:sqlServerSyntax .
dcs:baseXPath
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "baseXPath" ;
rdfs:comment "This represents the root XML path of the REST service XML document that is returned." ;
rdfs:domain dcs:baseXPath .
dcs:xPath
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "xPath" ;
rdfs:comment "Excluding the root XPath of a particular XML document, this represents the XML path of an element in an XML document. The root XML path (baseXPath) is prepended eventually to this path at runtime to get the entire XML path of an element." ;
rdfs:domain dcs:xPath .
dcs:column
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "column" ;
rdfs:comment "Column name of a database table. Used in the mapping specification to indicate which column an XML attribute of a particular XML resource is being mapped to. In the case of the database DDL specification, it simply indicates the name of a column in a particular table." ;
rdfs:domain dcs:column .
dcs:deliveryKey
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "deliveryKey" ;
rdfs:comment "This represents the column(s) to use during the data collection when delivering data to a table, to identify if a particular record exists or not in the target table. Essentially the natural key of a record." ;
rdfs:domain dcs:deliveryKey .
dcs:deliveryType
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "deliveryType" ;
rdfs:comment "Defines how to handle the data delivery to the target database, i.e. update records, append to the table etc." ;
rdfs:domain dcs:deliveryType .
dcs:dependency
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "dependency" ;
rdfs:comment "Identifies a dependency between two map groups. This information is used to determine the data dependencies that exist between two map groups. This information can be used to determine a map group processing order." ;
rdfs:domain dcs:dependency .
dcs:enabled
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "enabled" ;
rdfs:comment "Specifies whether a specific map group is enabled for collection when the collection jobs runs. Valid values are true or false" ;
rdfs:domain dcs:enabled .
dcs:filter
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "filter" ;
rdfs:comment "Specifies filter criteria either for incoming data or data being stored in the target table." ;
rdfs:domain dcs:filter .
dcs:filterAction
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "filterAction" ;
rdfs:comment "Within a filter specification, specifies if the filter is to include the data meeting the criteria or exclude the data meeting the criteria." ;
rdfs:domain dcs:filterAction .
dcs:filterType
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "filterType" ;
rdfs:comment "Specifies whether the filtering applies to the incoming data or to the data being stored to a target table." ;
rdfs:domain dcs:filterType .
dcs:filterValue
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "filterValue" ;
rdfs:comment "The filter criteria to apply to the data" ;
rdfs:domain dcs:filterValue .
dcs:linkDeletion
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "linkDeletion" ;
rdfs:comment "" ;
rdfs:domain dcs:linkDeletion .
dcs:localTransform
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "localTransform" ;
rdfs:comment "Specifies the invocation of a DCS function to transform data. Local implies the function is an implementation in DCS and the data is transformed in the DCS engine." ;
rdfs:domain dcs:localTransform .
dcs:lookupCondition
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "lookupCondition" ;
rdfs:comment "In a mapping specification that defines a lookup, this property specifies a logical operator to use when specifying to lookup data in a target table. Limited to AND and OR." ;
rdfs:domain dcs:lookupCondition .
dcs:lookupKey
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "lookupKey" ;
rdfs:comment "In a mapping specification that defines a lookup, this property specifies what constitutes the key column(s) to use to compare values in a table in order to find a matching record stored in another table." ;
rdfs:domain dcs:lookupKey .
dcs:lookupNotMatch
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "lookupNotMatch" ;
rdfs:comment "In a mapping specification that defines a lookup, this property specifies how to handle the case when a record match is not found." ;
rdfs:domain dcs:lookupNotMatch .
dcs:name
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "name" ;
rdfs:comment "Logical name of an XML attribute in the mapping definition. The name could be identical to the actual xml attribute name or different." ;
rdfs:domain dcs:name .
dcs:needLock
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "needLock" ;
rdfs:comment "" ;
rdfs:domain dcs:needLock .
dcs:predicateColumnLookup
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "predicateColumnLookup" ;
rdfs:comment "In a lookup specification, identifies which predicate and parent table column name to use as a key to match records." ;
rdfs:domain dcs:predicateColumnLookup .
dcs:predicateName
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "predicateName" ;
rdfs:comment "In a lookup specification, identifies the predicate name used as a key to match records." ;
rdfs:domain dcs:predicateName .
dcs:relativeURL
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "relativeURL" ;
rdfs:comment "Relative URL to the REST service server URL to use to retrieve the actual XML data for a particular resource" ;
rdfs:domain dcs:relativeURL .
dcs:resourceInfo
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "resourceInfo" ;
rdfs:comment "Provides information regarding XML resources, or database resources. Information provided include the base resource group, the relative URL and the X path in the case of an XML based resource or an SQL query in the case of a database resource." ;
rdfs:domain dcs:resourceInfo .
dcs:schemaName
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "schemaName" ;
rdfs:comment "Identifies the table schema of the table in the target database specified in the mapping." ;
rdfs:domain dcs:schemaName .
dcs:surrogateKey
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "surrogateKey" ;
rdfs:comment "Specifies which column in the target table acts as the surrogate key for the table for which DCS needs to generate a value." ;
rdfs:domain dcs:surrogateKey .
dcs:tableInfo
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "tableInfo" ;
rdfs:comment "Used in the specification to enclose information regarding a physical table in the target database." ;
rdfs:domain dcs:tableInfo .
dcs:tableName
a rdf:Property ;
rdfs:isDefinedBy dcs: ;
rdfs:label "tableName" ;
rdfs:comment "Identifies the tables physical name in the mapping specification." ;
rdfs:domain dcs:tableName .