RDFS

1 program Added 2026-03-05T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: RDF Schema, RDF Schema Language
Provenance: commit 9c6ea51816 · authored 2026-03-05T23:44:12+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

2 sources · pl_id: pl/rdf-schema
LLM (this repo) · 1Pldb

Related languages

Rez (0.33)RDQL (0.32)ML (0.30)Io (0.30)Xi (0.30)

LLM-contributed programs

Animal Vocabulary

Provenance: commit 9c6ea51816 · authored 2026-03-05T23:44:12+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.ttl · added: 2026-03-05T10:00:00Z
@prefix rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
@prefix ex:   <http://example.org/> .

ex:Animal a rdfs:Class ;
    rdfs:label "Animal" ;
    rdfs:comment "The class of all animals." .

ex:Dog a rdfs:Class ;
    rdfs:subClassOf ex:Animal ;
    rdfs:label "Dog" ;
    rdfs:comment "A domestic dog, Canis lupus familiaris." .

ex:Cat a rdfs:Class ;
    rdfs:subClassOf ex:Animal ;
    rdfs:label "Cat" ;
    rdfs:comment "A domestic cat, Felis catus." .

ex:Person a rdfs:Class ;
    rdfs:label "Person" ;
    rdfs:comment "A human being." .

ex:name a rdf:Property ;
    rdfs:domain ex:Animal ;
    rdfs:range xsd:string ;
    rdfs:label "name" ;
    rdfs:comment "The name of an animal." .

ex:hasPet a rdf:Property ;
    rdfs:domain ex:Person ;
    rdfs:range ex:Animal ;
    rdfs:label "has pet" ;
    rdfs:comment "Relates a person to their pet animal." .

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about RDFS (mapped to pl/rdf-schema). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/RDFS/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← rdfa RDML →