Class RawRDFTranslator
java.lang.Object
fr.inria.rules.integraal.io.rdf.RawRDFTranslator
- All Implemented Interfaces:
RDFTranslator
Converts an RDF statement into an Atom with predicate "triple" and arity = 3.
The resulting Atom is of the form: triple(subjectTerm, predicateTerm, objectTerm)
-
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
-
RawRDFTranslator
public RawRDFTranslator()Creates the raw 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
-