public enum DescribeModeEnum extends Enum<DescribeModeEnum>
Enum Constant and Description |
---|
CBD
Concise Bounded Description.
|
ForwardOneStep
The DESCRIBE is only the attributes and forward links.
|
SCBD
Symmetric Concise Bounded Description (SCBD).
|
SymmetricOneStep
The DESCRIBE is the symmetric one-step neighborhood of the resource
(attributes, forward links, and backward links).
|
Modifier and Type | Method and Description |
---|---|
boolean |
isForward()
Return
true if the description includes the non-link
attributes and forward links. |
boolean |
isRecursive()
Return
true if the description includes a recursive
expansion. |
boolean |
isReifiedStatements()
Return
true if the description includes the description of
reified statements found in the description. |
boolean |
isReverse()
Return
true if the description includes the reverse links. |
static DescribeModeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DescribeModeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DescribeModeEnum ForwardOneStep
public static final DescribeModeEnum SymmetricOneStep
public static final DescribeModeEnum CBD
Given a particular node (the starting node) in a particular RDF graph (the source graph), a subgraph of that particular graph, taken to comprise a concise bounded description of the resource denoted by the starting node, can be identified as follows: 1. Include in the subgraph all statements in the source graph where the subject of the statement is the starting node; 2. Recursively, for all statements identified in the subgraph thus far having a blank node object, include in the subgraph all statements in the source graph where the subject of the statement is the blank node in question and which are not already included in the subgraph. 3. Recursively, for all statements included in the subgraph thus far, for all reifications of each statement in the source graph, include the concise bounded description beginning from the rdf:Statement node of each reification. This results in a subgraph where the object nodes are either URI references, literals, or blank nodes not serving as the subject of any statement [not] in the [sub]graph.The text is square brackets is my own (presumed) correction to the definition of Concise Bounded Description and reflects the actual behavior of this mode.
public static final DescribeModeEnum SCBD
Specifically, given a particular node (the starting node) in a particular RDF graph (the source graph), a subgraph of that particular graph, taken to comprise a symmetric concise bounded description of the resource denoted by the starting node, can be identified as follows: 1. Include in the subgraph all statements in the source graph where the object of the statement is the starting node; 2. Recursively, for all statements identified in the subgraph thus far having a blank node subject not equal to the starting node, include in the subgraph all statements in the source graph where the object of the statement is the blank node in question and which are not already included in the subgraph. 3. Recursively, for all statements included in the subgraph thus far, for all reifications of each statement in the source graph, include the symmetric concise bounded description beginning from the rdf:Statement node of each reification. 4. Include in the subgraph the concise bounded description beginning from the starting node. This produces a subgraph that includes a concise bounded description, given the same starting point, but in addition, includes all inbound arc paths, up to but not beyond a URIref subject node.Note: Our evaluation actually proceeds in both the forward and reverse direction at the same time. However, this is an efficiency matter and has no effect on the semantics of the description.
public static DescribeModeEnum[] values()
for (DescribeModeEnum c : DescribeModeEnum.values()) System.out.println(c);
public static DescribeModeEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isForward()
true
if the description includes the non-link
attributes and forward links.public boolean isReverse()
true
if the description includes the reverse links.public boolean isReifiedStatements()
true
if the description includes the description of
reified statements found in the description.public boolean isRecursive()
true
if the description includes a recursive
expansion.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.