Skip to content

Instantly share code, notes, and snippets.

@kurtcagle
Created December 20, 2015 08:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kurtcagle/bf02000f8a96386080c1 to your computer and use it in GitHub Desktop.
Save kurtcagle/bf02000f8a96386080c1 to your computer and use it in GitHub Desktop.
A sample namespace file for use with the ns.xqy namespaces library.
@prefix ns: <http://semanticalllc.com/ns/namespace#>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix xs: <http://www.w3.org/2001/XMLSchema>.
@prefix cts: <http://marklogic.com/cts>.
@prefix term: <http://semanticalllc.com/ns/canonical/term/>.
@prefix class: <http://semanticalllc.com/ns/canonical/class/>.
@prefix graph: <http://semanticalllc.com/ns/canonical/graph/>.
@prefix scheme: <http://semanticalllc.com/ns/canonical/scheme/>.
@prefix skos: <http://semanticalllc.com/ns/canonical/scheme/>.
@prefix skosx: <http://semanticalllc.com/ns/canonical/skosx/>.
@prefix skosxl: <http://www.w3.org/2008/05/skos-xl#>.
@prefix core: <http://semanticalllc.com/ns/canonical/>.
@prefix membership: <http://semanticalllc.com/ns/canonical/membership/>.
@prefix individual: <http://semanticalllc.com/ns/canonical/individual/>.
@prefix document: <http://semanticalllc.com/ns/canonical/document/>.
@prefix metadata: <http://semanticalllc.com/ns/canonical/metadata/>.
ns:skos
rdf:type class:Namespace;
rdfs:label "SKOS";
ns:prefix "skos";
ns:namespace "http://www.w3.org/2004/02/skos/core#";
skos:description "This namespace identifies concepts from the Semantic Knowledge Organization System, used primarily for organizing classification hierarchies.";
.
ns:skosx
rdfs:label "SKOS Application Extension";
rdf:type class:Namespace;
ns:prefix "skosx";
ns:namespace "http://semanticalllc.com/ns/canonical/skosx/";
skos:description "This namespace is a local extension to skos for certain system defined properties.";
.
ns:skosxl
rdfs:label "SKOS Extended Label Extension";
rdf:type class:Namespace;
ns:prefix "skosxl";
ns:namespace "http://www.w3.org/2008/05/skos-xl#";
skos:description "This namespace describes the properties of the SKOS language extension.";
.
ns:term
rdfs:label "Term";
rdf:type class:Namespace;
ns:prefix "term";
ns:namespace "http://semanticalllc.com/ns/canonical/term/";
skos:description "This namespace indicates SKOS-XL term identifiers, used to indirectly reference term strings.";
.
ns:concept
rdfs:label "Concept";
rdf:type class:Namespace;
ns:prefix "concept";
ns:namespace "http://semanticalllc.com/ns/canonical/concept/";
skos:description "This namespace identifies controlled vocabulary content.";
.
ns:scheme
rdfs:label "Scheme";
rdf:type class:Namespace;
ns:prefix "scheme";
ns:namespace "http://semanticalllc.com/ns/canonical/scheme/";
skos:description "A scheme is a collection of related vocabularies.";
.
ns:ns
rdf:type class:Namespace;
rdfs:label "Namespace Object";
ns:prefix "ns";
ns:namespace "http://semanticalllc.com/ns/canonical/namespace/";
skos:description "This is used to identify the namespace of the ns: xquery library.";
.
ns:class
rdf:type class:Namespace;
rdfs:label "Class";
ns:prefix "class";
ns:namespace "http://semanticalllc.com/ns/canonical/class/";
skos:description "This namespace identifies classes, which inherit from the Owl:Class object.";
.
ns:graph
rdf:type class:Namespace;
rdfs:label "Graph";
ns:prefix "graph";
ns:namespace "http://semanticalllc.com/ns/canonical/graph/";
skos:description "This identifies the namespace of RDF graphs.";
.
ns:rdf
rdf:type class:Namespace;
rdfs:label "RDF";
ns:prefix "rdf";
ns:namespace "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
skos:description "This is the default RDF namespace.";
.
ns:rdfs
rdf:type class:Namespace;
rdfs:label "RDF-Schema";
ns:prefix "rdfs";
ns:namespace "http://www.w3.org/2000/01/rdf-schema#";
skos:description "This namespace for RDF Schema.";
.
ns:owl
rdf:type class:Namespace;
rdfs:label "Web Ontology Language";
ns:prefix "owl";
ns:namespace "http://www.w3.org/2002/07/owl#";
skos:description "This namespace identifies the core concepts of the Web Ontology Language.";
.
ns:xs
rdf:type class:Namespace;
rdfs:label "XML Schema Definition Language";
ns:prefix "xs";
ns:namespace "http://www.w3.org/2001/XMLSchema#";
skos:description "This namespace identifies base types used in the XML Schema specification.";
.
ns:cts
rdf:type class:Namespace;
rdfs:label "Marklogic CTS";
ns:prefix "cts";
ns:namespace "http://marklogic.com/cts#";
skos:description "This identifies function in the MarkLogic CTS search namespace.";
.
ns:fn
rdf:type class:Namespace;
rdfs:label "W3C Functions";
ns:prefix "fn";
ns:namespace "http://www.w3.org/2005/xpath-functions#";
skos:description "This identifies the namespace for W3C XPath functions. Used primary for SPARQL queries.";
.
ns:xdmp
rdf:type class:Namespace;
rdfs:label "Marklogic XDMP";
ns:prefix "xdmp";
ns:namespace "http://marklogic.com/xdmp#";
skos:description "This identifies the namespace for the bulk of the MarkLogic xdmp functions. Used primary for SPARQL queries.";
.
ns:document
rdf:type class:Namespace;
rdfs:label "Document";
ns:prefix "document";
ns:namespace "http://semanticalllc.com/ns/canonical/document/";
skos:description "This namespace identifies narrative documents stored as XML within the MarkLogic database.";
.
ns:person
rdf:type class:Namespace;
rdfs:label "Person";
ns:prefix "person";
ns:namespace "http://semanticalllc.com/ns/canonical/person/";
skos:description "This namespace identifies people entities within the model";
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment