metalsmith-ldschema
Version:
Metalsmith plugin for generating Web documentation for a linked data vocabulary. Inspired by https://schema.org
19 lines (14 loc) • 600 B
text/turtle
@base <http://schema.test.org/> .
@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#> .
# reason nothing coming up may be that comment should be optional
</MyClass> a rdfs:Class ;
rdfs:label "MyClass" .
</MyOtherClass> a rdfs:Class ;
rdfs:label "MyOtherClass" ;
rdfs:subClassOf </MyClass> .
</description> a rdf:Property ;
rdfs:label "description" ;
rdfs:domain </MyClass>, </MyOtherClass> ;
rdfs:range xsd:string ;