public class TypeMismatch extends Object implements ISPARQLQueryPruner
| Modifier and Type | Field and Description |
|---|---|
private static Set<String> |
ignoredProperties |
private static org.slf4j.Logger |
logger |
private com.jamonapi.Monitor |
mon |
private static Set<org.apache.jena.rdf.model.Resource> |
PROPERTY_ENTITY_TYPES |
private org.aksw.jena_sparql_api.core.QueryExecutionFactory |
qef |
private QueryUtils |
queryUtils |
private static org.apache.jena.query.ParameterizedSparqlString |
typeQueryTemplate |
| Constructor and Description |
|---|
TypeMismatch(org.aksw.jena_sparql_api.core.QueryExecutionFactory qef) |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
accept(SPARQLQuery sparqlQuery) |
private Set<org.apache.jena.rdf.model.Resource> |
getEntityTypes(String entity) |
private boolean |
isProperty(Set<org.apache.jena.rdf.model.Resource> entityTypes) |
Set<SPARQLQuery> |
prune(Set<SPARQLQuery> queryStrings,
HAWKQuestion q) |
private static final org.apache.jena.query.ParameterizedSparqlString typeQueryTemplate
private static final Set<org.apache.jena.rdf.model.Resource> PROPERTY_ENTITY_TYPES
private static final org.slf4j.Logger logger
private org.aksw.jena_sparql_api.core.QueryExecutionFactory qef
private QueryUtils queryUtils
private com.jamonapi.Monitor mon
public TypeMismatch(org.aksw.jena_sparql_api.core.QueryExecutionFactory qef)
public Set<SPARQLQuery> prune(Set<SPARQLQuery> queryStrings, HAWKQuestion q)
prune in interface ISPARQLQueryPrunerprivate boolean accept(SPARQLQuery sparqlQuery)
private boolean isProperty(Set<org.apache.jena.rdf.model.Resource> entityTypes)
Copyright © 2016–2017 Pivotal Software, Inc.. All rights reserved.