Re: The Counter Ontology

On Tue, 20 Jul 2010 14:56:05 +0200
Bob Ferris <zazi@elbklang.net> wrote:

> How can I make sure that the value of my counter concept is of the
> type xsd:Integer? 

co:Counter
	rdfs:subClassOf [
		a owl:Restriction ;
		owl:onProperty rdf:value ;
		owl:allValuesFrom xsd:integer
	] ;
	# and to say that it's a functional property...
	rdfs:subClassOf [
		a owl:Restriction ;
		owl:onProperty rdf:value ;
		owl:cardinality 1
	] .

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>

Received on Wednesday, 21 July 2010 11:49:51 UTC