Class DatasetRDFSAssembler

java.lang.Object
org.apache.jena.assembler.assemblers.AssemblerBase
All Implemented Interfaces:
org.apache.jena.assembler.Assembler

public class DatasetRDFSAssembler extends NamedDatasetAssembler
  • Field Summary

    Fields inherited from class org.apache.jena.sparql.core.assembler.NamedDatasetAssembler

    sharedDatasetPool

    Fields inherited from interface org.apache.jena.assembler.Assembler

    content, defaultModel, documentManager, general, infModel, memoryModel, ontModel, ontModelSpec, prefixMapping, reasonerFactory, ruleSet, unionModel
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    createDataset(org.apache.jena.assembler.Assembler a, org.apache.jena.rdf.model.Resource root)
    <#rdfsDS> rdf:type ja:DatasetRDFS ; ja:rdfs "vocab.ttl"; ja:dataset <#baseDS> ; .
    static org.apache.jena.rdf.model.Resource
     
    Shared DatasetGraph objects

    Methods inherited from class org.apache.jena.sparql.core.assembler.NamedDatasetAssembler

    createNamedDataset

    Methods inherited from class org.apache.jena.sparql.core.assembler.DatasetAssembler

    getGeneralType, open

    Methods inherited from class org.apache.jena.assembler.assemblers.AssemblerBase

    getOptionalClassName, getRequiredResource, open, open, openModel, openModel

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.jena.assembler.Assembler

    open, open, openModel, openModel
  • Constructor Details

    • DatasetRDFSAssembler

      public DatasetRDFSAssembler()
  • Method Details

    • getType

      public static org.apache.jena.rdf.model.Resource getType()
    • pool

      public Map<String,DatasetGraph> pool()
      Description copied from class: NamedDatasetAssembler
      Shared DatasetGraph objects
      Specified by:
      pool in class NamedDatasetAssembler
    • createDataset

      public DatasetGraph createDataset(org.apache.jena.assembler.Assembler a, org.apache.jena.rdf.model.Resource root)
       <#rdfsDS> rdf:type ja:DatasetRDFS ;
            ja:rdfs "vocab.ttl";
            ja:dataset <#baseDS> ;
            .
      
       <#baseDS> rdf:type ja:MemoryDataset ;
           ja:name "TIM database"  # optional: this is need if the base database is accessed directly.
           ja:data "data1.trig";
           ## ja:data "data2.trig";
      
           .