Class NaturalRDFTranslator
java.lang.Object
fr.inria.rules.integraal.io.rdf.NaturalRDFTranslator
- All Implemented Interfaces:
RDFTranslator
Translates an RDF statement (triple) into a binary atom predicate⟨subject, object⟩.
The RDF values are converted to Term via the default helper
RDFTranslator.toTerm(org.eclipse.rdf4j.model.Value).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatementToAtom(org.eclipse.rdf4j.model.Statement st) Translate (convert) RDF statements (triples) into atomsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RDFTranslator
toTerm
-
Constructor Details
-
NaturalRDFTranslator
public NaturalRDFTranslator()Creates a natural RDF translator.
-
-
Method Details
-
statementToAtom
Description copied from interface:RDFTranslatorTranslate (convert) RDF statements (triples) into atoms- Specified by:
statementToAtomin interfaceRDFTranslator- Parameters:
st- the rdf statement to convert- Returns:
- the atom corresponding to the given statement according to the translator implementation
-