eu.larkc.jactr.core.chunk.rdf
Interface ISymbolicChunkRdf

All Superinterfaces:
IAdaptable, ISlotContainer, ISymbolicChunk, IUniqueSlotContainer
All Known Subinterfaces:
ISymbolicChunkLarKC
All Known Implementing Classes:
BasicSymbolicChunkLarKC, BasicSymbolicChunkRdf

public interface ISymbolicChunkRdf
extends ISymbolicChunk

Symbolic chunks that implement this interface contain RDF data.

Author:
Martijn Brakenhoff

Field Summary
static String RDF_SLOT_NAME
           
 
Method Summary
 org.openrdf.model.Resource getChunkResource()
          Retrieve the RDF Resource that represents this Chunk.
 LabelledGroupOfStatements getRdfData()
          Retrieve the RDF Data stored in this Chunk.
 void setRdfData(LabelledGroupOfStatements statements)
          Set the RDF Data to be the given LabelledGroupOfStatements
 
Methods inherited from interface org.jactr.core.chunk.ISymbolicChunk
dispose, encode, getChunkType, getName, getParentChunk, isA, isAStrict, setName
 
Methods inherited from interface org.jactr.core.slot.IUniqueSlotContainer
getSlot
 
Methods inherited from interface org.jactr.core.slot.ISlotContainer
addSlot, getSlots, getSlots, removeSlot
 
Methods inherited from interface org.jactr.core.utils.IAdaptable
getAdapter
 

Field Detail

RDF_SLOT_NAME

static final String RDF_SLOT_NAME
See Also:
Constant Field Values
Method Detail

setRdfData

void setRdfData(LabelledGroupOfStatements statements)
Set the RDF Data to be the given LabelledGroupOfStatements

Parameters:
statements - The labelled group of statements that contain information for this chunk.

getRdfData

LabelledGroupOfStatements getRdfData()
Retrieve the RDF Data stored in this Chunk.

Returns:
the data stored in this chunk.

getChunkResource

org.openrdf.model.Resource getChunkResource()
Retrieve the RDF Resource that represents this Chunk.

Returns:
the chunk-resource.