|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.fuberlin.wiwiss.ng4j.semwebclient.CommandLineQuery
public class CommandLineQuery
| Constructor Summary | |
|---|---|
CommandLineQuery()
|
|
| Method Summary | |
|---|---|
void |
addSourceURI(String uri)
Loads a file from the Web before the query is executed. |
void |
run()
Executes the query specified using the other options. |
void |
setEnableGrddl(boolean enableGrddl)
Enables the GRDDL transformations. |
void |
setFindTriple(Triple triple)
Sets a triple pattern to be used as a query against the Semantic Web. |
void |
setLoadGraphSet(String file,
String format)
Loads a set of graphs from a file before the query is executed. |
void |
setMaxFilesize(int maxFilesize)
Sets the maximal number of iterations of the retrieval algorithm. |
void |
setMaxSteps(int maxSteps)
Sets the maximal number of iterations of the retrieval algorithm. |
void |
setMaxThreads(int maxThreads)
Sets the maximal number of parallel threads for retrieving URIs. |
void |
setOutputFailedURIs(boolean outputFailedURIs)
Output a list of all URIs that could not be retrieved? |
void |
setOutputRetrievedURIs(boolean outputRetrievedURIs)
Output a list of all successfully retrieved URIs? |
void |
setSPARQLFile(String filename)
A SPARQL query is loaded from a file and executed against the Semantic Web. |
void |
setSPARQLQuery(String query)
Sets a SPARQL query to be executed against the Semantic Web. |
void |
setTimeout(long timeoutMilliseconds)
Sets the timeout of the query in milliseconds. |
void |
setWriteGraphSet(String file,
String format)
Saves all graphs that have been retrieved into a file after query execution has finished. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandLineQuery()
| Method Detail |
|---|
public void setSPARQLQuery(String query)
query - public void setSPARQLFile(String filename)
filename - public void setFindTriple(Triple triple)
triple - An RDF triple, may contain Node.ANY wildcardspublic void setMaxSteps(int maxSteps)
maxSteps - public void setMaxFilesize(int maxFilesize)
maxSteps - public void setTimeout(long timeoutMilliseconds)
timeoutMilliseconds - public void setMaxThreads(int maxThreads)
maxThreads - public void setEnableGrddl(boolean enableGrddl)
enableGrddl - public void addSourceURI(String uri)
uri -
public void setLoadGraphSet(String file,
String format)
file - Filename of the graph set fileformat - "TRIG" or "TRIX"
public void setWriteGraphSet(String file,
String format)
file - Filename of the destination fileformat - "TRIG" or "TRIX"public void setOutputRetrievedURIs(boolean outputRetrievedURIs)
outputRetrievedURIs - public void setOutputFailedURIs(boolean outputFailedURIs)
outputFailedURIs -
public void run()
throws Exception
Exception - Indicates an error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||