Class SPARQLUtils
- java.lang.Object
-
- com.complexible.stardog.docs.nlp.utils.SPARQLUtils
-
public class SPARQLUtils extends java.lang.Object
- Since:
- 5.3
- Version:
- 5.3
- Author:
- Pedro Oliveira
-
-
Constructor Summary
Constructors Constructor Description SPARQLUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
from(IRI... theContexts)
Generates a list of FROMs for the given contextsstatic java.lang.String
numberedOptionals(IRI... theProperties)
Generates a list of OPTIONAL { ?subj :property ?0/1/2..}static java.lang.String
union(IRI... theProperties)
Generates a list of {?subj :property ?obj} UNIONs
-
-
-
Method Detail
-
from
public static java.lang.String from(IRI... theContexts)
Generates a list of FROMs for the given contexts
-
union
public static java.lang.String union(IRI... theProperties)
Generates a list of {?subj :property ?obj} UNIONs
-
numberedOptionals
public static java.lang.String numberedOptionals(IRI... theProperties)
Generates a list of OPTIONAL { ?subj :property ?0/1/2..}
-
-