@prefix schema: <http://schema.org/> .
@prefix owl:   <http://www.w3.org/2002/07/owl#> .
@prefix org:   <http://www.w3.org/ns/org#> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix voaf:  <http://purl.org/vocommons/voaf#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sd:    <http://www.w3.org/ns/sparql-service-description#> .
@prefix dct:   <http://purl.org/dc/terms/> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dctype: <http://purl.org/dc/dcmitype/> .
@prefix http:  <http://www.w3.org/2011/http#> .
@prefix interval: <http://reference.data.gov.uk/def/intervals/> .
@prefix sdm:   <https://w3id.org/vocab/sdm#> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .

sdm:scheduledDowntime
        a             rdf:Property , owl:ObjectProperty ;
        rdfs:comment  "Links to an interval period time"@en ;
        rdfs:domain   sdm:EndPointFeatureExtension ;
        rdfs:label    "scheduled downtime"@en ;
        rdfs:range    interval:CalendarInterval .

sdm:SPARQLRequest  a     rdfs:Class , owl:Class ;
        rdfs:label       "SPARQL request"@en ;
        rdfs:subClassOf  http:Request .

sdm:remainingPerRequest
        a             rdf:Property , owl:DatatypeProperty ;
        rdfs:comment  "The remaining results for a given request"@en ;
        rdfs:domain   sdm:EndPointFeatureExtension ;
        rdfs:label    "Remaining per request"@en ;
        rdfs:range    xsd:integer .

sdm:httpMessage  a    rdf:Property , owl:ObjectProperty ;
        rdfs:comment  "Links to the message of an http connection, and helps to connect with http:httpVersion which is a rdfs:Literal"@en ;
        rdfs:domain   sdm:EndPointFeatureExtension ;
        rdfs:label    "http message"@en ;
        rdfs:range    http:Message .

sdm:developer  a      rdf:Property , owl:ObjectProperty ;
        rdfs:comment  "Developer of the triple store"@en ;
        rdfs:domain   sdm:TripleStore ;
        rdfs:label    "developer"@en ;
        rdfs:range    org:Organization .

sdm:mirror  a         rdf:Property , owl:DatatypeProperty ;
        rdfs:comment  "URI of a mirror of the endpoint service"@en ;
        rdfs:domain   sdm:EndPointFeatureExtension ;
        rdfs:label    "mirror"@en ;
        rdfs:range    xsd:anyURI .

sdm:maxResultPerRequest
        a             rdf:Property , owl:DatatypeProperty ;
        rdfs:comment  "The limit of the maximum results for the endpoint service"@en ;
        rdfs:domain   sdm:EndPointFeatureExtension ;
        rdfs:label    "Max results per request"@en ;
        rdfs:range    xsd:integer .

sdm:queryTimeOut  a   rdf:Property , owl:DatatypeProperty ;
        rdfs:comment  "The timeout of a query in milliseconds"@en ;
        rdfs:domain   sdm:EndPointFeatureExtension ;
        rdfs:label    "query time out"@en ;
        rdfs:range    xsd:integer .

sdm:TripleStore  a       rdfs:Class , owl:Class ;
        rdfs:label       "Triple store"@en ;
        rdfs:subClassOf  dctype:Software .

sdm:request  a        rdf:Property , owl:ObjectProperty ;
        rdfs:comment  "Links to a SPARQL request"@en ;
        rdfs:domain   sdm:EndPointFeatureExtension ;
        rdfs:label    "requests"@en ;
        rdfs:range    sdm:SPARQLRequest .

<https://w3id.org/vocab/sdm>
        a                owl:Ontology , voaf:vocabulary ;
        rdfs:comment     "A vocabulary to represent SPARQL endpoint metadata."@en ;
        dct:contributor  [ schema:affiliation  [ foaf:homepage  <http://www.openlinksw.com> ;
                                                 foaf:name      "OpenLink Software"
                                               ] ;
                           foaf:name           "Kingsley Idehen"
                         ] ;
        dct:creator      [ rdfs:seeAlso   <http://www.eurecom.fr/~atemezin/gatemezing-foaf.rdf> ;
                           foaf:homepage  <http://www.atemezing.org> ;
                           foaf:name      "Ghislain Auguste Atemezing"
                         ] ;
        dct:description  "A small vocabulary for representing SPARQL endpoint metadata on the web"@en ;
        dct:issued       "2013-10-14"^^xsd:date ;
        dct:license      <http://www.opendatacommons.org/licenses/pddl/1.0/> ;
        dct:modified     "2013-10-15"^^xsd:date , "2016-03-16"^^xsd:date ;
        dct:title        "SPARQL endpoint metadata"@en ;
        owl:versionInfo  "v0.1" .

sdm:EndPointFeatureExtension
        a                rdfs:Class , owl:Class ;
        rdfs:comment     "Principal class extending the sd:Feature for providing more metadata on an endpoint service. "@en ;
        rdfs:label       "EndPoint feature extension"@fr ;
        rdfs:subClassOf  sd:Feature .

sdm:tripleStore  a    rdf:Property , owl:ObjectProperty ;
        rdfs:comment  "Links to a given software acting as a triple store"@en ;
        rdfs:domain   sdm:EndPointFeatureExtension ;
        rdfs:label    "tripleStore"@en ;
        rdfs:range    sdm:TripleStore .
