public class YagoQueryUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
WORDNET_COMPANY_URI
wordnet company uri
|
static String |
WORDNET_ENTERPRISE_URI
wordnet enterprise uri
|
static String[] |
WORDNET_ORGANISATION_ROOT_URIS
the various kinds of wordnet organisation
|
static String |
WORDNET_ORGANISATION_URI
The wordnet organisation URI
|
static String |
YAGO_SPARQL_ENDPOINT
The openlinksw sparql endpoint
|
Constructor and Description |
---|
YagoQueryUtils() |
public static String YAGO_SPARQL_ENDPOINT
public static String WORDNET_ORGANISATION_URI
public static String WORDNET_ENTERPRISE_URI
public static String WORDNET_COMPANY_URI
public static String[] WORDNET_ORGANISATION_ROOT_URIS
public YagoQueryUtils()
public static String isCalledAlliasQuery(String companyURI)
companyURI
- public static String labelAlliasQuery(String companyURI)
companyURI
- public static String wordnetCompanyQuery()
WORDNET_COMPANY_URI
public static String subClassWordnetCompanyQuery()
WORDNET_COMPANY_URI
public static String ownsContextQuery(String companyURI)
companyURI
- public static String createdContextQuery(String companyURI)
companyURI
- public static String anchorContextQuery(String companyURI)
companyURI
- public static String wikiURLContextQuery(String companyURI)
companyURI
- public static String factObjectsQuery(String subjectURI, String predicateURI)
subjectURI
- predicateURI
- public static String tripleObjectsQuery(String subjectURI, String predicateURI)
subjectURI
- predicateURI
- public static String factSubjectsQuery(String objectURI, String predicateURI)
objectURI
- predicateURI
- public static String tripleSubjectsQuery(String objectURI, String predicateURI)
objectURI
- predicateURI
- public static String multiTripleObjectsQuery(Map<String,String> variableNameToPredicate, String subjectUri)
variableNameToPredicate
- subjectUri
- public static String multiFactObjectsQuery(Map<String,String> variableNameToPredicate, String subjectUri)
variableNameToPredicate
- subjectUri
- public static String yagoLiteralToString(String literal)
literal
- public static String yagoResourceToString(String resource)
resource
-