本文整理了Java中com.hp.hpl.jena.query.Query.addDescribeNode
方法的一些代码示例,展示了Query.addDescribeNode
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.addDescribeNode
方法的具体详情如下:
包路径:com.hp.hpl.jena.query.Query
类名称:Query
方法名:addDescribeNode
暂无
代码示例来源:origin: com.hp.hpl.jena/arq
private void extractVarOrURIList(Query q, RDQL_Node node)
{
int n = node.jjtGetNumChildren() ;
selectAllVars = ( n == 0 ) ;
for ( int i = 0 ; i < n ; i++ )
{
RDQL_Node c = node.jjtGetChild(i) ;
if ( c instanceof Q_Var )
{
Q_Var v = (Q_Var)c ;
q.addResultVar(v.varName) ;
continue ;
}
if ( ( c instanceof Q_URI ) || ( c instanceof Q_QName ) )
{
Q_URI v = (Q_URI)c ;
q.addDescribeNode(v.getNode()) ;
continue ;
}
throw new ARQInternalErrorException("Internal error: parser created '"+c.getClass().getName()+"' when Q_Var expected") ;
}
}
代码示例来源:origin: com.github.ansell.pellet/pellet-query
q.addDescribeNode( varOrIRIref47 );
代码示例来源:origin: com.hp.hpl.jena/arq
while (true) {
n = VarOrIRIref();
getQuery().addDescribeNode(n) ;
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case IRIref:
代码示例来源:origin: com.hp.hpl.jena/arq
while (true) {
n = VarOrIRIref();
getQuery().addDescribeNode(n) ;
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case IRIref:
代码示例来源:origin: com.hp.hpl.jena/arq
while (true) {
n = VarOrIRIref();
getQuery().addDescribeNode(n) ;
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case IRIref:
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
while (true) {
n = VarOrIri();
getQuery().addDescribeNode(n) ;
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case IRIref:
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
while (true) {
n = VarOrIri();
getQuery().addDescribeNode(n) ;
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case IRIref:
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
while (true) {
n = VarOrIRIref();
getQuery().addDescribeNode(n) ;
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case IRIref:
内容来源于网络,如有侵权,请联系作者删除!