Examples of SPARQLFunction


Examples of org.apache.stanbol.rules.manager.SPARQLFunction

    if(argument.startsWith("http://kres.iks-project.eu/ontology/meta/variables#")){
      argument = "?"+argument.replace("http://kres.iks-project.eu/ontology/meta/variables#", "");
    }
   
    String sparql = "<http://www.stlab.istc.cnr.it/semion/function#createLabel>(" + argument + ")";
    return new SPARQLFunction(sparql);
  }
View Full Code Here

Examples of org.apache.stanbol.rules.manager.SPARQLFunction

    return null;
  }

  @Override
  public SPARQLObject toSPARQL() {
    return new SPARQLFunction(sparqlConstruct);
  }
View Full Code Here

Examples of org.apache.stanbol.rules.manager.SPARQLFunction

    }
    else{
      bindingString = binding.toString();
    }
   
    SPARQLObject sparqlObject = new SPARQLFunction(variable + " " + popertyFunction + " " + bindingString);
    return sparqlObject;
  }
View Full Code Here

Examples of org.apache.stanbol.rules.manager.SPARQLFunction

      scope2 += kReSRuleAtom.toSPARQL().getObject();
    }
   
    String sparqlUnion = " { " + scope1 + " } UNION { " +scope2 + " } ";
   
    return new SPARQLFunction(sparqlUnion);
  }
View Full Code Here

Examples of org.apache.stanbol.rules.manager.SPARQLFunction

     
    }
   
    String sparql = "<http://jena.hpl.hp.com/ARQ/function#substr> (" + uriResourceString + ", " + start.toSPARQL().getObject() + ", " + length.toSPARQL().getObject() + ")";
     
    return new SPARQLFunction(sparql);
  }
View Full Code Here

Examples of org.apache.stanbol.rules.manager.SPARQLFunction

    if(number.startsWith("http://kres.iks-project.eu/ontology/meta/variables#")){
      number = "?"+number.replace("http://kres.iks-project.eu/ontology/meta/variables#", "");
     
    }
   
    return new SPARQLFunction(number);
  }
View Full Code Here

Examples of org.apache.stanbol.rules.manager.SPARQLFunction

    return null;
  }

  @Override
  public SPARQLObject toSPARQL() {
    return new SPARQLFunction(sparqlConstruct);
  }
View Full Code Here

Examples of org.apache.stanbol.rules.manager.SPARQLFunction

    if(argument.startsWith("http://kres.iks-project.eu/ontology/meta/variables#")){
      argument = "?"+argument.replace("http://kres.iks-project.eu/ontology/meta/variables#", "");
    }
   
    String sparql = "str(" + argument + ")";
    return new SPARQLFunction(sparql);
  }
View Full Code Here

Examples of org.apache.stanbol.rules.manager.SPARQLFunction

  @Override
  public SPARQLObject toSPARQL() {
   
    if(string.startsWith("http://kres.iks-project.eu/ontology/meta/variables#")){
      return new SPARQLFunction("?" + string.replace("http://kres.iks-project.eu/ontology/meta/variables#", ""));
    }
   
    else{
      return new SPARQLFunction(string);
    }
  }
View Full Code Here

Examples of org.apache.stanbol.rules.manager.SPARQLFunction

  @Override
  public SPARQLObject toSPARQL() {
    String sparqlFunction1 = numericFunctionAtom1.toSPARQL().getObject();
    String sparqlFunction2 = numericFunctionAtom2.toSPARQL().getObject();
    return new SPARQLFunction(sparqlFunction1 + " - " +sparqlFunction2);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.