Interface ResourceMetamodel

All Superinterfaces:
org.apache.jena.graph.FrontsNode, org.apache.jena.rdf.model.RDFNode, org.apache.jena.rdf.model.Resource

public interface ResourceMetamodel extends org.apache.jena.rdf.model.Resource
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<org.apache.jena.graph.Node,ResourceGraphMetamodel>
     
     
    find(org.apache.jena.graph.Node g, boolean isFwd, org.apache.jena.graph.Node p)
    Attempts to answer an request to the metamodel for whether it knows about critical items.
     
    getOrCreateResourceMetamodel(org.apache.jena.graph.Node key)
     
    org.apache.jena.rdf.model.Resource
     
     
    Whether the key set by byGraph covers all graphs w.r.t.

    Methods inherited from interface org.apache.jena.graph.FrontsNode

    asNode

    Methods inherited from interface org.apache.jena.rdf.model.RDFNode

    as, asLiteral, asResource, asStatementTerm, canAs, getModel, isAnon, isLiteral, isResource, isStatementTerm, isURIResource, visitWith

    Methods inherited from interface org.apache.jena.rdf.model.Resource

    abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties, toString
  • Method Details

    • getTargetResource

      org.apache.jena.rdf.model.Resource getTargetResource()
    • getTargetResourceIri

      String getTargetResourceIri()
    • byGraph

      Map<org.apache.jena.graph.Node,ResourceGraphMetamodel> byGraph()
    • byGraphs

    • isGraphComplete

      Boolean isGraphComplete()
      Whether the key set by byGraph covers all graphs w.r.t. an implicit context
    • getOrCreateResourceMetamodel

      default ResourceGraphMetamodel getOrCreateResourceMetamodel(String iri)
    • getOrCreateResourceMetamodel

      default ResourceGraphMetamodel getOrCreateResourceMetamodel(org.apache.jena.graph.Node key)
    • find

      default Stream<PredicateStats> find(org.apache.jena.graph.Node g, boolean isFwd, org.apache.jena.graph.Node p)
      Attempts to answer an request to the metamodel for whether it knows about critical items. This method does not yield partial answers - if there are critical items then the full set is returned, if there are none then the set is empty, and if not all critical items are known the result is null to indicate that more information is needed (even if some items critical items are already known) Matching is similar fashion to DatasetGraph.find(). If the request cannot be fully nserved because the meta model is not complete w.r.t. graphs or predicates the result is null.
      Parameters:
      s -
      g -
      isFwd -
      p -
      Returns: