@prefix : <https://w3id.org/dre/ptr#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <https://w3id.org/dre/ptr#> .

<https://w3id.org/dre/ptr#> rdf:type owl:Ontology ;
                             <http://purl.org/dc/terms/abstract> "Vocabulary to describe pointers to parts of RDF statements (statement parts and descriptors)." ;
                             <http://purl.org/dc/terms/creator> "Jakub Duchateau" ;
                             <http://purl.org/dc/terms/date> "2026-01-07"^^xsd:date ;
                             <http://purl.org/dc/terms/license> <http://purl.org/NET/rdflicense/cc-by4.0> ;
                             <http://purl.org/dc/terms/title> "RDF Pointer Vocabulary" ;
                             <http://purl.org/vocab/vann/preferredNamespacePrefix> "ptr" ;
                             <http://purl.org/vocab/vann/preferredNamespaceUri> "https://w3id.org/dre/ptr#" ;
                             <http://schema.org/codeRepository> "https://github.com/jduchateau/RER" ;
                             <http://schema.org/funding> "This work was supported by the Fonds de la Recherche Scientifique -- FNRS under Grant n° MIS~F.4016.24." ;
                             owl:versionInfo "0.0.1" .

#################################################################
#    Annotation properties
#################################################################

###  http://purl.org/dc/terms/abstract
<http://purl.org/dc/terms/abstract> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/creator
<http://purl.org/dc/terms/creator> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/date
<http://purl.org/dc/terms/date> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/license
<http://purl.org/dc/terms/license> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/title
<http://purl.org/dc/terms/title> rdf:type owl:AnnotationProperty .


###  http://purl.org/vocab/vann/preferredNamespacePrefix
<http://purl.org/vocab/vann/preferredNamespacePrefix> rdf:type owl:AnnotationProperty .


###  http://purl.org/vocab/vann/preferredNamespaceUri
<http://purl.org/vocab/vann/preferredNamespaceUri> rdf:type owl:AnnotationProperty .


###  http://schema.org/codeRepository
<http://schema.org/codeRepository> rdf:type owl:AnnotationProperty .


###  http://schema.org/funding
<http://schema.org/funding> rdf:type owl:AnnotationProperty .


###  https://w3id.org/widoco/vocab#order
<https://w3id.org/widoco/vocab#order> rdf:type owl:AnnotationProperty .


#################################################################
#    Datatypes
#################################################################

###  http://www.w3.org/2001/XMLSchema#date
xsd:date rdf:type rdfs:Datatype .


#################################################################
#    Object Properties
#################################################################

###  https://w3id.org/dre/ptr#end
:end rdf:type owl:ObjectProperty ;
     rdfs:domain :Range ;
     rdfs:range :Point ;
     rdfs:comment "Ending point of the text range." ;
     rdfs:isDefinedBy <https://w3id.org/dre/ptr#> ;
     rdfs:label "end" .


###  https://w3id.org/dre/ptr#part
:part rdf:type owl:ObjectProperty ;
      rdfs:domain :StatementPart ;
      rdfs:range :StatementPartDescriptor ;
      rdfs:comment "Whether the subject, predicate, or object of the statement is implicated." ;
      rdfs:isDefinedBy <https://w3id.org/dre/ptr#> ;
      rdfs:label "part" .


###  https://w3id.org/dre/ptr#start
:start rdf:type owl:ObjectProperty ;
       rdfs:domain :Range ;
       rdfs:range :Point ;
       rdfs:comment "Starting point of the text range." ;
       rdfs:isDefinedBy <https://w3id.org/dre/ptr#> ;
       rdfs:label "start" .


###  https://w3id.org/dre/ptr#statement
:statement rdf:type owl:ObjectProperty ;
           rdfs:domain :StatementPart ;
           rdfs:range rdf:Statement ;
           rdfs:comment "The RDF statement to which this part belongs." ;
           rdfs:isDefinedBy <https://w3id.org/dre/ptr#> ;
           rdfs:label "statement" .


###  https://w3id.org/dre/ptr#textRange
:textRange rdf:type owl:ObjectProperty ;
           rdfs:domain :StatementPart ;
           rdfs:range :Range ;
           rdfs:comment "Character range in the mapping text where the error occurs." ;
           rdfs:isDefinedBy <https://w3id.org/dre/ptr#> ;
           rdfs:label "text range" .


#################################################################
#    Data properties
#################################################################

###  https://w3id.org/dre/ptr#column
:column rdf:type owl:DatatypeProperty ;
        rdfs:domain :Point ;
        rdfs:range xsd:integer ;
        rdfs:comment "Column number for the point." ;
        rdfs:isDefinedBy <https://w3id.org/dre/ptr#> ;
        rdfs:label "column" .


###  https://w3id.org/dre/ptr#line
:line rdf:type owl:DatatypeProperty ;
      rdfs:domain :Point ;
      rdfs:range xsd:integer ;
      rdfs:comment "Line number for the point." ;
      rdfs:isDefinedBy <https://w3id.org/dre/ptr#> ;
      rdfs:label "line" .


#################################################################
#    Classes
#################################################################

###  http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement
rdf:Statement rdf:type owl:Class .


###  http://www.w3.org/2002/07/owl#NamedIndividual
owl:NamedIndividual rdf:type owl:Class .


###  https://w3id.org/dre/ptr#Point
:Point rdf:type owl:Class ;
       rdfs:comment "Line/column coordinates inside a text." ;
       rdfs:isDefinedBy <https://w3id.org/dre/ptr#> ;
       rdfs:label "Point" .


###  https://w3id.org/dre/ptr#Range
:Range rdf:type owl:Class ;
       rdfs:comment "Text span defined by start and end points." ;
       rdfs:isDefinedBy <https://w3id.org/dre/ptr#> ;
       rdfs:label "Range" .


###  https://w3id.org/dre/ptr#StatementPart
:StatementPart rdf:type owl:Class ;
               rdfs:comment "Wrapper describing which part of an RDF statement is implicated." ;
               rdfs:isDefinedBy <https://w3id.org/dre/ptr#> ;
               rdfs:label "Statement part" ;
               <https://w3id.org/widoco/vocab#order> 1 .


###  https://w3id.org/dre/ptr#StatementPartDescriptor
:StatementPartDescriptor rdf:type owl:Class ;
                         rdfs:subClassOf owl:NamedIndividual ;
                         rdfs:comment "Named descriptor of a statement position (subject, predicate, object)." ;
                         rdfs:isDefinedBy <https://w3id.org/dre/ptr#> ;
                         rdfs:label "Statement part descriptor" .


#################################################################
#    Individuals
#################################################################

###  https://w3id.org/dre/ptr#Object
:Object rdf:type owl:NamedIndividual ,
                 :StatementPartDescriptor ;
        rdfs:isDefinedBy <https://w3id.org/dre/ptr#> ;
        rdfs:label "Object" .


###  https://w3id.org/dre/ptr#Predicate
:Predicate rdf:type owl:NamedIndividual ,
                    :StatementPartDescriptor ;
           rdfs:isDefinedBy <https://w3id.org/dre/ptr#> ;
           rdfs:label "Predicate" .


###  https://w3id.org/dre/ptr#Subject
:Subject rdf:type owl:NamedIndividual ,
                  :StatementPartDescriptor ;
         rdfs:isDefinedBy <https://w3id.org/dre/ptr#> ;
         rdfs:label "Subject" .


###  Generated by the OWL API (version 5.1.18) https://github.com/owlcs/owlapi/
