A B C D E F G H I N P Q S T V

A

args - Variable in class de.derivo.sparqldlapi.QueryAtom
 
ask() - Method in interface de.derivo.sparqldlapi.QueryResult
Ask if the query had a solution.

B

bind(QueryBinding) - Method in class de.derivo.sparqldlapi.QueryAtom
A convenience method to clone the QueryAtom instance while inserting a new binding.
bound - Variable in class de.derivo.sparqldlapi.QueryAtom
 

C

create(String) - Static method in class de.derivo.sparqldlapi.Query
A factory method to create a query from string.
create(OWLOntologyManager, OWLReasoner) - Static method in class de.derivo.sparqldlapi.QueryEngine
Factory method to create a QueryEngine instance.
create(OWLOntologyManager, OWLReasoner, boolean) - Static method in class de.derivo.sparqldlapi.QueryEngine
Factory method to create a QueryEngine instance.

D

de.derivo.sparqldlapi - package de.derivo.sparqldlapi
 
de.derivo.sparqldlapi.exceptions - package de.derivo.sparqldlapi.exceptions
 
de.derivo.sparqldlapi.types - package de.derivo.sparqldlapi.types
 

E

equals(Object) - Method in class de.derivo.sparqldlapi.QueryArgument
 
equals(Object) - Method in class de.derivo.sparqldlapi.QueryAtom
 
equals(Object) - Method in interface de.derivo.sparqldlapi.QueryAtomGroup
 
equals(Object) - Method in class de.derivo.sparqldlapi.QueryToken
 
execute(Query) - Method in class de.derivo.sparqldlapi.QueryEngine
Execute a sparql-dl query and generate the result set.

F

fromString(String) - Static method in enum de.derivo.sparqldlapi.types.QueryAtomType
 
fromString(String) - Static method in enum de.derivo.sparqldlapi.types.QueryType
 

G

get(QueryArgument) - Method in interface de.derivo.sparqldlapi.QueryBinding
Get the binding of a query argument.
get(int) - Method in interface de.derivo.sparqldlapi.QueryResult
Returns the QueryBinding at the specified position of the result.
getArguments() - Method in class de.derivo.sparqldlapi.QueryAtom
Get the arguments of the atom.
getAtomGroups() - Method in class de.derivo.sparqldlapi.Query
Get an unodifiable list of all query atom groups.
getAtoms() - Method in interface de.derivo.sparqldlapi.QueryAtomGroup
Get an unodifiable list of all query atoms in the group.
getBoundArgs() - Method in interface de.derivo.sparqldlapi.QueryBinding
Get all bound arguments.
getCol() - Method in class de.derivo.sparqldlapi.QueryToken
 
getPos() - Method in class de.derivo.sparqldlapi.QueryToken
 
getQuery() - Method in interface de.derivo.sparqldlapi.QueryResult
Get the query that belongs to this result.
getResultVars() - Method in class de.derivo.sparqldlapi.Query
Get an unodifiable set of all result variables.
getRow() - Method in class de.derivo.sparqldlapi.QueryToken
 
getToken() - Method in class de.derivo.sparqldlapi.QueryToken
 
getType() - Method in class de.derivo.sparqldlapi.Query
Get the type of the query.
getType() - Method in class de.derivo.sparqldlapi.QueryArgument
Get the type of the query argument.
getType() - Method in class de.derivo.sparqldlapi.QueryAtom
Get the exact type of the atom.
getValue() - Method in class de.derivo.sparqldlapi.QueryArgument
Get the value of the query argument.

H

hashCode() - Method in class de.derivo.sparqldlapi.QueryArgument
 
hashCode() - Method in class de.derivo.sparqldlapi.QueryAtom
 
hashCode() - Method in interface de.derivo.sparqldlapi.QueryAtomGroup
 
hashCode() - Method in class de.derivo.sparqldlapi.QueryToken
 
hasType(QueryArgumentType) - Method in class de.derivo.sparqldlapi.QueryArgument
Check whether the query argument has a special type.
hasType(QueryAtomType) - Method in class de.derivo.sparqldlapi.QueryAtom
Check whether this atom has a concrete type.

I

isAsk() - Method in class de.derivo.sparqldlapi.Query
Check whether the query is of type ASK
isBnode() - Method in class de.derivo.sparqldlapi.QueryArgument
Check whether the query argument is a bnode.
isBound() - Method in class de.derivo.sparqldlapi.QueryAtom
Check whether the atom contains any variables or not.
isBound(QueryArgument) - Method in interface de.derivo.sparqldlapi.QueryBinding
Check whether an argument is bound.
isEmpty() - Method in class de.derivo.sparqldlapi.Query
Check whether there are any atoms in the query.
isEmpty() - Method in interface de.derivo.sparqldlapi.QueryAtomGroup
Check whether there are any atoms in the group.
isEmpty() - Method in interface de.derivo.sparqldlapi.QueryBinding
Check whether there are any bindings.
isEmpty() - Method in interface de.derivo.sparqldlapi.QueryResult
Check whether the result set is empty.
isLiteral() - Method in class de.derivo.sparqldlapi.QueryArgument
Check whether the query argument is a literal.
isResultVar(QueryArgument) - Method in class de.derivo.sparqldlapi.Query
Check whether the given query argument is a result variable.
isSelect() - Method in class de.derivo.sparqldlapi.Query
Check whether the query is of type SELECT.
isSelectDistinct() - Method in class de.derivo.sparqldlapi.Query
Check whether the query is of type SELECT DISTINCT.
isURI() - Method in class de.derivo.sparqldlapi.QueryArgument
Check whether the query argument is an URI.
isVar() - Method in class de.derivo.sparqldlapi.QueryArgument
Check whether the query argument is a variable.
iterator() - Method in interface de.derivo.sparqldlapi.QueryResult
An iterator over the result set.

N

newBnode(String) - Static method in class de.derivo.sparqldlapi.QueryArgument
Factory method to create a QueryArgument instance with type BNODE by string.
newLiteral(String) - Static method in class de.derivo.sparqldlapi.QueryArgument
Factory method to create a QueryArgument instance with type LITERAL by string.
newURI(IRI) - Static method in class de.derivo.sparqldlapi.QueryArgument
Factory method to create a QueryArgument instance with type URI by IRI.
newVar(String) - Static method in class de.derivo.sparqldlapi.QueryArgument
Factory method to create a QueryArgument instance with type VAR by string.
numResultVars() - Method in class de.derivo.sparqldlapi.Query
Get the number of result variables.

P

parse(List<QueryToken>) - Method in interface de.derivo.sparqldlapi.QueryParser
Parse the query.

Q

Query - Class in de.derivo.sparqldlapi
The Query class represents a SPARQL-DL query and mainly contains query atoms.
Query() - Constructor for class de.derivo.sparqldlapi.Query
 
QueryArgument - Class in de.derivo.sparqldlapi
This class represents a query argument (e.g. an URI or a variable).
QueryArgument(QueryArgumentType, String) - Constructor for class de.derivo.sparqldlapi.QueryArgument
 
QueryArgumentType - Enum in de.derivo.sparqldlapi.types
All possible query argument types.
QueryAtom - Class in de.derivo.sparqldlapi
This class represents a query atom.
QueryAtom(QueryAtomType, QueryArgument...) - Constructor for class de.derivo.sparqldlapi.QueryAtom
 
QueryAtom(QueryAtomType, List<QueryArgument>) - Constructor for class de.derivo.sparqldlapi.QueryAtom
 
QueryAtomGroup - Interface in de.derivo.sparqldlapi
The QueryAtomGroup class contains a group of atoms of a WHERE {} or UNION {} statement.
QueryAtomType - Enum in de.derivo.sparqldlapi.types
All possible query atoms types.
QueryBinding - Interface in de.derivo.sparqldlapi
A QueryBinding is one single entry in the result set of an executed query.
QueryEngine - Class in de.derivo.sparqldlapi
The query engine that executes a query and generates the appropriate result set.
QueryEngine() - Constructor for class de.derivo.sparqldlapi.QueryEngine
 
QueryEngineException - Exception in de.derivo.sparqldlapi.exceptions
 
QueryEngineException(String) - Constructor for exception de.derivo.sparqldlapi.exceptions.QueryEngineException
 
QueryParser - Interface in de.derivo.sparqldlapi
The SPARQL-DL query parser.
QueryParserException - Exception in de.derivo.sparqldlapi.exceptions
 
QueryParserException(String) - Constructor for exception de.derivo.sparqldlapi.exceptions.QueryParserException
 
QueryParserException(String, QueryToken) - Constructor for exception de.derivo.sparqldlapi.exceptions.QueryParserException
 
QueryResult - Interface in de.derivo.sparqldlapi
QueryResult contains the result set of an executed query with all bindings.
QueryToken - Class in de.derivo.sparqldlapi
The SPARQL-DL query token.
QueryToken(String, int, int, int) - Constructor for class de.derivo.sparqldlapi.QueryToken
 
QueryTokenizer - Interface in de.derivo.sparqldlapi
The SPARQL-DL query tokenizer.
QueryType - Enum in de.derivo.sparqldlapi.types
All possible query types.

S

size() - Method in interface de.derivo.sparqldlapi.QueryBinding
Get the number of bound arguments.
size() - Method in interface de.derivo.sparqldlapi.QueryResult
Get the size of the result set.

T

toJSON() - Method in interface de.derivo.sparqldlapi.QueryResult
Output query results in JSON format as standardized in http://www.w3.org/TR/rdf-sparql-json-res/.
tokenize(String) - Method in interface de.derivo.sparqldlapi.QueryTokenizer
Tokenize a SPARQL-DL query string.
toString() - Method in exception de.derivo.sparqldlapi.exceptions.QueryParserException
 
toString() - Method in class de.derivo.sparqldlapi.Query
Print the SPARQL-DL query as string.
toString() - Method in class de.derivo.sparqldlapi.QueryArgument
Print the query argument as string.
toString() - Method in class de.derivo.sparqldlapi.QueryAtom
Get the atom as string.
toString() - Method in interface de.derivo.sparqldlapi.QueryAtomGroup
Print the group as string.
toString() - Method in interface de.derivo.sparqldlapi.QueryResult
Use this method for debugging purposes.
toString() - Method in class de.derivo.sparqldlapi.QueryToken
 
toString() - Method in enum de.derivo.sparqldlapi.types.QueryAtomType
 
toXML() - Method in interface de.derivo.sparqldlapi.QueryResult
Output query results as JDOM XML document containing the standard SPARQL query results XML format (http://www.w3.org/TR/rdf-sparql-XMLres/).
type - Variable in class de.derivo.sparqldlapi.QueryAtom
 

V

valueOf(String) - Static method in enum de.derivo.sparqldlapi.types.QueryArgumentType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.derivo.sparqldlapi.types.QueryAtomType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.derivo.sparqldlapi.types.QueryType
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.derivo.sparqldlapi.types.QueryArgumentType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.derivo.sparqldlapi.types.QueryAtomType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.derivo.sparqldlapi.types.QueryType
Returns an array containing the constants of this enum type, in the order they are declared.

A B C D E F G H I N P Q S T V