metamaps--metamaps/public/owl/map.owl.ttl
Devin Howard d11278b63b map rdf export (fixes #1015) (#1036)
* simple rdf export of maps

* register ttl mime type

* owl

* mm

* fix up export service

* implement base url thing whoo

* add more rdf fields

* fix rdf syntax errors

* hide unused fields in rdf

* some code climate fixes

* update ontology a bit more

* syntax fix

* typo
2017-01-22 16:42:04 -05:00

40 lines
1.2 KiB
Turtle

@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 ] .