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
--rdfs Use an RDFS reasoner around the data
--reasoner URI Set the reasoner URI explicitly.
--vocab URL | File Specify a separate vocabulary (may also be in the data)
--xml Data source is XML (default)
--ntriple Data source is n-triple
--data URL | File Data source (can also be part of query)
--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.13 2003/07/01 14:43:55 andy_seaborne Exp $
- Author:
- Andy Seaborne
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 |
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
rdfquery
public rdfquery()
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-2003 Hewlett-Packard. All Rights Reserved.