Package org.atomojo.sparql

Examples of org.atomojo.sparql.Ref


      entryPivot = false;
      feedPivot = false;
      unsatisfiable = false;
      Triple lastBind = null;
      for (Triple t : triples) {
         Ref subject = t.getSubject();
         Ref predicate = t.getPredicate();
         Ref object = t.getObject();
         if (subject instanceof VariableRef && predicate instanceof TermRef && object instanceof NilRef) {
            String name = ((VariableRef)subject).getName();
            if (name.equals(var)) {
               URI term = ((TermRef)predicate).getTerm();
               if (term.equals(ENTRY_TERM)) {
View Full Code Here


               if (triple==pivot) {
                  continue;
               }
               URI uri = ((TermRef)triple.getPredicate()).getTerm();
               Term term = db.findTerm(uri);
               Ref object = triple.getObject();
               if (object instanceof VariableRef) {
                  if (term!=null) {
                     bindings.put(((VariableRef)object).getName(),term);
                  }
               } else if (object instanceof LiteralRef) {
View Full Code Here

TOP

Related Classes of org.atomojo.sparql.Ref

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.