本文整理了Java中org.apache.jena.query.Query.addProjectVars
方法的一些代码示例,展示了Query.addProjectVars
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.addProjectVars
方法的具体详情如下:
包路径:org.apache.jena.query.Query
类名称:Query
方法名:addProjectVars
[英]Add a collection of projection variables to a SELECT query
[中]将投影变量集合添加到SELECT查询
代码示例来源:origin: SmartDataAnalytics/DL-Learner
newQuery.addProjectVars(query.getProjectVars());
ElementTriplesBlock el = new ElementTriplesBlock();
for (Triple triple : Sets.union(outgoingTriplePatterns, incomingTriplePatterns)) {
代码示例来源:origin: SmartDataAnalytics/DL-Learner
q.addProjectVars(Collections.singleton(targetVar));
ElementTriplesBlock el = new ElementTriplesBlock();
for (Triple triple : cluster) {
代码示例来源:origin: SmartDataAnalytics/DL-Learner
q.addProjectVars(Collections.singleton(targetVar));
ElementTriplesBlock el = new ElementTriplesBlock();
for (Triple triple : cluster) {
代码示例来源:origin: SmartDataAnalytics/DL-Learner
newQuery.addProjectVars(query.getProjectVars());
ElementTriplesBlock el = new ElementTriplesBlock();
for (Triple triple : triplePatterns) {
代码示例来源:origin: SmartDataAnalytics/DL-Learner
q.addProjectVars(Collections.singleton(targetVar));
ElementTriplesBlock el = new ElementTriplesBlock();
for (Triple triple : cluster) {
代码示例来源:origin: SmartDataAnalytics/DL-Learner
q.addProjectVars(Collections.singleton(targetVar));
ElementTriplesBlock el = new ElementTriplesBlock();
for (Triple triple : cluster) {
代码示例来源:origin: SmartDataAnalytics/DL-Learner
q.setQuerySelectType();
q.setDistinct(true);
q.addProjectVars(query.getProjectVars());
q.setQuerySelectType();
q.setDistinct(true);
q.addProjectVars(query.getProjectVars());
List<Triple> allTriplePatterns = new ArrayList<>(existingTriplePatterns);
allTriplePatterns.addAll(newTriplePatterns);
q.setQuerySelectType();
q.setDistinct(true);
q.addProjectVars(query.getProjectVars());
tripleBlock = new ElementTriplesBlock(BasicPattern.wrap(existingTriplePatterns));
eg = new ElementGroup();
代码示例来源:origin: SmartDataAnalytics/DL-Learner
newQuery.setQuerySelectType();
newQuery.setQueryPattern(eg);
newQuery.addProjectVars(query.getProjectVars());
newQuery.setDistinct(true);
queries.add(newQuery);
代码示例来源:origin: SmartDataAnalytics/DL-Learner
q.setQuerySelectType();
q.setDistinct(true);
q.addProjectVars(query.getProjectVars());
q.setQuerySelectType();
q.setDistinct(true);
q.addProjectVars(query.getProjectVars());
List<Triple> allTriplePatterns = new ArrayList<>(existingTriplePatterns);
allTriplePatterns.addAll(newTriplePatterns);
q.setQuerySelectType();
q.setDistinct(true);
q.addProjectVars(query.getProjectVars());
tripleBlock = new ElementTriplesBlock(BasicPattern.wrap(existingTriplePatterns));
eg = new ElementGroup();
代码示例来源:origin: SmartDataAnalytics/DL-Learner
q.setQuerySelectType();
q.setDistinct(true);
q.addProjectVars(query.getProjectVars());
q.setQuerySelectType();
q.setDistinct(true);
q.addProjectVars(query.getProjectVars());
List<Triple> allTriplePatterns = new ArrayList<>(existingTriplePatterns);
allTriplePatterns.addAll(newTriplePatterns);
q.setQuerySelectType();
q.setDistinct(true);
q.addProjectVars(query.getProjectVars());
tripleBlock = new ElementTriplesBlock(BasicPattern.wrap(existingTriplePatterns));
eg = new ElementGroup();
代码示例来源:origin: SmartDataAnalytics/DL-Learner
q.addProjectVars(query.getProjectVars());
ElementTriplesBlock tripleBlock = new ElementTriplesBlock();
for (Triple triple : newTriplePatterns) {
代码示例来源:origin: SmartDataAnalytics/DL-Learner
q.addProjectVars(query.getProjectVars());
ElementTriplesBlock tripleBlock = new ElementTriplesBlock();
for (Triple triple : newTriplePatterns) {
代码示例来源:origin: SmartDataAnalytics/DL-Learner
q.addProjectVars(query.getProjectVars());
ElementTriplesBlock tripleBlock = new ElementTriplesBlock();
for (Triple triple : newTriplePatterns) {
代码示例来源:origin: SmartDataAnalytics/DL-Learner
newQuery.addProjectVars(query.getProjectVars());
newQuery.setDistinct(true);
内容来源于网络,如有侵权,请联系作者删除!