Package | Description |
---|---|
org.apache.clerezza |
Apache Clerezza RDF API
|
org.apache.clerezza.dataset |
This package provides access to named
ImmutableGraph S and Graph S that may originate from various
implementations. |
org.apache.clerezza.event | |
org.apache.clerezza.implementation.graph | |
org.apache.clerezza.implementation.graphmatching | |
org.apache.clerezza.implementation.in_memory | |
org.apache.clerezza.jaxrs.rdf.providers | |
org.apache.clerezza.representation | |
org.apache.clerezza.simple.storage | |
org.apache.clerezza.sparql | |
org.apache.clerezza.test.utils | |
org.apache.clerezza.utils | |
org.apache.clerezza.utils.smushing |
Modifier and Type | Interface and Description |
---|---|
interface |
ImmutableGraph
A graph, modeled as a set of triples.
|
interface |
WatchableGraph
An extension to the Graph interface that allows to add throws events
on modifications.
|
Modifier and Type | Class and Description |
---|---|
class |
SecuredGraph
A Secured triple collection wraps a triple collection checking each access
for the rights on a the ImmutableGraph for which the uri is passed to the
constructor.
|
Modifier and Type | Method and Description |
---|---|
Graph |
TcManager.createGraph(IRI name) |
Graph |
TcProvider.createGraph(IRI name)
Creates an initially empty
Graph with a specified name |
Graph |
TcProviderMultiplexer.createGraph(IRI name) |
Graph |
TcManager.getGraph(IRI name) |
Graph |
TcProvider.getGraph(IRI name)
This method is used to get a
Graph indifferently
whether it's a ImmutableGraph or not. |
Graph |
TcProviderMultiplexer.getGraph(IRI name) |
Graph |
TcManager.getMGraph(IRI name) |
Graph |
TcProvider.getMGraph(IRI name)
Get an
Graph taht is not ImmutableGrah . |
Graph |
TcProviderMultiplexer.getMGraph(IRI name) |
Graph |
SecuredGraph.getUnsecuredGraph()
Returns the wrapped Graph if the caller has all access rights.
|
Modifier and Type | Method and Description |
---|---|
ImmutableGraph |
TcManager.createImmutableGraph(IRI name,
Graph triples) |
ImmutableGraph |
TcProvider.createImmutableGraph(IRI name,
Graph triples)
Creates a
ImmutableGraph with a specified name |
ImmutableGraph |
TcProviderMultiplexer.createImmutableGraph(IRI name,
Graph triples) |
boolean |
TcManager.executeSparqlQuery(AskQuery query,
Graph defaultGraph)
Deprecated.
Query is discontinued
|
ImmutableGraph |
TcManager.executeSparqlQuery(ConstructQuery query,
Graph defaultGraph)
Deprecated.
Query is discontinued
|
ImmutableGraph |
TcManager.executeSparqlQuery(DescribeQuery query,
Graph defaultGraph)
Deprecated.
Query is discontinued
|
Object |
TcManager.executeSparqlQuery(Query query,
Graph defaultGraph)
Deprecated.
Query is discontinued
|
ResultSet |
TcManager.executeSparqlQuery(SelectQuery query,
Graph defaultGraph)
Deprecated.
Query is discontinued
|
Object |
TcManager.executeSparqlQuery(String query,
Graph defaultGraph)
Executes any sparql query.
|
Constructor and Description |
---|
SecuredGraph(Graph wrapped,
IRI name,
TcAccessController tcAccessController) |
Modifier and Type | Method and Description |
---|---|
Graph |
GraphEvent.getGraph()
Returns the
TripleCollection that was modified in the event. |
Constructor and Description |
---|
AddEvent(Graph graph,
Triple triple) |
GraphEvent(Graph graph,
Triple triple) |
RemoveEvent(Graph graph,
Triple triple) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractGraph
An abstract implementation of
Graph implementing
iterator and contains calling filter . |
class |
AbstractImmutableGraph
AbstractGraph is an abstract implementation of ImmutableGraph
implementing the equals and the hashCode methods. |
class |
PrivilegedGraphWrapper
Calls the methods of the wrapped
Graph as privileged
code, because they may need permissions like writing to disk or accessing
network. |
class |
PrivilegedImmuatbleGraphWrapper
Calls the methods of the wrapped
ImmutableGraph as privileged
code, because they may need permissions like writing to disk or accessing
network. |
class |
WatchableGraphWrapper |
class |
WriteBlockedGraph
This is a wrapper object for
Graph . |
Constructor and Description |
---|
PrivilegedGraphWrapper(Graph Graph) |
WatchableGraphWrapper(Graph wrapped) |
WriteBlockedGraph(Graph triples) |
Modifier and Type | Method and Description |
---|---|
static Map<BlankNode,BlankNode> |
GraphMatcher.getValidMapping(Graph og1,
Graph og2)
get a mapping from g1 to g2 or null if the graphs are not isomorphic.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleGraph
For now this is a minimalistic implementation, without any indexes or other
optimizations.
|
class |
SimpleImmutableGraph |
Constructor and Description |
---|
SimpleImmutableGraph(Graph Graph)
Creates a ImmutableGraph with the triples in Graph
|
SimpleImmutableGraph(Graph Graph,
boolean GraphWillNeverChange)
Creates a ImmutableGraph with the triples in Graph.
|
Modifier and Type | Method and Description |
---|---|
Graph |
GraphReader.readFrom(Class<Graph> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Modifier and Type | Method and Description |
---|---|
long |
GraphWriter.getSize(Graph t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
void |
GraphWriter.writeTo(Graph t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
Modifier and Type | Method and Description |
---|---|
Graph |
GraphReader.readFrom(Class<Graph> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Modifier and Type | Method and Description |
---|---|
void |
Parser.parse(Graph target,
InputStream serializedGraph,
String formatIdentifier)
Parses a serialized ImmutableGraph from an InputStream.
|
void |
ParsingProvider.parse(Graph target,
InputStream serializedGraph,
String formatIdentifier,
IRI baseUri)
Parses a stream as the specified RDF-format.
|
void |
Parser.parse(Graph target,
InputStream serializedGraph,
String formatIdentifier,
IRI baseUri)
Parses a serialized ImmutableGraph from an InputStream.
|
void |
Serializer.serialize(OutputStream serializedGraph,
Graph tc,
String formatIdentifier)
Serializes a ImmutableGraph into an OutputStream.
|
void |
SerializingProvider.serialize(OutputStream outputStream,
Graph tc,
String formatIdentifier)
Serializes a
Graph to a specified
OutputStream in the format identified by
formatIdentifier . |
Modifier and Type | Method and Description |
---|---|
Graph |
SimpleTcProvider.createGraph(IRI name) |
Graph |
SimpleTcProvider.getGraph(IRI name) |
Graph |
SimpleTcProvider.getMGraph(IRI name) |
Modifier and Type | Method and Description |
---|---|
ImmutableGraph |
SimpleTcProvider.createImmutableGraph(IRI name,
Graph triples) |
Modifier and Type | Method and Description |
---|---|
Object |
QueryEngine.execute(GraphStore graphStore,
Graph defaultGraph,
String query)
Executes any sparql query.
|
Modifier and Type | Class and Description |
---|---|
class |
LockableMGraphWrapperForTesting
Wrappes an Graph as a LockableGraph.
|
class |
RandomGraph
A
Graph wrapper that allows growing and shrinking of
the wrapped mgraph. |
Modifier and Type | Method and Description |
---|---|
protected abstract Graph |
GraphTest.getEmptyGraph()
Subclasses implement this method to provide implementation instances of
Graph.
|
Constructor and Description |
---|
LockableMGraphWrapperForTesting(Graph providedGraph)
Constructs a LocalbleGraph for an Graph.
|
RandomGraph(Graph mGraph,
int interconnectivity) |
RandomGraph(int initialSize,
int interconnectivity,
Graph mGraph)
Creates a new random mutual graph.
|
Modifier and Type | Class and Description |
---|---|
class |
UnionGraph
This class represents the union of multiple triple collections.
|
class |
UnionWatchableGraph |
class |
UriMutatingGraph
This wrapps a Triplecollection changing a prefix for the IRIs contained
in subject or object position.
|
Modifier and Type | Field and Description |
---|---|
protected Graph[] |
UnionGraph.baseTripleCollections |
Modifier and Type | Method and Description |
---|---|
Graph |
GraphNode.getGraph()
Gets the graph the node represented by this instance is in
|
Modifier and Type | Method and Description |
---|---|
static RdfList |
RdfList.createEmptyList(BlankNodeOrIRI listRDFTerm,
Graph tc)
Creates an empty RdfList by writing a triple
"
listRDFTerm owl:sameAs rdf.nil ." to tc . |
static void |
GraphUtils.removeSubGraph(Graph mGraph,
Graph subGraph)
Removes a subGraph from an Graph.
|
static void |
Smusher.sameAsSmush(Graph mGraph,
Graph owlSameStatements)
Smushes the specified graph adding owl:sameAs statements pointing to the new canonical IRI
|
static void |
Smusher.smush(Graph mGraph,
Graph tBox)
smush mGaph given the ontological facts.
|
Constructor and Description |
---|
GraphNode(RDFTerm resource,
Graph graph)
Create a GraphNode representing resource within graph.
|
RdfList(BlankNodeOrIRI listRDFTerm,
Graph tc)
Get a list for the specified resource.
|
UnionGraph(Graph... baseTripleCollections)
Constructs a UnionGraph over the specified baseTripleCollections.
|
UriMutatingGraph(Graph base,
String sourcePrefix,
String targetPrefix) |
Modifier and Type | Method and Description |
---|---|
void |
IfpSmusher.smush(Graph mGraph,
Graph tBox)
smush mGaph given the ontological facts.
|
void |
SameAsSmusher.smush(Graph mGraph,
Graph owlSameStatements,
boolean addCanonicalSameAsStatements)
This will ensure that all properties of sameAs resources are associated
to the preferedIRI as returned by
getPreferedIRI |
void |
BaseSmusher.smush(Graph mGraph,
Set<Set<BlankNodeOrIRI>> equivalenceSets,
boolean addOwlSameAs)
Smushes the resources in mGraph that belong to the same set in equivalenceSets,
i.e.
|
Copyright © 2015–2022 The Apache Software Foundation. All rights reserved.