Source code

Download source archive ↓

src/rdflib/namespace/_RDF.py

1from rdflib.namespace import DefinedNamespace, Namespace
2from rdflib.term import URIRef
3
4
5class RDF(DefinedNamespace):
6    """
7    The RDF Concepts Vocabulary (RDF)
8
9    This is the RDF Schema for the RDF vocabulary terms in the RDF Namespace, defined in RDF 1.1 Concepts.
10
11    Generated from: http://www.w3.org/1999/02/22-rdf-syntax-ns#
12    Date: 2020-05-26 14:20:05.642859
13
14    dc:date "2019-12-16"
15
16    """
17
18    _fail = True
19    _underscore_num = True
20
21    # http://www.w3.org/1999/02/22-rdf-syntax-ns#List
22    nil: URIRef  # 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.
23
24    # http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
25    direction: URIRef  # The base direction component of a CompoundLiteral.
26    first: URIRef  # The first item in the subject RDF list.
27    language: URIRef  # The language component of a CompoundLiteral.
28    object: URIRef  # The object of the subject RDF statement.
29    predicate: URIRef  # The predicate of the subject RDF statement.
30    rest: URIRef  # The rest of the subject RDF list after the first item.
31    subject: URIRef  # The subject of the subject RDF statement.
32    type: URIRef  # The subject is an instance of a class.
33    value: URIRef  # Idiomatic property used for structured values.
34
35    # http://www.w3.org/2000/01/rdf-schema#Class
36    Alt: URIRef  # The class of containers of alternatives.
37    Bag: URIRef  # The class of unordered containers.
38    CompoundLiteral: URIRef  # A class representing a compound literal.
39    List: URIRef  # The class of RDF Lists.
40    Property: URIRef  # The class of RDF properties.
41    Seq: URIRef  # The class of ordered containers.
42    Statement: URIRef  # The class of RDF statements.
43
44    # http://www.w3.org/2000/01/rdf-schema#Datatype
45    HTML: URIRef  # The datatype of RDF literals storing fragments of HTML content
46    JSON: URIRef  # The datatype of RDF literals storing JSON content.
47    PlainLiteral: URIRef  # The class of plain (i.e. untyped) literal values, as used in RIF and OWL 2
48    XMLLiteral: URIRef  # The datatype of XML literal values.
49    langString: URIRef  # The datatype of language-tagged string values
50
51    _NS = Namespace("http://www.w3.org/1999/02/22-rdf-syntax-ns#")