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

From TDWG Terms Wiki
Jump to: navigation, search
m (fix errant whitespace)
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<!-- See also http://species-id.net/wiki/Template:MRTG_TermNoComments2 for main term expansions
 +
and http://species-id.net/wiki/Audubon_Core_Term_List_RDF_Version for the full RDF representation
 +
-->
 
@prefix rdf:        <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . <br/>
 
@prefix rdf:        <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . <br/>
 
@prefix rdfs:      <http://www.w3.org/2000/01/rdf-schema#> . <br/>
 
@prefix rdfs:      <http://www.w3.org/2000/01/rdf-schema#> . <br/>
 
@prefix dc:        <http://purl.org/dc/elements/1.1/> . <br/>
 
@prefix dc:        <http://purl.org/dc/elements/1.1/> . <br/>
@prefix ac:     <http://rs.tdwg.org/ac/terms/> . <br/>
+
@prefix {{ACPrefix}}:     <http://rs.tdwg.org/ac/terms/> . <br/>
@prefix ac-classes:  <http://rs.tdwg.org/ac/classes/> . <br/>
+
 
@prefix owl: <http://www.w3.org/2002/07/owl#> . <br/>
 
@prefix owl: <http://www.w3.org/2002/07/owl#> . <br/>
 
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . <br/>
 
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . <br/>
 
@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 
@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
  
ac-classes:ServiceAccessPoint a rdfs:Class . <br/>
+
<nowiki>#### Service Access Point Class ####</nowiki><br/>
 +
{{ACPrefix}}:{{ACServiceAccessPointClass}} a rdfs:Class .  
  
ac-classes:Media a rdfs:Class ;
+
<nowiki> ####Media Class#### </nowiki><br/>
:rdfs:subClassOf
+
{{ACPrefix}}:{{ACMediaClass}}  a rdfs:Class .
::[ a owl:Restriction;
+
::::owl:cardinality "1"^^xsd:nonNegativeInteger ;<br/>
+
::::owl:onProperty <http://purl.org/dc/terms/type> ],
+
::[ a owl:Restriction;
+
::::owl:maxCardinality "1"^^xsd:nonNegativeInteger ;<br/>
+
::::owl:onProperty <http://purl.org/dc/terms/title>] .<br/>
+

Latest revision as of 16:50, 22 October 2013

@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 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:ServiceAccessPoint a rdfs:Class .

####Media Class####
ac:MediaResource a rdfs:Class .