Resource Description Framework (RDF): Tracker SPARQL Library Reference Manual

## Resource Description Framework (RDF) Resource Description Framework (RDF) — Core RDF classes to keep the internal consistency of the ontology |

## Synopsis

    @prefix rdf: <http://www.w3.org/2000/01/rdf-schema#>

## Classes

List, Property, langString, nil, Class, Datatype, Literal, Resource

## Class Details

### List

#### Description

The class of RDF Lists.

#### Class hierarchy

        rdfs:Resource
        ╰── rdf:List

#### Properties

Name | Type | Notes | Description
--- | --- | --- | ---
`first` | Resource |  | The first item in the subject RDF list.
`rest` | List |  | The rest of the subject RDF list after the first item.

### Property

#### Description

The class of RDF properties

#### Specification

https://www.w3.org/TR/rdf-schema/#ch_property

#### Class hierarchy

        rdfs:Resource
        ╰── rdf:Property

#### Properties

Name | Type | Notes | Description
--- | --- | --- | ---
`domain` | Resource |  | A domain of the subject property
`range` | Class |  | A range of the subject property
`subPropertyOf` | Property |  | The subject is a subproperty of a property

### langString

#### Description

The datatype of language-tagged string values

#### Specification

https://www.w3.org/TR/rdf-schema/#ch_langstring

#### Class hierarchy

        rdfs:Resource
        ╰── rdfs:Literal
            ╰── rdf:langString

### nil

#### Description

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.

#### Class hierarchy

        rdf:nil

### Class

#### Description

The class of classes

#### Specification

https://www.w3.org/TR/rdf-schema/#ch_class

#### Class hierarchy

        rdfs:Resource
        ╰── rdfs:Class
            ╰── rdfs:Datatype

#### Properties

Name | Type | Notes | Description
--- | --- | --- | ---
`subClassOf` | Class |  | The subject is a subclass of a class

### Datatype

#### Description

The class of RDF datatypes.

#### Specification

https://www.w3.org/TR/rdf-schema/#ch_datatype

#### Class hierarchy

        rdfs:Resource
        ╰── rdfs:Class
            ╰── rdfs:Datatype

#### Predefined instances

rdfs:Datatype has the following predefined instances:

- `rdf:langString`

### Literal

#### Description

The class of literal values, eg. textual strings and integers

#### Specification

https://www.w3.org/TR/rdf-schema/#ch_literal

#### Class hierarchy

        rdfs:Resource
        ╰── rdfs:Literal
            ╰── rdf:langString

### Resource

#### Description

All resources

#### Specification

https://www.w3.org/TR/rdf-schema/#ch_resource

#### Class hierarchy

        rdfs:Resource
        ├── rdfs:Class
        ├── rdf:Property
        ├── rdfs:Literal
        ╰── rdf:List

#### Properties

Name | Type | Notes | Description
--- | --- | --- | ---
`type` | Class |  | The subject is an instance of a class
`comment` | string |  | A description of the subject resource
`label` | string |  | A human-readable name for the subject

## Credits and Copyright

Authors:
  - W3C
Editors:
  - Tracker developers (translation into turtle)
Upstream:

  Not available

ChangeLog:

  Tracker changes