Interface VirtualGraph
public interface VirtualGraph
Information about a virtual graph.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the name the database that is associated with this virtual graph, or"*"if this virtual graph works with all databases.Returns the name (as an IRI) of the data source that provides the connection to the backing database for this virtual graph.static StringgetLocalName(IRI entityName) Returns the mappings defined for this graph expressed in R2RML.getName()Returns the (local) name of the virtual graph.Returns the configuration options associated with this virtual graph.static StringgraphClause(String theGraph) Given the local name of a virtual graph, return aGRAPHclause for that virtual graph.booleanIs the virtual graph available?static StringDeprecated.static StringserviceClause(String theGraph) Given the local name of a virtual graph, return aSERVICEclause for that virtual graph.static IRI
-
Field Details
-
RESOURCE_NAME_MATCHER
-
-
Method Details
-
term
-
getLocalName
-
service
Deprecated.Given the local name of a virtual graph, return aGRAPHclause for that virtual graph.- Parameters:
theGraph- The local name of a virtual graph, without thevirtual://prefix- Returns:
- A graph clause for use in a SPARQL query
-
graphClause
Given the local name of a virtual graph, return aGRAPHclause for that virtual graph.- Parameters:
theGraph- The local name of a virtual graph, without thevirtual://prefix- Returns:
- A graph clause for use in a SPARQL query
-
serviceClause
Given the local name of a virtual graph, return aSERVICEclause for that virtual graph.- Parameters:
theGraph- The local name of a virtual graph, without thevirtual://prefix- Returns:
- A service clause for use in a SPARQL query
-
getName
String getName()Returns the (local) name of the virtual graph. -
getDataSourceName
IRI getDataSourceName()Returns the name (as an IRI) of the data source that provides the connection to the backing database for this virtual graph. -
getDatabase
String getDatabase()Returns the name the database that is associated with this virtual graph, or"*"if this virtual graph works with all databases. -
getMappings
Returns the mappings defined for this graph expressed in R2RML. The iterable will be empty if there are no mappings. -
getOptions
Properties getOptions()Returns the configuration options associated with this virtual graph. The options are defined inVirtualGraphOptions. -
isAvailable
boolean isAvailable()Is the virtual graph available?
-
graphClause(String theGraph)