Java Doc for RDFSRuleReasoner.java in  » RSS-RDF » Jena-2.5.5 » com » hp » hpl » jena » reasoner » rulesys » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » RSS RDF » Jena 2.5.5 » com.hp.hpl.jena.reasoner.rulesys 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.hp.hpl.jena.reasoner.rulesys.FBRuleReasoner
      com.hp.hpl.jena.reasoner.rulesys.GenericRuleReasoner
         com.hp.hpl.jena.reasoner.rulesys.RDFSRuleReasoner

RDFSRuleReasoner
public class RDFSRuleReasoner extends GenericRuleReasoner (Code)
A full implemention of RDFS reasoning using a hybrid rule system, together with optimized subclass/subproperty closure using the transitive graph caches. Implements the container membership property rules using an optional data scanning hook. Implements datatype range validation.
author:
   Dave Reynolds
version:
   $Revision: 1.20 $ on $Date: 2008/01/02 12:07:47 $


Field Summary
final public static  StringDEFAULT_RULES
    
final public static  StringFULL_RULES
    
final protected static  StringFULL_RULE_FILE
    
final protected static  StringRULE_FILE
    
final public static  StringSIMPLE_RULES
    
final protected static  StringSIMPLE_RULE_FILE
    
protected static  RulePreprocessHookcmpProcessor
    
protected static  HashMapruleFiles
    
protected static  HashMapruleSets
    

Constructor Summary
public  RDFSRuleReasoner(ReasonerFactory parent)
    
public  RDFSRuleReasoner(ReasonerFactory factory, Resource configuration)
    
protected  RDFSRuleReasoner(FBRuleInfGraph schemaGraph, ReasonerFactory factory)
     Internal constructor, used to generated a partial binding of a schema to a rule reasoner instance.

Method Summary
public  InfGraphbind(Graph data)
     Attach the reasoner to a set of RDF data to process. The reasoner may already have been bound to specific rules or ontology axioms (encoded in RDF) through earlier bindRuleset calls.
Parameters:
  data - the RDF data to be processed, some reasoners may restrictthe range of RDF which is legal here (e.g.
public  ReasonerbindSchema(Graph tbox)
     Precompute the implications of a schema graph.
protected  booleandoSetParameter(Property parameter, Object value)
     Internal version of setParameter that does not directly raise an exception on parameters it does not reconize.
public  CapabilitiesgetGraphCapabilities()
     Return the Jena Graph Capabilties that the inference graphs generated by this reasoner are expected to conform to.
public static  ListloadRulesLevel(String level)
     Return the RDFS rule set, loading it in if necessary.

Field Detail
DEFAULT_RULES
final public static String DEFAULT_RULES(Code)
Constant: used to indicate default RDFS processing level



FULL_RULES
final public static String FULL_RULES(Code)
Constant: used to indicate full RDFS processing level



FULL_RULE_FILE
final protected static String FULL_RULE_FILE(Code)
The location of the full RDFS rule definitions on the class path



RULE_FILE
final protected static String RULE_FILE(Code)
The location of the default RDFS rule definitions on the class path



SIMPLE_RULES
final public static String SIMPLE_RULES(Code)
Constant: used to indicate minimal RDFS processing level



SIMPLE_RULE_FILE
final protected static String SIMPLE_RULE_FILE(Code)
The location of the simple RDFS rule definitions on the class path



cmpProcessor
protected static RulePreprocessHook cmpProcessor(Code)
The (stateless) preprocessor for container membership properties



ruleFiles
protected static HashMap ruleFiles(Code)
The rule file names, indexed by processing level



ruleSets
protected static HashMap ruleSets(Code)
The cached rule sets, indexed by processing level




Constructor Detail
RDFSRuleReasoner
public RDFSRuleReasoner(ReasonerFactory parent)(Code)
Constructor



RDFSRuleReasoner
public RDFSRuleReasoner(ReasonerFactory factory, Resource configuration)(Code)
Constructor
Parameters:
  factory - the parent reasoner factory which is consulted to answer capability questions
Parameters:
  configuration - RDF information to configure the rule set and mode, can be null



RDFSRuleReasoner
protected RDFSRuleReasoner(FBRuleInfGraph schemaGraph, ReasonerFactory factory)(Code)
Internal constructor, used to generated a partial binding of a schema to a rule reasoner instance.




Method Detail
bind
public InfGraph bind(Graph data) throws ReasonerException(Code)
Attach the reasoner to a set of RDF data to process. The reasoner may already have been bound to specific rules or ontology axioms (encoded in RDF) through earlier bindRuleset calls.
Parameters:
  data - the RDF data to be processed, some reasoners may restrictthe range of RDF which is legal here (e.g. syntactic restrictions in OWL). an inference graph through which the data+reasoner can be queried.
throws:
  ReasonerException - if the data is ill-formed according to theconstraints imposed by this reasoner.



bindSchema
public Reasoner bindSchema(Graph tbox) throws ReasonerException(Code)
Precompute the implications of a schema graph. The statements in the graph will be combined with the data when the final InfGraph is created.



doSetParameter
protected boolean doSetParameter(Property parameter, Object value)(Code)
Internal version of setParameter that does not directly raise an exception on parameters it does not reconize. false if the parameter was not recognized



getGraphCapabilities
public Capabilities getGraphCapabilities()(Code)
Return the Jena Graph Capabilties that the inference graphs generated by this reasoner are expected to conform to.



loadRulesLevel
public static List loadRulesLevel(String level)(Code)
Return the RDFS rule set, loading it in if necessary.
Parameters:
  level - a string defining the processing level required



Fields inherited from com.hp.hpl.jena.reasoner.rulesys.GenericRuleReasoner
final public static RuleMode BACKWARD(Code)(Java Doc)
final public static RuleMode FORWARD(Code)(Java Doc)
final public static RuleMode FORWARD_RETE(Code)(Java Doc)
final public static RuleMode HYBRID(Code)(Java Doc)
protected LPRuleStore bRuleStore(Code)(Java Doc)
final protected static boolean cachePreload(Code)(Java Doc)
protected boolean enableOWLTranslation(Code)(Java Doc)
protected boolean enableTGCCaching(Code)(Java Doc)
public boolean filterFunctors(Code)(Java Doc)
protected RuleMode mode(Code)(Java Doc)
protected HashSet preprocessorHooks(Code)(Java Doc)

Methods inherited from com.hp.hpl.jena.reasoner.rulesys.GenericRuleReasoner
public void addPreprocessingHook(RulePreprocessHook hook)(Code)(Java Doc)
public InfGraph bind(Graph data) throws ReasonerException(Code)(Java Doc)
public Reasoner bindSchema(Graph tbox) throws ReasonerException(Code)(Java Doc)
protected boolean doSetParameter(Property parameter, Object value)(Code)(Java Doc)
protected boolean doSetResourceParameter(Property parameter, Resource value)(Code)(Java Doc)
protected LPRuleStore getBruleStore()(Code)(Java Doc)
protected synchronized InfGraph getPreload()(Code)(Java Doc)
public void removePreprocessingHook(RulePreprocessHook hook)(Code)(Java Doc)
public void setFunctorFiltering(boolean param)(Code)(Java Doc)
public void setMode(RuleMode mode)(Code)(Java Doc)
public void setOWLTranslation(boolean enableOWLTranslation)(Code)(Java Doc)
public void setRules(List rules)(Code)(Java Doc)
public void setTransitiveClosureCaching(boolean enableTGCCaching)(Code)(Java Doc)

Fields inherited from com.hp.hpl.jena.reasoner.rulesys.FBRuleReasoner
final protected static boolean cachePreload(Code)(Java Doc)
protected Capabilities capabilities(Code)(Java Doc)
protected Resource configuration(Code)(Java Doc)
protected ReasonerFactory factory(Code)(Java Doc)
protected InfGraph preload(Code)(Java Doc)
protected boolean recordDerivations(Code)(Java Doc)
protected List rules(Code)(Java Doc)
protected Graph schemaGraph(Code)(Java Doc)
boolean traceOn(Code)(Java Doc)

Methods inherited from com.hp.hpl.jena.reasoner.rulesys.FBRuleReasoner
public void addDescription(Model configSpec, Resource base)(Code)(Java Doc)
public FBRuleReasoner addRules(List rules)(Code)(Java Doc)
public InfGraph bind(Graph data) throws ReasonerException(Code)(Java Doc)
public Reasoner bindSchema(Graph tbox) throws ReasonerException(Code)(Java Doc)
public Reasoner bindSchema(Model tbox) throws ReasonerException(Code)(Java Doc)
protected boolean doSetParameter(Property parameter, Object value)(Code)(Java Doc)
protected boolean doSetRDFNodeParameter(Property parameter, RDFNode value)(Code)(Java Doc)
protected boolean doSetResourceParameter(Property parameter, Resource value)(Code)(Java Doc)
public Capabilities getGraphCapabilities()(Code)(Java Doc)
protected synchronized InfGraph getPreload()(Code)(Java Doc)
public Model getReasonerCapabilities()(Code)(Java Doc)
public List getRules()(Code)(Java Doc)
public boolean isTraceOn()(Code)(Java Doc)
protected void loadConfiguration(Resource configuration)(Code)(Java Doc)
public static List loadRules(String fileName)(Code)(Java Doc)
public void setDerivationLogging(boolean logOn)(Code)(Java Doc)
public void setParameter(Property parameter, Object value)(Code)(Java Doc)
public void setRules(List rules)(Code)(Java Doc)
public void setTraceOn(boolean state)(Code)(Java Doc)
public boolean supportsProperty(Property property)(Code)(Java Doc)
public synchronized void tablePredicate(Node predicate)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.