openllet.query.sparqldl.model.Query.getUndistVars()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(3.9k)|赞(0)|评价(0)|浏览(143)

本文整理了Java中openllet.query.sparqldl.model.Query.getUndistVars方法的一些代码示例,展示了Query.getUndistVars的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.getUndistVars方法的具体详情如下:
包路径:openllet.query.sparqldl.model.Query
类名称:Query
方法名:getUndistVars

Query.getUndistVars介绍

[英]Return all undistinguished variables used in this query.
[中]返回此查询中使用的所有无差别变量。

代码示例

代码示例来源:origin: Galigator/openllet

@Override
public Set<ATermAppl> getUndistVars()
{
  return _query.getUndistVars();
}

代码示例来源:origin: com.github.galigator.openllet/openllet-query

@Override
public Set<ATermAppl> getUndistVars()
{
  return _query.getUndistVars();
}

代码示例来源:origin: Galigator/openllet

@Override
public Set<ATermAppl> getUndistVars()
{
  return _query.getUndistVars();
}

代码示例来源:origin: com.github.galigator.openllet/openllet-query

private Query setupCores(final Query query)
  final Iterator<ATermAppl> undistVarIterator = query.getUndistVars().iterator();
  if (!undistVarIterator.hasNext())
    return query;
      if (query.getUndistVars().contains(a2))
      if (query.getUndistVars().contains(a2))
        atoms.add((QueryAtom) a);
    final CoreNewImpl c = (CoreNewImpl) QueryAtomFactory.Core(atoms, query.getUndistVars(), _kb);

代码示例来源:origin: Galigator/openllet

private Query setupCores(final Query query)
  final Iterator<ATermAppl> undistVarIterator = query.getUndistVars().iterator();
  if (!undistVarIterator.hasNext())
    return query;
      if (query.getUndistVars().contains(a2))
      if (query.getUndistVars().contains(a2))
        atoms.add((QueryAtom) a);
    final CoreNewImpl c = (CoreNewImpl) QueryAtomFactory.Core(atoms, query.getUndistVars(), _kb);

代码示例来源:origin: Galigator/openllet

private Query setupCores(final Query query)
  final Iterator<ATermAppl> undistVarIterator = query.getUndistVars().iterator();
  if (!undistVarIterator.hasNext())
    return query;
      if (query.getUndistVars().contains(a2))
      if (query.getUndistVars().contains(a2))
        atoms.add((QueryAtom) a);
    final CoreNewImpl c = (CoreNewImpl) QueryAtomFactory.Core(atoms, query.getUndistVars(), _kb);

代码示例来源:origin: com.github.galigator.openllet/openllet-query

final Set<ATermAppl> undistVars = q.getUndistVars();

代码示例来源:origin: Galigator/openllet

final Set<ATermAppl> undistVars = q.getUndistVars();

代码示例来源:origin: Galigator/openllet

final Set<ATermAppl> undistVars = q.getUndistVars();

代码示例来源:origin: com.github.galigator.openllet/openllet-query

final ATermAppl testVar = query.getUndistVars().iterator().next();
final ATermAppl testClass = query.rollUpTo(testVar, Collections.<ATermAppl> emptySet(), false);

代码示例来源:origin: Galigator/openllet

final ATermAppl testVar = query.getUndistVars().iterator().next();
final ATermAppl testClass = query.rollUpTo(testVar, Collections.<ATermAppl> emptySet(), false);

代码示例来源:origin: Galigator/openllet

final ATermAppl testVar = query.getUndistVars().iterator().next();
final ATermAppl testClass = query.rollUpTo(testVar, Collections.<ATermAppl> emptySet(), false);

代码示例来源:origin: Galigator/openllet

protected Query query(final ATermAppl[] vars, final QueryAtom[] atoms)
{
  final Query q = new QueryImpl(_kb, true);
  for (final ATermAppl var : vars)
    q.addResultVar(var);
  for (final QueryAtom atom : atoms)
    q.add(atom);
  for (final ATermAppl var : q.getUndistVars())
    q.addDistVar(var, VarType.INDIVIDUAL);
  return q;
}

代码示例来源:origin: com.github.galigator.openllet/openllet-query

newQuery.add(atom.apply(binding));
for (final ATermAppl var : newQuery.getUndistVars())
  newQuery.addDistVar(var, VarType.INDIVIDUAL);
  for (final QueryAtom atom : atoms)
    newQuery.add(atom.apply(binding));
  for (final ATermAppl var : newQuery.getUndistVars())

代码示例来源:origin: Galigator/openllet

newQuery.add(atom.apply(binding));
for (final ATermAppl var : newQuery.getUndistVars())
  newQuery.addDistVar(var, VarType.INDIVIDUAL);
  for (final QueryAtom atom : atoms)
    newQuery.add(atom.apply(binding));
  for (final ATermAppl var : newQuery.getUndistVars())

代码示例来源:origin: Galigator/openllet

newQuery.add(atom.apply(binding));
for (final ATermAppl var : newQuery.getUndistVars())
  newQuery.addDistVar(var, VarType.INDIVIDUAL);
  for (final QueryAtom atom : atoms)
    newQuery.add(atom.apply(binding));
  for (final ATermAppl var : newQuery.getUndistVars())

相关文章