Test-Driven Data Debugging Ontology
This ontology is licensed under Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) and CC-BY (http://creativecommons.org/licenses/by/3.0/)
Dimitris Kontokostas
Jens Lehmann
Patrick Westphal
Roland Cornelissen
Sebastian Hellmann
Sören Auer
The RDFUnit ontology describes concepts used in RDFUnit, a test driven data-debugging framework that can run automatically generated (based on a schema) and manually generated test cases against an endpoint.
Pattern
sparqlWherePattern
The WHERE part of sparql pattern query with placeholders (%%XYZ%%) for parameters
sparqlPrevalencePattern
A pattern sparql prevalence query, reuses the pattern parameters, maybe not all of them. The prevalence query may be empty
parameter
links a Pattern with a list of pattern parameters
Parameter
parameterConstraint
constraintPattern
ParameterConstraint
TestGenerator
sparqlGenerator
A SPARQL query used to instantiate test cases based on patterns
basedOnPattern
basedOnPattern contains the Data Quality Test Pattern that is instantiated in the described Test.
TestCase
A superclass of TestCases. Defines properties all test cases can have but concrete implementation occurs on subclasses.
appliesTo
applies to describes the ontology used for terms in the Test.
generated
generated specifies the way the test was constructed.
references
references specifies the Classes and Properties involved in the described test case.
source
source is a URI that points to a general Source, which can be a schema, a dataset or an application
testCaseLogLevel
the rlog:Level this case is associated with.
PatternBasedTestCase
A test case that is based on a Pattern
binding
defines a binding between a pattern parameter and a value
Binding
A binding between a pattern parameter and a value
bindingValue
the value of a Binding
ManualTestCase
A test case where the SPARQL is defined manually
sparqlWhere
The WHERE part of a SPARQL query. Must be enclosed in brackets {} and use the following variables: ?resource, ?message. ?resource is URI the constraint violation occurs in and ?message is a logging message.
sparqlPrevalence
A SPARQL query for prevalence
TestGenerationType
TestAppliesTo
TestSuite
A list of test cases. Use prov:hadMember for test case listing
testSuite
links an ontology to TestSuite for validating data adhering to that ontology
TestCaseDependency
defines a dependency between two test cases
dependencyFrom
the test case we depends upon
dependencyTo
the test case that depends on another test case
dependencyCondition
the rut:ResultStatus of the dependencyFrom result condition that triggers this dependency
dependencyExecute
'true' executes the dependecnyTo TestCase while false does not
TestExecution
Holds the results of a TestSuite execution against a dataset
testsRun
Total tests run in a TestExecution
testsSucceeded
Total tests that succedded in a TestExecution
testsFailed
Total tests that failed in a TestExecution
testsTimeout
Total tests that timeout in a TestExecution
testsError
Total tests that raised an error in a TestExecution
TestCaseResult
A class that holds a single result of a test execution. Each test case links to the TestCase (rut:testCase) it was originated from and a TestExecution (prov:wasGeneratedBy)
testCase
StatusTestCaseResult
A class that holds the status of a single test execution
resultStatus
holds the result type. One of Success, Fail, Timeout, Error
ResultStatus
TestCaseResult type
AggregatedTestCaseResult
A class that holds the aggregated results of a single test execution
resultCount
The error results of a test execution. -1 means there was a timeout and -2 an error.
resultPrevalence
The prevalence result of a test execution. -1 means there was a timeout and -2 an error.
RLOGTestCaseResult
ExtendedTestCaseResult
errorPropertyContext
Here we attach properties from the resource to provide the error context (i.e. the death date when the error is in the birth date).
errorClassification
This property is used to annotate an error with a classification. This classification is meant to be of higher level
errorSource
With this property we point to the error source (if known beforehand)
errorType
We denote the exact problem of the error
ResultAnnotation
Used to further annotate an ExtendedTestCaseResult.
annotationProperty
annotationValue
resultAnnotation
None
The parameter can be anything, even a free variable (?var)
Operator
The parameter can be an operator.
Resource
The pattern can be a resource.
Property
The parameter is restricted to a property.
Class
The parameter is restricted to a Class.
Schema
Dataset
Dataset: When the tests applies to a dataset only (i.e. a SPARQL Endpoint)
EnrichedSchema
EnrichedSchema: When the tests applies to an ontology / vocabulary enriched with external (semi-)automatic approaches
Application
Application: When the tests are specific to an application only
ManuallyGenerated
ManuallyGenerated: This test was created manually
AutoGenerated
AutoGenerated: This test was created automatically
ResultStatusSuccess
ResultStatusFail
ResultStatusTimeout
ResultStatusError