#
# Copyright 2004 W3C (MIT, ERCIM, Keio), 
# All Rights Reserved. 
# W3C liability, trademark, document use and software licensing rules apply.
# For more information see http://www.w3.org/TR/rdf-syntax-grammar/
#

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix nrl:     <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
@prefix nao:     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> .

rdf: {
    rdf:type rdf:type rdf:Property ;
        rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ;
        rdfs:label "type" ;
        rdfs:comment "The subject is an instance of a class." ;
        rdfs:range rdfs:Class ;
        rdfs:domain rdfs:Resource .
    rdf:Property rdf:type rdfs:Class ;
        rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ;
        rdfs:label "Property" ;
        rdfs:comment "The class of RDF properties." ;
        rdfs:subClassOf rdfs:Resource .
    rdf:Statement rdf:type rdfs:Class ;
        rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ;
        rdfs:label "Statement" ;
        rdfs:subClassOf rdfs:Resource ;
        rdfs:comment "The class of RDF statements." .
    rdf:subject rdf:type rdf:Property ;
        rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ;
        rdfs:label "subject" ;
        rdfs:comment "The subject of the subject RDF statement." ;
        rdfs:domain rdf:Statement ;
        rdfs:range rdfs:Resource .
    rdf:predicate rdf:type rdf:Property ;
        rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ;
        rdfs:label "predicate" ;
        rdfs:comment "The predicate of the subject RDF statement." ;
        rdfs:domain rdf:Statement ;
        rdfs:range rdfs:Resource .
    rdf:object rdf:type rdf:Property ;
        rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ;
        rdfs:label "object" ;
        rdfs:comment "The object of the subject RDF statement." ;
        rdfs:domain rdf:Statement ;
        rdfs:range rdfs:Resource .
    rdf:Bag rdf:type rdfs:Class ;
        rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ;
        rdfs:label "Bag" ;
        rdfs:comment "The class of unordered containers." ;
        rdfs:subClassOf rdfs:Container .
    rdf:Seq rdf:type rdfs:Class ;
        rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ;
        rdfs:label "Seq" ;
        rdfs:comment "The class of ordered containers." ;
        rdfs:subClassOf rdfs:Container .
    rdf:Alt rdf:type rdfs:Class ;
        rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ;
        rdfs:label "Alt" ;
        rdfs:comment "The class of containers of alternatives." ;
        rdfs:subClassOf rdfs:Container .
    rdf:value rdf:type rdf:Property ;
        rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ;
        rdfs:label "value" ;
        rdfs:comment "Idiomatic property used for structured values." ;
        rdfs:domain rdfs:Resource ;
        rdfs:range rdfs:Resource .
    rdf:List rdf:type rdfs:Class ;
        rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ;
        rdfs:label "List" ;
        rdfs:comment "The class of RDF Lists." ;
        rdfs:subClassOf rdfs:Resource .
    rdf:nil rdf:type rdf:List ;
        rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ;
        rdfs:label "nil" ;
        rdfs:comment "The empty list, with no items in it. If the rest of a list is nil then the list has no more items in it." .
    rdf:first rdf:type rdf:Property ;
        rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ;
        rdfs:label "first" ;
        rdfs:comment "The first item in the subject RDF list." ;
        rdfs:domain rdf:List ;
        rdfs:range rdfs:Resource .
    rdf:rest rdf:type rdf:Property ;
        rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ;
        rdfs:label "rest" ;
        rdfs:comment "The rest of the subject RDF list after the first item." ;
        rdfs:domain rdf:List ;
        rdfs:range rdf:List .
    rdf:XMLLiteral rdf:type rdfs:Datatype ;
        rdfs:subClassOf rdfs:Literal ;
        rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ;
        rdfs:label "XMLLiteral" ;
        rdfs:comment "The class of XML literal values." .
}

<http://www.w3.org/1999/02/22-rdf-syntax-ns-metadata> {
    <http://www.w3.org/1999/02/22-rdf-syntax-ns-metadata>
          a       nrl:GraphMetadata ;
          nrl:coreGraphMetadataFor rdf: .

    rdf:
          a nrl:Ontology, nrl:DocumentGraph, owl:Ontology ;
          dc:title "The RDF Vocabulary (RDF)" ;
          dc:description "This is the RDF Schema for the RDF vocabulary defined in the RDF namespace." ;
          rdfs:seeAlso <http://www.w3.org/2000/01/rdf-schema-more> ;
          nao:hasDefaultNamespace "http://www.w3.org/1999/02/22-rdf-syntax-ns#" ;
          nao:hasDefaultNamespaceAbbreviation "rdf" ;
          nao:serializationLanguage "TriG" ;
          nao:status "Stable" ;
          nrl:updatable "0" ;
          nao:version "1" .
}
