Interface TermSpecRml2

All Superinterfaces:
org.apache.jena.graph.FrontsNode, org.aksw.rmltk.model.backbone.common.IMappingComponent, org.aksw.rmltk.model.backbone.common.ITermSpec, MappingComponentRml2, org.apache.jena.rdf.model.RDFNode, org.apache.jena.rdf.model.Resource
All Known Subinterfaces:
DatatypeMapRml2, GraphMapRml2, ObjectMapRml2, ObjectMapTypeRml2, PredicateMapRml2, RefObjectMapRml2, SubjectMapRml2, TermMapRml2

public interface TermSpecRml2 extends MappingComponentRml2, org.aksw.rmltk.model.backbone.common.ITermSpec
A common parent type for 'term-producing' constructs, namely TermMap and RefObjectMap. https://www.w3.org/TR/r2rml/#class-index states: As noted earlier, a single node in an R2RML mapping graph may represent multiple mapping components and thus be typed as several of these classes. However, the following classes are disjoint:
  • rr:TermMap and rr:RefObjectMap
  • [...]
  • Method Summary

    Modifier and Type
    Method
    Description
    Obtain a RefObjectMap view of this resource.
    default TermMapRml2
    Obtain an ObjectMap view of this resource.
    default boolean
    R2RML specifies that the condition for an entity to qualify as an "ref object map" is "Having an rr:parentTriplesMap property"
    default boolean
    R2RML specifies that the condition for an entity to qualify as a "term map" is "Having exactly one of rr:constant, rr:column, rr:template"

    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

    • qualifiesAsRefObjectMap

      default boolean qualifiesAsRefObjectMap()
      R2RML specifies that the condition for an entity to qualify as an "ref object map" is "Having an rr:parentTriplesMap property"
      Specified by:
      qualifiesAsRefObjectMap in interface org.aksw.rmltk.model.backbone.common.ITermSpec
      Returns:
    • asRefObjectMap

      default RefObjectMapRml2 asRefObjectMap()
      Obtain a RefObjectMap view of this resource. Calling this method does NOT require qualifiesAsRefObjectMap() to yield true.
      Specified by:
      asRefObjectMap in interface org.aksw.rmltk.model.backbone.common.ITermSpec
      Returns:
    • qualifiesAsTermMap

      default boolean qualifiesAsTermMap()
      R2RML specifies that the condition for an entity to qualify as a "term map" is "Having exactly one of rr:constant, rr:column, rr:template"
      Specified by:
      qualifiesAsTermMap in interface org.aksw.rmltk.model.backbone.common.ITermSpec
      Returns:
    • asTermMap

      default TermMapRml2 asTermMap()
      Obtain an ObjectMap view of this resource. Calling this method does NOT require
      invalid reference
      #qualifiesAsObjectMap()
      to yield true.
      Specified by:
      asTermMap in interface org.aksw.rmltk.model.backbone.common.ITermSpec
      Returns: