public class FreebaseSearch extends Object
Constructor and Description |
---|
FreebaseSearch() |
FreebaseSearch(String cacheLocation) |
FreebaseSearch(String cacheLocation,
String key) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
List<FreebaseAnswer> |
lookup(String query) |
List<String> |
lookupRdf(String query)
Query Freebase by ID
|
static void |
main(String[] args) |
String[] |
query(String q) |
public FreebaseSearch()
public FreebaseSearch(String cacheLocation)
public List<FreebaseAnswer> lookup(String query) throws Exception
Exception
public List<String> lookupRdf(String query)
query:
- in the form of m/09c7w0Exception
public String[] query(String q) throws IOException
IOException
public void close() throws IOException
IOException
Copyright © 2017. All rights reserved.