NAME
rdf/vocab - Common RDF vocabulary helpers.
SYNOPSIS
from rdf/vocab import rdf_type, rdfs_class, xsd;
let type := rdf_type();
let integer := xsd("integer");
DESCRIPTION
This module exports small helpers for constructing IRI terms in the RDF, RDFS, OWL, and XSD namespaces, plus commonly used vocabulary terms.
EXPORTS
Functions
rdf(String local)Returns an IRI in the RDF namespace.
rdfs(String local)Returns an IRI in the RDFS namespace.
owl(String local)Returns an IRI in the OWL namespace.
xsd(String local)Returns an IRI in the XML Schema namespace.
rdf_typeReturns
rdf:type.rdfs_classReturns
rdfs:Class.rdfs_resourceReturns
rdfs:Resource.rdfs_subclass_ofReturns
rdfs:subClassOf.rdfs_subproperty_ofReturns
rdfs:subPropertyOf.rdfs_domainReturns
rdfs:domain.rdfs_rangeReturns
rdfs:range.owl_classReturns
owl:Class.owl_thingReturns
owl:Thing.owl_same_asReturns
owl:sameAs.
COPYRIGHT AND LICENCE
rdf/vocab is copyright Toby Inkster.
It is free software; you may redistribute it and/or modify it under the terms of either the Artistic License 1.0 or the GNU General Public License version 2.