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/)
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.
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
IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/stc#SimpleSparqlTestCase
IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/stc#SimpleTestCase
A simple test case
IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/stc#TestSuite
An unordered collection of test cases. Use dcterms:hasVersion for versioning on this resource.
IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/stc#case
Make a suite and connect it to the cases via this property.
IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/stc#sparqlPrefix
several prefixes in sparql syntax attached to the suite.
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.
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.
This HTML document was obtained by processing the OWL ontology source code through LODE, Live OWL Documentation Environment, developed by Silvio Peroni.
A test case, which has a SPARQL query attached to it as a simple string via the stc:sparql property.