com.hp.hpl.jena.query.Query.addDescribeNode()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(1.8k)|赞(0)|评价(0)|浏览(86)

本文整理了Java中com.hp.hpl.jena.query.Query.addDescribeNode方法的一些代码示例,展示了Query.addDescribeNode的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.addDescribeNode方法的具体详情如下:
包路径:com.hp.hpl.jena.query.Query
类名称:Query
方法名:addDescribeNode

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:

相关文章