Package org.aksw.qa.annotation.sparql
Class PatternSparqlGenerator
java.lang.Object
org.aksw.qa.annotation.sparql.PatternSparqlGenerator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class(package private) class(package private) class(package private) class(package private) static class(package private) class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Stringprivate static PatternSparqlGeneratorprivate Integerprivate static Stringprivate NifEverythingprivate static Stringprivate static Stringprivate static Stringprivate static Stringprivate SimpleQuantityRankerprivate static String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate PatternSparqlGenerator.Querypartclazz(int index)private Stringconstruct(PatternSparqlGenerator.Querytype type, PatternSparqlGenerator.Querypart... queryparts)private <T> List<T>emptyIfNull(List<T> coll)static PatternSparqlGeneratorintgetLimit()private PatternSparqlGenerator.Querypartnamed(int index)nifStrigToQuery(String nifString)nifToQuery(org.aksw.gerbil.transfer.nif.Document doc)private PatternSparqlGenerator.Querypartprop(int index)voidsetLimit(int limit)private PatternSparqlGenerator.Querypart
-
Field Details
-
NOT_DEFINED
- See Also:
- Constant Field Values
-
instance
-
limit
-
nif
-
ranker
-
classes
-
properties
-
namedEntities
-
CLASS_PREFIX
- See Also:
- Constant Field Values
-
PROPERTY_PREFIX
- See Also:
- Constant Field Values
-
NAMED_ENTITY_PREFIX
- See Also:
- Constant Field Values
-
URI_START_PREFIX
- See Also:
- Constant Field Values
-
PROJ
- See Also:
- Constant Field Values
-
PROJ2
- See Also:
- Constant Field Values
-
-
Constructor Details
-
PatternSparqlGenerator
private PatternSparqlGenerator()
-
-
Method Details
-
getInstance
-
nifToQuery
-
nifStrigToQuery
-
generateQuery
-
emptyIfNull
-
clazz
-
prop
-
named
-
var
-
getLimit
public int getLimit() -
setLimit
public void setLimit(int limit) -
construct
private String construct(PatternSparqlGenerator.Querytype type, PatternSparqlGenerator.Querypart... queryparts)
-