jena
Class rdfquery

java.lang.Object
  |
  +--jena.rdfquery

public class rdfquery
extends java.lang.Object

A program to execute queries from the command line.

Queries can specify the source file so this can be used as a simple script engine for RDQL.

  Usage: [--xml|--ntriple] [--data URL] [queryString | --query file]") ;
     --query file         Read one query from a file
     --xml                Data source is XML (default)
     --ntriple            Data source is n-triple
     --data URL           Data source (can also be part of query) : URL or filename") ;
     --time               Print some time information
     --test [file]        Run the test suite
     --format FMT         One of text, html, tuples, dump or none
     --verbose            Verbose - more messages
     --quiet              Quiet - less messages
 Options for data and format override the query specified source.,
 

Version:
$Id: rdfquery.java,v 1.9 2002/02/11 16:01:03 andy_seaborne Exp $
Author:
Andy Seaborne

Field Summary
static boolean debug
           
static boolean displayTime
           
static boolean dumpModel
           
static int messageLevel
           
static int outputFormat
           
 
Constructor Summary
rdfquery()
           
 
Method Summary
static void main(java.lang.String[] argv)
           
static void query(java.lang.String s, java.lang.String dataURL, java.lang.String language)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

displayTime

public static boolean displayTime

messageLevel

public static int messageLevel

debug

public static boolean debug

dumpModel

public static boolean dumpModel

outputFormat

public static int outputFormat
Constructor Detail

rdfquery

public rdfquery()
Method Detail

main

public static void main(java.lang.String[] argv)

query

public static void query(java.lang.String s,
                         java.lang.String dataURL,
                         java.lang.String language)


Copyright 2001 Hewlett-Packard. All Rights Reserved.