本文整理了Java中fr.inria.corese.kgram.core.Query.getService
方法的一些代码示例,展示了Query.getService
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.getService
方法的具体详情如下:
包路径:fr.inria.corese.kgram.core.Query
类名称:Query
方法名:getService
暂无
代码示例来源:origin: Wimmics/corese
/**
* Annotated query with a service send query to server
*
* @federate <http://dbpedia.org/sparql>
* select where {}
*/
Mappings service(Query q, Mapping m) throws EngineException {
Service serv = new Service(q.getService());
try {
return serv.query(q, m);
} catch (LoadException ex) {
throw new EngineException(ex);
}
}
代码示例来源:origin: Wimmics/corese
m = createMapping(m, ds);
pragma(q);
if (q.getService() != null) {
代码示例来源:origin: Wimmics/corese
return DatatypeMap.createObject(m.getGraph());
if (qq.getService() != null) {
代码示例来源:origin: fr.inria.corese/compiler
return DatatypeMap.createObject(m.getGraph());
if (qq.getService() != null) {
内容来源于网络,如有侵权,请联系作者删除!