String subject, predicate, object = ""; String originalString = atom.getFunctionSymbol().toString(); if (isUnary(atom)) { Term subjectTerm = atom.getTerm(0); subject = getDisplayName(subjectTerm, prefixManager);
String subject, predicate, object = ""; String originalString = atom.getProjectionAtom().getPredicate().toString(); if (isUnary(atom.getProjectionAtom())) { ImmutableTerm subjectTerm = atom.getSubstitutedTerm(0); subject = getDisplayName(subjectTerm, prefixManager);