public static QueryAtom NotKnownAtom(final List<QueryAtom> atoms) { return new NotKnownQueryAtom(atoms); }
return kb.isTransitiveProperty(arguments.get(0)); case NotKnown: for (final QueryAtom notAtom : ((NotKnownQueryAtom) atom).getAtoms()) if (!checkGround(notAtom, kb)) return true;
return kb.isTransitiveProperty(arguments.get(0)); case NotKnown: for (final QueryAtom notAtom : ((NotKnownQueryAtom) atom).getAtoms()) if (!checkGround(notAtom, kb)) return true;
public static QueryAtom NotKnownAtom(final List<QueryAtom> atoms) { return new NotKnownQueryAtom(atoms); }
return kb.isTransitiveProperty(arguments.get(0)); case NotKnown: for (final QueryAtom notAtom : ((NotKnownQueryAtom) atom).getAtoms()) if (!checkGround(notAtom, kb)) return true;
public static QueryAtom NotKnownAtom(final QueryAtom atom) { return new NotKnownQueryAtom(atom); }
return !hasUndefinedTerm(((NotKnownQueryAtom) atom).getAtoms(), kb);
public static QueryAtom NotKnownAtom(final QueryAtom atom) { return new NotKnownQueryAtom(atom); }
return !hasUndefinedTerm(((NotKnownQueryAtom) atom).getAtoms(), kb);
public static QueryAtom NotKnownAtom(final List<QueryAtom> atoms) { return new NotKnownQueryAtom(atoms); }
return !hasUndefinedTerm(((NotKnownQueryAtom) atom).getAtoms(), kb);
public static QueryAtom NotKnownAtom(final QueryAtom atom) { return new NotKnownQueryAtom(atom); }
for (final QueryAtom atom : ((NotKnownQueryAtom) current).getAtoms()) newQuery.add(atom.apply(binding));
public static QueryAtom NotKnownAtom(final QueryAtom... atoms) { return new NotKnownQueryAtom(Arrays.asList(atoms)); }
for (final QueryAtom atom : ((NotKnownQueryAtom) current).getAtoms()) newQuery.add(atom.apply(binding));
public static QueryAtom NotKnownAtom(final QueryAtom... atoms) { return new NotKnownQueryAtom(Arrays.asList(atoms)); }
for (final QueryAtom atom : ((NotKnownQueryAtom) current).getAtoms()) newQuery.add(atom.apply(binding));
public static QueryAtom NotKnownAtom(final QueryAtom... atoms) { return new NotKnownQueryAtom(Arrays.asList(atoms)); }
estimate(((NotKnownQueryAtom) atom).getAtoms(), bound); break;
@Override public QueryAtom apply(final ResultBinding binding) { List<QueryAtom> newAtoms; if (_atoms.size() == 1) newAtoms = Collections.singletonList(_atoms.get(0).apply(binding)); else { newAtoms = new ArrayList<>(); for (final QueryAtom atom : _atoms) newAtoms.add(atom.apply(binding)); } return new NotKnownQueryAtom(newAtoms); }