|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjena.RuleMap
public class RuleMap
General command line utility to process one RDF file into another by application of a set of forward chaining rules.
Usage: RuleMap [-il inlang] [-ol outlang] [-d] rulefile infileThe resulting RDF data is written to stdout in format
outlang
-d is given then only the deductions
generated by the rules are output. Otherwise all data including any input
data (other than any removed triples) is output.
Rules are permitted an additional action "deduce" which forces triples to be added to the deductions graph even if they are already known (for use in deductions only mode).
Constructor Summary | |
---|---|
RuleMap()
|
Method Summary | |
---|---|
static List |
loadRules(BufferedReader src,
Map prefixes)
Load a set of rule definitions including processing of comment lines and any initial prefix definition lines. |
static List |
loadRules(String filename,
Map prefixes)
Load a set of rule definitions including processing of comment lines and any initial prefix definition lines. |
static void |
main(String[] args)
General command line utility to process one RDF file into another by application of a set of forward chaining rules. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RuleMap()
Method Detail |
---|
public static List loadRules(String filename, Map prefixes) throws IOException
IOException
public static List loadRules(BufferedReader src, Map prefixes) throws IOException
IOException
public static void main(String[] args)
Usage: RuleMap [-il inlang] [-ol outlang] -d infile rulefile
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |