All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.clarkparsia.pellet.sparqldl.model.QueryAtom Maven / Gradle / Ivy

// Copyright (c) 2006 - 2008, Clark & Parsia, LLC. 
// This source code is available under the terms of the Affero General Public License v3.
//
// Please see LICENSE.txt for full license terms, including the availability of proprietary exceptions.
// Questions, comments, or requests for clarification: [email protected]

package com.clarkparsia.pellet.sparqldl.model;

import java.util.List;

import aterm.ATermAppl;

/**
 * 

* Title: Atom of a SPARQL-DL query. *

*

* Description: *

*

* Copyright: Copyright (c) 2007 *

*

* Company: Clark & Parsia, LLC. *

* * @author Petr Kremen */ public interface QueryAtom { /** * Returns predicate of the query atom. * * @return predicate of the query atom */ public QueryPredicate getPredicate(); /** * Returns arguments of the atom. * * @return arguments of the atom */ public List getArguments(); /** * * @return true if the atom is ground, i.e. does not use variables, either * distinguished or undistinguished ones. */ public boolean isGround(); /** * Applies variable binding to the current atom and returns the result which * might be same as the current atom. Current atom is not affected. * * @param binding * QueryBinding to apply * @return a query atom with applied query binding */ public QueryAtom apply(final ResultBinding binding); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy