<?xml version="1.0"?>
<?xml-stylesheet href="rdfs2html.xsl" type="text/xsl"?>
<rdf:RDF
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
	xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
	xmlns:owl="http://www.w3.org/2002/07/owl#"
	xmlns:foaf="http://xmlns.com/foaf/0.1/"
	xmlns:dc="http://purl.org/dc/elements/1.1/">

	<owl:Ontology rdf:about="http://www.rdfabout.com/rdf/schema/vote/" dc:title="Vote vocabulary" dc:description="An ontology for votes." dc:date="Feb. 25, 2005">
	</owl:Ontology>
 
	<!-- CLASSES -->

	<rdfs:Class rdf:about="http://www.rdfabout.com/rdf/schema/vote/Vote" rdfs:label="Vote" rdfs:comment="A vote in which agents cast choices.">
		<rdfs:isDefinedBy rdf:resource="http://www.rdfabout.com/rdf/schema/vote/"/>
	</rdfs:Class>

	<rdfs:Class rdf:about="http://www.rdfabout.com/rdf/schema/vote/Ballot" rdfs:label="Ballot" rdfs:comment="A choice made by a voter in a Vote.">
		<rdfs:isDefinedBy rdf:resource="http://www.rdfabout.com/rdf/schema/vote/"/>
	</rdfs:Class>
	
	<rdfs:Class rdf:about="http://www.rdfabout.com/rdf/schema/vote/Option" rdfs:label="Option" rdfs:comment="The parent class of all of the ballot options defined in this specification, although any resource can be used as an option.">
		<rdfs:isDefinedBy rdf:resource="http://www.rdfabout.com/rdf/schema/vote/"/>
	</rdfs:Class>
	
	<!-- OPTION SUBCLASSES -->
	
	<rdfs:Class rdf:about="http://www.rdfabout.com/rdf/schema/vote/Aye" rdfs:label="Aye" rdfs:comment="An Aye vote.">
		<rdfs:subClassOf rdf:resource="http://www.rdfabout.com/rdf/schema/vote/Option"/>
		<rdfs:isDefinedBy rdf:resource="http://www.rdfabout.com/rdf/schema/vote/"/>
	</rdfs:Class>

	<rdfs:Class rdf:about="http://www.rdfabout.com/rdf/schema/vote/Nay" rdfs:label="Nay" rdfs:comment="A Nay vote.">
		<rdfs:subClassOf rdf:resource="http://www.rdfabout.com/rdf/schema/vote/Option"/>
		<rdfs:isDefinedBy rdf:resource="http://www.rdfabout.com/rdf/schema/vote/"/>
	</rdfs:Class>

	<rdfs:Class rdf:about="http://www.rdfabout.com/rdf/schema/vote/Abstention" rdfs:label="Abstention" rdfs:comment="An 'abstain'-type choice, to be used when a voter cast a ballot with none of the customary options chosen.">
		<rdfs:subClassOf rdf:resource="http://www.rdfabout.com/rdf/schema/vote/Option"/>
		<rdfs:isDefinedBy rdf:resource="http://www.rdfabout.com/rdf/schema/vote/"/>
	</rdfs:Class>

	<rdfs:Class rdf:about="http://www.rdfabout.com/rdf/schema/vote/NoVote" rdfs:label="NoVote" rdfs:comment="An 'absent'-type option, to be used when a voter did not cast a Ballot but a positive record of the voter's inaction needs to be recorded.">
		<rdfs:subClassOf rdf:resource="http://www.rdfabout.com/rdf/schema/vote/Option"/>
		<rdfs:isDefinedBy rdf:resource="http://www.rdfabout.com/rdf/schema/vote/"/>
	</rdfs:Class>

	<!-- VOTE TYPE SUBCLASSES -->
	
	<rdfs:Class rdf:about="http://www.rdfabout.com/rdf/schema/vote/PluralityVote" rdfs:label="Plurality Vote" rdfs:comment="A type of Vote in which the winner is the single option with the most number of votes.">
		<rdfs:subClassOf rdf:resource="http://www.rdfabout.com/rdf/schema/vote/Vote"/>
		<rdfs:isDefinedBy rdf:resource="http://www.rdfabout.com/rdf/schema/vote/"/>
	</rdfs:Class>

	<rdfs:Class rdf:about="http://www.rdfabout.com/rdf/schema/vote/TwoThirdsVote" rdfs:label="Two-Thirds Vote" rdfs:comment="A type of Vote in which the default option wins unless two-thirds or more voters choose the alternative.">
		<rdfs:subClassOf rdf:resource="http://www.rdfabout.com/rdf/schema/vote/Vote"/>
		<rdfs:isDefinedBy rdf:resource="http://www.rdfabout.com/rdf/schema/vote/"/>
	</rdfs:Class>

	<rdfs:Class rdf:about="http://www.rdfabout.com/rdf/schema/vote/ApprovalVote" rdfs:label="Approval Vote" rdfs:comment="A type of Vote in which voters vote for as many options as they want, and the winner is the single option with the most number of votes.">
		<rdfs:subClassOf rdf:resource="http://www.rdfabout.com/rdf/schema/vote/Vote"/>
		<rdfs:isDefinedBy rdf:resource="http://www.rdfabout.com/rdf/schema/vote/"/>
	</rdfs:Class>

	<!-- PROPERTIES -->
	
	<rdf:Property rdf:about="http://www.rdfabout.com/rdf/schema/vote/heldBy" rdfs:label="heldBy" rdfs:comment="Indicates the organization that held the vote.">
		<rdfs:domain rdf:resource="http://www.rdfabout.com/rdf/schema/vote/Vote"/>
		<rdfs:range rdf:resource="http://xmlns.com/foaf/0.1/Organization"/>
		<rdfs:isDefinedBy rdf:resource="http://www.rdfabout.com/rdf/schema/vote/"/>
	</rdf:Property>

	<rdf:Property rdf:about="http://www.rdfabout.com/rdf/schema/vote/procedure" rdfs:label="Procedure" rdfs:comment="Indicates the voting procedures, in natural language.">
		<rdfs:domain rdf:resource="http://www.rdfabout.com/rdf/schema/vote/Vote"/>
		<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
		<rdfs:isDefinedBy rdf:resource="http://www.rdfabout.com/rdf/schema/vote/"/>
	</rdf:Property>

	<rdf:Property rdf:about="http://www.rdfabout.com/rdf/schema/vote/threshold" rdfs:label="Threshold" rdfs:comment="For a plurality vote, the threshold of votes needed for the plurality choice to be deemed a winner.  Valid values are any fraction expressed as an integer numerator, a slash, and an integer denominator.">
		<rdfs:domain rdf:resource="http://www.rdfabout.com/rdf/schema/vote/Vote"/>
		<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
		<rdfs:isDefinedBy rdf:resource="http://www.rdfabout.com/rdf/schema/vote/"/>
	</rdf:Property>

	<rdf:Property rdf:about="http://www.rdfabout.com/rdf/schema/vote/hasOption" rdfs:label="hasOption" rdfs:comment="Specifies that an option is available for voters in a Vote.">
		<rdfs:domain rdf:resource="http://www.rdfabout.com/rdf/schema/vote/Vote"/>
		<rdfs:isDefinedBy rdf:resource="http://www.rdfabout.com/rdf/schema/vote/"/>
	</rdf:Property>

	<rdf:Property rdf:about="http://www.rdfabout.com/rdf/schema/vote/default" rdfs:label="default" rdfs:comment="Specifies the default option in Votes that have such an option.">
		<rdfs:domain rdf:resource="http://www.rdfabout.com/rdf/schema/vote/Vote"/>
		<rdfs:isDefinedBy rdf:resource="http://www.rdfabout.com/rdf/schema/vote/"/>
	</rdf:Property>

	<rdf:Property rdf:about="http://www.rdfabout.com/rdf/schema/vote/winner" rdfs:label="Winner" rdfs:comment="Indicates the winning option(s) in a vote, if the winner is known.">
		<rdfs:domain rdf:resource="http://www.rdfabout.com/rdf/schema/vote/Vote"/>
		<rdfs:isDefinedBy rdf:resource="http://www.rdfabout.com/rdf/schema/vote/"/>
	</rdf:Property>

	<rdf:Property rdf:about="http://www.rdfabout.com/rdf/schema/vote/hasBallot" rdfs:label="hasBallot" rdfs:comment="Specifies that a Ballot was cast in a Vote.">
		<rdfs:domain rdf:resource="http://www.rdfabout.com/rdf/schema/vote/Vote"/>
		<rdfs:range rdf:resource="http://www.rdfabout.com/rdf/schema/vote/Ballot"/>
		<rdfs:isDefinedBy rdf:resource="http://www.rdfabout.com/rdf/schema/vote/"/>
	</rdf:Property>
	
	<rdf:Property rdf:about="http://www.rdfabout.com/rdf/schema/vote/voter" rdfs:label="Voter" rdfs:comment="Indicates the agent that cast the ballot.">
		<rdfs:domain rdf:resource="http://www.rdfabout.com/rdf/schema/vote/Ballot"/>
		<rdfs:range rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
		<rdfs:isDefinedBy rdf:resource="http://www.rdfabout.com/rdf/schema/vote/"/>
	</rdf:Property>	

	<rdf:Property rdf:about="http://www.rdfabout.com/rdf/schema/vote/option" rdfs:label="Option" rdfs:comment="Indicates the option chosen on a Ballot.">
		<rdfs:domain rdf:resource="http://www.rdfabout.com/rdf/schema/vote/Ballot"/>
		<rdfs:isDefinedBy rdf:resource="http://www.rdfabout.com/rdf/schema/vote/"/>
	</rdf:Property>	
</rdf:RDF>

