#Example Ontology
# Copyright (C) 2010 David S. Read
#****************************************************************
# This is a sample ontology to show a few concepts around using
# an OWL reasoner as part of converting RDB data to RDF.
# It is meant for testing of semantic web concepts only.
#
# The values in this file are based on using the default program
# settings and the Sakila sample database from MySQL.
# (http://dev.mysql.com/doc/sakila/en/sakila.html)
#****************************************************************
# This file is free software: you can redistribute it and/or
# modify it under the terms of the GNU Affero General Public
# License as published by the Free Software Foundation, either
# version 3 of the License, or (at your option) any later
# version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public
# License along with this program. If not, see
# .
#****************************************************************
#Namespaces used in this ontology
@prefix dsr: .
@prefix dsr2: .
@prefix rdf: .
@prefix rdfs: .
@prefix owl: .
#Show use of subclass to control class of instances
dsr2:ImportedData rdf:type owl:Class.
dsr:RdbData rdfs:subClassOf dsr2:ImportedData.
#Show use of a restriction to create a class representing
#instances containing specific data value
#This will place instances with rating R in the MatureAudience
#class
dsr2:MatureAudience rdf:type owl:Class;
owl:equivalentClass [
rdf:type owl:Restriction;
owl:onProperty dsr:rating;
owl:hasValue "R"^^;
].