java.lang.Object
org.apache.jena.system.RDFStar
Deprecated, for removal: This API element is subject to removal in a future version.
Do NOT use this class. It is related to RDF-star Community Group, not RDF 1.2.
Library for RDF-star translation to and from reification form.
There is one reification for each unique quoted triple term.
This is especially important when decoding.
-
Constructor Summary
ConstructorsConstructorDescriptionRDFStar()Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.jena.graph.GraphdecodeFromRDF(org.apache.jena.graph.Graph graph) Deprecated, for removal: This API element is subject to removal in a future version.static voiddecodeFromRDF(org.apache.jena.graph.Graph graph, StreamRDF dest) Deprecated, for removal: This API element is subject to removal in a future version.static org.apache.jena.graph.GraphdecodeFromRDFInPlace(org.apache.jena.graph.Graph graph) Deprecated, for removal: This API element is subject to removal in a future version.static org.apache.jena.graph.GraphencodeAsRDF(org.apache.jena.graph.Graph graph) Deprecated, for removal: This API element is subject to removal in a future version.static voidencodeAsRDF(org.apache.jena.graph.Graph graph, StreamRDF dest) Deprecated, for removal: This API element is subject to removal in a future version.static org.apache.jena.graph.GraphencodeAsRDFInPlace(org.apache.jena.graph.Graph graph) Deprecated, for removal: This API element is subject to removal in a future version.static org.apache.jena.graph.NodereificationSubject(org.apache.jena.graph.Node_Triple nodeTriple) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
RDFStar
public RDFStar()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
encodeAsRDF
@Deprecated(forRemoval=true) public static org.apache.jena.graph.Graph encodeAsRDF(org.apache.jena.graph.Graph graph) Deprecated, for removal: This API element is subject to removal in a future version.Returns a copy of the argument graph with any triple terms encoded as reification.See
decodeFromRDF(Graph)for the reverse operation.See
encodeAsRDFInPlace(Graph)decodeFromRDFInPlace(Graph)for operations that alters the argument graph in-place.Returns a new graph with triples involving triple terms replaced with reification.
-
encodeAsRDF
@Deprecated(forRemoval=true) public static void encodeAsRDF(org.apache.jena.graph.Graph graph, StreamRDF dest) Deprecated, for removal: This API element is subject to removal in a future version.Copy to aStreamRDF, encoding RDF-star Triple terms by replacing them with RDF Reification. -
decodeFromRDF
@Deprecated(forRemoval=true) public static org.apache.jena.graph.Graph decodeFromRDF(org.apache.jena.graph.Graph graph) Deprecated, for removal: This API element is subject to removal in a future version.Returns a copy of the argument graph with any reifications for triple terms translated to triple terms.See
decodeFromRDF(Graph)for the reverse operation.See
encodeAsRDFInPlace(Graph)decodeFromRDFInPlace(Graph)for operations that alters the argument graph in-place. -
decodeFromRDF
@Deprecated(forRemoval=true) public static void decodeFromRDF(org.apache.jena.graph.Graph graph, StreamRDF dest) Deprecated, for removal: This API element is subject to removal in a future version.Copy the argument graph to aStreamRDF, replacing reifications with for triple terms. Caution: this operation uses space proportional to the number of triple terms present. -
encodeAsRDFInPlace
@Deprecated(forRemoval=true) public static org.apache.jena.graph.Graph encodeAsRDFInPlace(org.apache.jena.graph.Graph graph) Deprecated, for removal: This API element is subject to removal in a future version.Encode RDF-star Triple terms by replacing them with RDF Reification.Changes the argument graph in-place.
- See Also:
-
decodeFromRDFInPlace
@Deprecated(forRemoval=true) public static org.apache.jena.graph.Graph decodeFromRDFInPlace(org.apache.jena.graph.Graph graph) Deprecated, for removal: This API element is subject to removal in a future version.Replace reification encoding of RDF-star terms with RDF-star triples.This function assuming any reification use in the graph is for RDF-star terms.
-
reificationSubject
@Deprecated(forRemoval=true) public static org.apache.jena.graph.Node reificationSubject(org.apache.jena.graph.Node_Triple nodeTriple) Deprecated, for removal: This API element is subject to removal in a future version.Calculate a reification subject node for aNode_TripleThis must be the same node (same by value) whenever called with aNode_Triplewith the same s/p/o.
-