STC - Simple Test Case Ontology

IRI:
http://persistence.uni-leipzig.org/nlp2rdf/ontologies/stc#
Version IRI:
http://persistence.uni-leipzig.org/nlp2rdf/ontologies/testcase/stc.ttl
Current version:
1.0.0
Authors:
Sebastian Hellmann, Dimitris Kontokostas
Contributors:
TODO
Publisher:
AKSW, University Leipzig
Other visualisation:
Ontology source

Abstract

This is a helper ontology for NIF 2.0 to be able to write SPARQL based test cases for RDF. It applies to other RDF projects as well.

Table of Content

  1. Introduction
  2. Classes
  3. Object Properties
  4. Data Properties
  5. Annotation Properties
  6. Namespace Declarations

Introduction

The main use case of this ontology is to relate a SPARQL query to one or more vocabulary URIs from the NIF 2.0 Core Ontology and then produce helpful log and debug output, if executed on a NIF model. This is done by creating a test suite and test cases.

Hey, why don't you look at the test suite for NIF 2.0:

TODO add link

For detailed information about license, persistence and versioning, please look at versioning spec: http://persistence.uni-leipzig.org/nlp2rdf/specification/version.html

In short, we use http://semver.org, provide previous versions on GitHub https://github.com/NLP2RDF/ontologies and there are Maven repos: http://maven.aksw.org/archiva/browse/org.nlp2rdf.ontologies/persistence.uni-leipzig.org

Changelog:

* 0.0.0 - this ontology is not versionend

* 1.0.0 - there is an implementation using it

Classes

Test Casec back to ToC or Class ToC

IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/stc#SimpleSparqlTestCase

A test case, which has a SPARQL query attached to it as a simple string via the stc:sparql property.

is in domain of
SPARQL querydp
is in range of
caseop

Test Casec back to ToC or Class ToC

IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/stc#SimpleTestCase

A simple test case

Test suitec back to ToC or Class ToC

IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/stc#TestSuite

An unordered collection of test cases. Use dcterms:hasVersion for versioning on this resource.

is in domain of
SPARQL prefixesdp, caseop

Object Properties

caseop back to ToC or Object Property ToC

IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/stc#case

Make a suite and connect it to the cases via this property.

has domain
Test suitec
has range
Test Casec

Data Properties

SPARQL prefixesdp back to ToC or Data Property ToC

IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/stc#sparqlPrefix

several prefixes in sparql syntax attached to the suite.

has domain
Test suitec

SPARQL querydp back to ToC or Data Property ToC

IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/stc#sparql

This property allows to attach SPARQL construct queries to a test case. If the query is executed, errors or warnings can be detected and logged to debug the resource.

has domain
Test Casec

Annotation Properties

SPARQL queryap back to ToC or Annotation Property ToC

IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/stc#relatesTo

Link the test case to the vocabulary URI. This section is just for browsing/information. (e.g. give me all testcases relating to nif:anchorOf). You can link it to classes, individuals and properties.

Namespace Declarations back to ToC

dc
http://purl.org/dc/elements/1.1/
licenses
http://www.apache.org/licenses/
owl
http://www.w3.org/2002/07/owl#
rdf
http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs
http://www.w3.org/2000/01/rdf-schema#
stc
http://persistence.uni-leipzig.org/nlp2rdf/ontologies/stc#
testcase
http://persistence.uni-leipzig.org/nlp2rdf/ontologies/testcase/
xsd
http://www.w3.org/2001/XMLSchema#

This HTML document was obtained by processing the OWL ontology source code through LODE, Live OWL Documentation Environment, developed by Silvio Peroni.