@prefix voaf: <http://purl.org/vocommons/voaf#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ends: <http://labs.mondeca.com/vocab/endpointStatus#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix void: <http://vocab.deri.ie/void#> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix vs: <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix cc: <http://creativecommons.org/ns#> .
@prefix dcterms: <http://purl.org/dc/terms/> .

<http://labs.mondeca.com/vocab/endpointStatus> a owl:Ontology , voaf:Vocabulary ;
	rdfs:isdefinedby <http://labs.mondeca.com/vocab/endpointStatus> ;
	dcterms:title "Vocabulary of endpoint status (availability, responseTime)"@en ;
	dcterms:description "Endpoint Status vocabulary intends to dsecribe endpoint availability"@en ;
	vann:preferredNamespaceUri "http://labs.mondeca.com/vocab/endpointStatus#" ;
	vann:preferredNamespacePrefix "ends" ;
	vs:term_status "testing" ;
	cc:license <http://creativecommons.org/licenses/by/3.0/> ;
	dcterms:creator <http://labs.mondeca.com/foaf/mondeca.rdf#pyv> .

<http://labs.mondeca.com/foaf/mondeca.rdf#pyv> a foaf:Person ;
	foaf:name "Pierre-Yves Vandenbussche" .

<http://labs.mondeca.com/vocab/endpointStatus> dcterms:publisher <http://dbpedia.org/resource/Mondeca> .

<http://dbpedia.org/resource/Mondeca> a foaf:Organization ;
	foaf:name "Mondeca" .

<http://labs.mondeca.com/vocab/endpointStatus> voaf:classNumber "1" ;
	voaf:propertyNumber "4" ;
	dcterms:modified "2011-02-24" ;
	voaf:specializes <http://vocab.deri.ie/void> ;
	voaf:reliesOn <http://purl.org/dc/terms/> ;
	voaf:metadataVoc <http://xmlns.com/foaf/0.1> , <http://purl.org/dc/terms> , <http://purl.org/vocab/vann/> , <http://purl.org/vocommons/voaf> , <http://creativecommons.org/licenses/by/3.0/> .

ends:EndpointStatus a owl:Class ;
	rdfs:label "Endpoint status"@en ;
	rdfs:comment "A Status of a void:Dataset endpoint at a particular time"@en ;
	rdfs:isDefinedBy <http://labs.mondeca.com/vocab/endpointStatus> ;
	vs:term_status "testing" ;
	owl:unionOf _:node171kiafokx9 .

_:node171kiafokx9 rdf:first _:node171kiafokx10 .

_:node171kiafokx10 a owl:Restriction ;
	owl:cardinality "1" ;
	owl:onProperty ends:statusIsAvailable .

_:node171kiafokx9 rdf:rest _:node171kiafokx11 .

_:node171kiafokx11 rdf:first _:node171kiafokx12 .

_:node171kiafokx12 a owl:Restriction ;
	owl:cardinality "1" ;
	owl:onProperty dcterms:date .

_:node171kiafokx11 rdf:rest _:node171kiafokx13 .

_:node171kiafokx13 rdf:first _:node171kiafokx14 .

_:node171kiafokx14 a owl:Restriction ;
	owl:maxCardinality "1" ;
	owl:onProperty ends:statusResponseTime .

_:node171kiafokx13 rdf:rest _:node171kiafokx15 .

_:node171kiafokx15 rdf:first _:node171kiafokx16 .

_:node171kiafokx16 a owl:Restriction ;
	owl:maxCardinality "1" ;
	owl:onProperty dcterms:description .

_:node171kiafokx15 rdf:rest rdf:nil .

ends:status a owl:ObjectProperty ;
	rdfs:label "has status"@en ;
	rdfs:comment "Relation between a void:Dataset and an ends:EndpointStatus"@en ;
	rdfs:isDefinedBy <http://labs.mondeca.com/vocab/endpointStatus> ;
	vs:term_status "testing" ;
	rdfs:domain <http://rdfs.org/ns/void#Dataset> ;
	rdfs:range ends:EndpointStatus .

ends:statusIsAvailable a owl:DatatypeProperty ;
	rdfs:label "is endpoint available"@en ;
	rdfs:comment "Describes whether a void:Dataset endpoint is available or not"@en ;
	rdfs:isDefinedBy <http://labs.mondeca.com/vocab/endpointStatus> ;
	vs:term_status "testing" ;
	rdfs:domain ends:EndpointStatus ;
	rdfs:range <http://www.w3.org/2001/XMLSchema#boolean> .

ends:statusResponseTime a owl:DatatypeProperty ;
	rdfs:label "endpoint response time"@en ;
	rdfs:comment "If a void:Dataset endpoint is available, this property indicates in milliseconds the responseTime to a simple Select query"@en ;
	rdfs:isDefinedBy <http://labs.mondeca.com/vocab/endpointStatus> ;
	vs:term_status "testing" ;
	rdfs:domain ends:EndpointStatus ;
	rdfs:range <http://www.w3.org/2001/XMLSchema#integer> .
