public class KnowledgeCardCreator extends Object
| Modifier and Type | Field and Description |
|---|---|
private static int |
API_TIMEOUT |
private static String |
ENDPOINT |
private static int |
MAX_FIELD_SIZE |
private static String |
PREFIXES |
| Constructor and Description |
|---|
KnowledgeCardCreator() |
| Modifier and Type | Method and Description |
|---|---|
private org.apache.jena.query.QueryExecution |
executeQuery(String queryString) |
List<Field> |
getRelevantProperties(String uri,
List<String> Answer,
HashSet<String> properties) |
String |
process(String uri) |
private List<ExplorerProperties> |
readCSVWithExplorerProperties(HashSet<String> properties) |
private static final int MAX_FIELD_SIZE
private static final int API_TIMEOUT
private static final String ENDPOINT
private static final String PREFIXES
private org.apache.jena.query.QueryExecution executeQuery(String queryString)
public String process(String uri) throws com.fasterxml.jackson.core.JsonGenerationException, IOException
com.fasterxml.jackson.core.JsonGenerationExceptionIOExceptionpublic List<Field> getRelevantProperties(String uri, List<String> Answer, HashSet<String> properties)
private List<ExplorerProperties> readCSVWithExplorerProperties(HashSet<String> properties) throws IOException
IOExceptionCopyright © 2016–2019. All rights reserved.