PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdftest: <http://www.w3.org/ns/rdftest#>
PREFIX linkml: <https://w3id.org/linkml/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX schema: <http://schema.org/>
PREFIX sh: <http://www.w3.org/ns/shacl#>
PREFIX vann: <http://purl.org/vocab/vann/>

<http://www.w3.org/ns/rdftest> a owl:Ontology ;
  rdfs:label "The RDF 1.1 Test Vocabulary"@en ;
  rdfs:comment """This is a vocabulary document and is used to define classes and properties used in
      RDF 1.1 Test Cases and associated test manifests.
      The URI of the vocabulary is http://www.w3.org/ns/rdftest# (abbreviated by rdft: in this document).
      Turtle and an JSON-LD versions of the vocabulary are also available.
      The vocabulary is published by W3C.
    """@en ;
  schema:inLanguage "en" ;
  dcterms:publisher <http://www.w3.org/data#W3C> ;
  vann:preferredNamespacePrefix "rdftest" ;
  vann:preferredNamespaceUri "http://www.w3.org/ns/rdftest#"^^xsd:anyURI ;
  sh:declare [
    sh:prefix "rdftest" ;
    sh:namespace "http://www.w3.org/ns/rdftest#"^^xsd:anyURI
  ] , [
    sh:prefix "linkml" ;
    sh:namespace "https://w3id.org/linkml/"^^xsd:anyURI
  ] , [
    sh:prefix "dcterms" ;
    sh:namespace "http://purl.org/dc/terms/"^^xsd:anyURI
  ] .

rdftest:Proposed a owl:Class ;
  rdfs:label "Proposed"@en ;
  rdfs:comment "Indicates that a test is proposed, but not approved."@en ;
  rdfs:subClassOf rdftest:Approval .

rdftest:TestXMLNegativeSyntax a owl:Class ;
  rdfs:label "RDF/XML Negative Syntax"@en ;
  rdfs:comment "A negative RDF/XML syntax test."@en .

rdftest:Rejected a owl:Class ;
  rdfs:label "Rejected"@en ;
  rdfs:comment "Indicates that a test is not approved."@en ;
  rdfs:subClassOf rdftest:Approval .

rdftest:TestNTriplesNegativeSyntax a owl:Class ;
  rdfs:label "N-Triples Negative Syntax"@en ;
  rdfs:comment "A negative N-Triples syntax test."@en ;
  rdfs:subClassOf rdftest:TestSyntax .

rdftest:TestTurtleNegativeEval a owl:Class ;
  rdfs:label "Turtle Negative Evaluation"@en ;
  rdfs:comment "A negative Turtle evaluation test."@en ;
  rdfs:subClassOf rdftest:TestEval .

rdftest:Test a owl:Class ;
  rdfs:label "Test"@en ;
  rdfs:comment "Superclass of all RDF Tests."@en ;
  rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty rdftest:approval ;
    owl:allValuesFrom rdftest:Approval
  ] .

rdftest:TestNTriplesPositiveSyntax a owl:Class ;
  rdfs:label "N-Triples Positive Syntax"@en ;
  rdfs:comment "A positive N-Triples syntax test."@en ;
  rdfs:subClassOf rdftest:TestSyntax .

rdftest:TestTriGNegativeSyntax a owl:Class ;
  rdfs:label "TriG Negative Syntax"@en ;
  rdfs:comment "A negative TriG syntax test."@en ;
  rdfs:subClassOf rdftest:TestSyntax .

rdftest:TestTriGPositiveSyntax a owl:Class ;
  rdfs:label "TriG Positive Syntax"@en ;
  rdfs:comment "A positive TriG syntax test."@en ;
  rdfs:subClassOf rdftest:TestSyntax .

rdftest:TestNQuadsNegativeSyntax a owl:Class ;
  rdfs:label "N-Quads Negative Syntax"@en ;
  rdfs:comment "A negative N-Quads syntax test."@en ;
  rdfs:subClassOf rdftest:TestSyntax .

rdftest:TestNQuadsPositiveSyntax a owl:Class ;
  rdfs:label "N-Quads Positive Syntax"@en ;
  rdfs:comment "A positive N-Quads syntax test."@en ;
  rdfs:subClassOf rdftest:TestSyntax .

rdftest:TestSyntax a owl:Class ;
  rdfs:label "Test Syntax"@en ;
  rdfs:comment "Superclass of all RDF Syntax Tests."@en ;
  rdfs:subClassOf rdftest:Test .

rdftest:TestTrigNegativeEval a owl:Class ;
  rdfs:label "TriG Negative Evaluation"@en ;
  rdfs:comment "A negative TriG evaluation test."@en ;
  rdfs:subClassOf rdftest:TestEval .

rdftest:Approval a owl:Class ;
  rdfs:label "Approval"@en ;
  rdfs:comment "The superclass of all test approval statuses."@en .

rdftest:Approved a owl:Class ;
  rdfs:label "Approved"@en ;
  rdfs:comment "Indicates that a test is approved."@en ;
  rdfs:subClassOf rdftest:Approval .

rdftest:TestTurtleNegativeSyntax a owl:Class ;
  rdfs:label "Turtle Negative Syntax"@en ;
  rdfs:comment "A negative Turtle syntax test."@en ;
  rdfs:subClassOf rdftest:TestSyntax .

rdftest:TestTurtleEval a owl:Class ;
  rdfs:label "Turtle Positive Evaluation"@en ;
  rdfs:comment "A positive Turtle evaluation test."@en ;
  rdfs:subClassOf rdftest:TestEval .

rdftest:TestTurtlePositiveSyntax a owl:Class ;
  rdfs:label "Turtle Positive Syntax"@en ;
  rdfs:comment "A positive Turtle syntax test."@en ;
  rdfs:subClassOf rdftest:TestSyntax .

rdftest:TestTrigEval a owl:Class ;
  rdfs:label "TriG Positive Evaluation"@en ;
  rdfs:comment "A positive TriG evaluation test."@en .

rdftest:XMLEval a owl:Class ;
  rdfs:label "RDF/XML Evaluation"@en ;
  rdfs:comment "A positive RDF/XML evaluation test."@en ;
  rdfs:subClassOf rdftest:TestEval .

rdftest:TestEval a owl:Class ;
  rdfs:label "Test Evaluation"@en ;
  rdfs:comment "Superclass of all RDF Evaluation Tests."@en ;
  rdfs:subClassOf rdftest:Test .

rdftest:approval a owl:ObjectProperty ;
  rdfs:label "approval"@en ;
  rdfs:comment "Approval status of a test."@en ;
  rdfs:range rdftest:Approval ;
  rdfs:domain rdftest:Test .

schema:inLanguage a owl:AnnotationProperty .

dcterms:publisher a owl:AnnotationProperty .

vann:preferredNamespacePrefix a owl:AnnotationProperty .

vann:preferredNamespaceUri a owl:AnnotationProperty .

sh:declare a owl:AnnotationProperty .

sh:prefix a owl:AnnotationProperty .

sh:namespace a owl:AnnotationProperty .
