Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Database > Database APIs

    Cyparkler 1.1

    Download button

    No screenshots available
    Downloads: 523  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.2/5)
    11 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Monrai Technologies, Inc. | More programs
    GPL / FREE
    June 3rd, 2008, 09:06 GMT
    ROOT / Database / Database APIs

     Read user reviews (0)  Refer to a friend  Subscribe

    Cyparkler description

    Cyparkler is a software framework which implements a query factory for SPARQL and SeRQL.

    Cyparkler is a software framework which implements a query factory for SPARQL and SeRQL. Sesame 2 onejar.jar required (included in the download). This software is licensed under GNU GPL, you're free to make modifications and build on it.

    Usage:

    HTTPRepository repository = new HTTPRepository(url, rid);
    QueryFactory query = new QueryFactory(repository);
    // select a language type
    query.setLanguage(QueryLangauge.SPARQL);

    // add a variable to the projection item list
    ProjectionItemFactory subject = query.addVariable("subject");
    // ask for all resources with explicit path
    Path p = query.addPath(subject, RDF.TYPE, "type");
    //make the path optional
    p.setOptional(true);

    // create a condition
    qf.addCondition("subject", ConditionFactory.INEQUALITY_OPERATOR_TYPE, RDF.TYPE);
    ConditionFactory cf = qf.addCondition("type", ConditionFactory.EQUALITY_OPERATOR_TYPE, RDF.SUBCLASSOF);
    // negate the condition
    cf.setNot(true);
    query.setLogicalConnector(SPARQLConstants.AND_LOGICAL_CONNECTOR);

    // build the query string, add namespace clause
    query.build(true);
    String str = query.getQueryString();

    // execute the query (automatically builds the query string)
    // results[i] = result row, results[i][j] = column (variable)
    Value[][] results = query.execute();

    What's New in This Release:

    · Code that required the LOGGER_FILE system property to be set has been removed.



    Product's homepage

      


    TAGS:

    software framework | query factory | database API | SPARQL | SeRQL | query

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM