@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .

@prefix :   <http://metamaps.cc/owl/map.owl.ttl#> .
@prefix mm:   <http://metamaps.cc/owl/map.owl.ttl#> .

: a owl:Ontology ;
	rdfs:label "Metamaps Map"@en .

mm:Topic a owl:Class ;
	rdfs:label "One topic on a metamap"@en .

mm:Synapse a owl:Class ;
  rdfs:label "Link between two topics on a metamap"@en .

mm:topic1 a owl:ObjectProperty ;
	a owl:FunctionalProperty ;
	rdfs:label "first topic of a synapse"@en ;
	rdfs:domain mm:Synapse ;
	rdfs:range mm:Topic .

mm:topic2 a owl:ObjectProperty ;
	a owl:FunctionalProperty ;
	rdfs:label "second topic of a synapse"@en ;
	rdfs:domain mm:Topic ;
	rdfs:range mm:Topic .

mm:mapper a owl:ObjectProperty ;
  a owl:FunctionalProperty ;
  rdfs:label "Metamaps user who created this topic"@en ;
  rdfs:domain mm:Topic ;
  rdfs:range foaf:OnlineAccount .

mm:direction a owl:ObjectProperty ;
  a owl:FunctionalProperty ;
  rdfs:label "from-to, both, or none"@en ;
  rdfs:domain mm:Synapse ;
  rdfs:range [ owl:oneOf mm:from-to, mm:both, mm:none ] .
