Package com.stardog.stark
Interface Namespaces
- All Known Subinterfaces:
NamespacesInfo
A collection of namespace defintions
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final NamespacesStardog default namespaces.static final NamespacesAn immutable set of extended namespaces that include allbuilt-in namespacesplus other commonly used namespaces DC, FOAF, SKOS, SWRL, and SWRLB.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final NamespacesSet of namespaces based on Vocabulary Prefixes of W3C Documents (Recommendations or Notes)static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptionstatic NamespacesStardog default namespaces with a user-defined default namespace.Return the IRI associated with the given prefixMaps the given prefixed name to a full IRI based on the namespace definitionsReturn the prefix associated with the given IRIstream()Return aStreamover thenamespacesMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Field Details
-
OWL
- See Also:
-
RDF
- See Also:
-
RDFS
- See Also:
-
SHACL
- See Also:
-
SWRL
- See Also:
-
SWRLB
- See Also:
-
XSD
- See Also:
-
DC
- See Also:
-
FOAF
- See Also:
-
SKOS
- See Also:
-
PROV
- See Also:
-
SCHEMA_ORG
- See Also:
-
STARDOG
- See Also:
-
STARDOG_SHACL
- See Also:
-
BASE_URI
- See Also:
-
DEFAULT
Stardog default namespaces. An immutable set of namespaces for built-in namespaces RDF, RDFS, XSD, and OWL. -
EXTENDED
An immutable set of extended namespaces that include allbuilt-in namespacesplus other commonly used namespaces DC, FOAF, SKOS, SWRL, and SWRLB. -
RDFA_INIT_CONTEXT
Set of namespaces based on Vocabulary Prefixes of W3C Documents (Recommendations or Notes)- See Also:
-
-
Method Details
-
defaults
Stardog default namespaces with a user-defined default namespace. An immutable set of namespaces for built-in namespaces RDF, RDFS, XSD, and OWL similar toDEFAULTbut with the given default namespace. -
prefix
Return the prefix associated with the given IRI- Parameters:
theIRI- the IRI- Returns:
- the prefix
-
iri
Return the IRI associated with the given prefix- Parameters:
thePrefix- the prefix- Returns:
- the IRI
-
map
Maps the given prefixed name to a full IRI based on the namespace definitions- Parameters:
thePrefixedName- the prefixed name- Returns:
- the IRI
-
stream
Return aStreamover thenamespaces- Returns:
- the `Namespace` `Stream`
-