# This ontology.
@prefix subs:     <http://ontologi.es/subscriptions#> .

# Stock imports.
@prefix cc:       <http://creativecommons.org/ns#> .
@prefix dc:       <http://purl.org/dc/terms/> .
@prefix dcmitype: <http://purl.org/dc/dcmitype/> .
@prefix foaf:     <http://xmlns.com/foaf/0.1/> .
@prefix link:     <http://www.w3.org/2006/link#> .
@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 skos:     <http://www.w3.org/2004/02/skos/core#> .
@prefix vs:       <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix xhv:      <http://www.w3.org/1999/xhtml/vocab#> .
@prefix xsd:      <http://www.w3.org/2001/XMLSchema#> .

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## 

subs:
	a                  owl:Ontology ;
	rdfs:label         "Subscriptions"@en ;
	foaf:maker         <http://tobyinkster.co.uk/#i> ;
	dc:issued          "2009-06-06"^^xsd:date .

subs:Subscription
	a                  rdfs:Class , owl:Class ;
	rdfs:label         "Subscription" .

subs:last_fetch
	a                  rdf:Property , owl:DatatypeProperty ;
	rdfs:subPropertyOf dc:date ;
	rdfs:label         "last fetch" ;
	rdfs:domain        subs:Subscription .

subs:subscribed_url
	a                  rdf:Property , owl:ObjectProperty   ;
	rdfs:label         "subscribed URL" ;
	rdfs:domain        subs:Subscription ;
	rdfs:range         foaf:Document .

subs:subscribed_date
	a                  rdf:Property , owl:DatatypeProperty  ;
	rdfs:subPropertyOf dc:created ;
	rdfs:label         "subscribed date" ;
	rdfs:domain        subs:Subscription .

subs:subscriber
	a                  rdf:Property , owl:ObjectProperty  ;
	rdfs:subPropertyOf dc:creator ;
	rdfs:label         "subscriber" ;
	rdfs:domain        subs:Subscription ;
	rdfs:range         foaf:Agent .

subs:subscriber_account
	a                  rdf:Property , owl:ObjectProperty  ;
	rdfs:subPropertyOf <http://rdfs.org/sioc/ns#has_creator> ;
	rdfs:label         "subscriber" ;
	rdfs:domain        subs:Subscription ;
	rdfs:range         <http://rdfs.org/sioc/ns#User> .

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## 
