Class RDFNodeInDatasetUtils

java.lang.Object
org.aksw.jenax.arq.dataset.impl.RDFNodeInDatasetUtils

public class RDFNodeInDatasetUtils extends Object
  • Constructor Details

    • RDFNodeInDatasetUtils

      public RDFNodeInDatasetUtils()
  • Method Details

    • asRDFNodeInDataset

      public RDFNodeInDataset asRDFNodeInDataset(org.apache.jena.rdf.model.RDFNode rdfNode)
      If the rdfNode is based on a GraphView then an appropriate RDFNodeInDataset view is returned; otherwise the rdfNode's model is wrapped as a Dataset. Always creates a fresh Dataset wrapper for an underlying DatasetGraph.
    • listResourcesWithProperty

      public static org.apache.jena.util.iterator.ExtendedIterator<ResourceInDataset> listResourcesWithProperty(org.apache.jena.query.Dataset dataset, org.apache.jena.rdf.model.Property p)
      The returned extended iterator does not yet support removal, as there is no flatMap method. The API is just there to be potentially future proof.
      Parameters:
      dataset -
      p -
      Returns: