Difference between revisions of "AC RDF N3 Prefixes and Class Declarations"

From TDWG Terms Wiki
Jump to: navigation, search
Line 8: Line 8:
 
@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 
@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
  
<nowiki>#### Service Access Point Class ####</nowiki>
+
<nowiki>#### Service Access Point Class ####</nowiki><br/>
ac-classes:ServiceAccessPoint a rdfs:Class . <br/>
+
ac-classes:ServiceAccessPoint a rdfs:Class .  
<nowiki> ####Media Class#### </nowiki>
+
 
 +
<nowiki> ####Media Class#### </nowiki><br/>
 
ac-classes:Media a rdfs:Class ;  
 
ac-classes:Media a rdfs:Class ;  
 
:rdfs:subClassOf  
 
:rdfs:subClassOf  

Revision as of 03:01, 26 August 2012

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix ac: <http://rs.tdwg.org/ac/terms/> .
@prefix ac-classes: <http://rs.tdwg.org/ac/classes/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

#### Service Access Point Class ####
ac-classes:ServiceAccessPoint a rdfs:Class .

####Media Class####
ac-classes:Media a rdfs:Class ;

rdfs:subClassOf
[ a owl:Restriction;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://purl.org/dc/terms/type> ],
[ a owl:Restriction;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://purl.org/dc/terms/title>] .