Class CustomViewSparqlUtils
java.lang.Object
it.uniroma2.art.semanticturkey.config.customview.CustomViewSparqlUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getRetrieveObjectVariable
(String retrieveQuery) Returns the object variable name for the triple $resource $predicate ?getReturnedPivotVariables
(String retrieveQuery) Returns a set of pivot variables (pivot, pivot_1, pivot_123, ...) returned by the querygetValueVariables
(String retrieveQuery) Returns mappings for field variables (for each variable like ?
-
Constructor Details
-
CustomViewSparqlUtils
public CustomViewSparqlUtils()
-
-
Method Details
-
getReturnedPivotVariables
Returns a set of pivot variables (pivot, pivot_1, pivot_123, ...) returned by the query- Parameters:
retrieveQuery
-- Returns:
-
getRetrieveObjectVariable
Returns the object variable name for the triple $resource $predicate ?object- Returns:
-
getValueVariables
Returns mappings for field variables (for each variable like ?foo_value ?bar_value in the select) foo_value => foo bar_value => bar- Returns:
-