Java Doc for RDFSRuleInfGraph.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) 


com.hp.hpl.jena.reasoner.BaseInfGraph
   com.hp.hpl.jena.reasoner.rulesys.BasicForwardRuleInfGraph
      com.hp.hpl.jena.reasoner.rulesys.FBRuleInfGraph
         com.hp.hpl.jena.reasoner.rulesys.RDFSRuleInfGraph

RDFSRuleInfGraph
public class RDFSRuleInfGraph extends FBRuleInfGraph (Code)
Customization of the generic rule inference graph for RDFS inference. In fact all the rule processing is unchanged, the only extenstion is the validation support.
author:
   Dave Reynolds
version:
   $Revision: 1.9 $ on $Date: 2008/01/02 12:07:47 $


Field Summary
protected  HashMapdtRange
    

Constructor Summary
public  RDFSRuleInfGraph(Reasoner reasoner, List rules, Graph schema)
     Constructor.
public  RDFSRuleInfGraph(Reasoner reasoner, List rules, Graph schema, Graph data)
     Constructor.

Method Summary
public  ValidityReport.ReportcheckLiteral(Node prop, Node value)
     Check a given literal value for a property against the set of known range constraints for it.
public  ValidityReportvalidate()
     Test the consistency of the bound data.

Field Detail
dtRange
protected HashMap dtRange(Code)
Optional map of property node to datatype ranges




Constructor Detail
RDFSRuleInfGraph
public RDFSRuleInfGraph(Reasoner reasoner, List rules, Graph schema)(Code)
Constructor.
Parameters:
  reasoner - the reasoner which created this inf graph instance
Parameters:
  rules - the rules to process
Parameters:
  schema - the (optional) schema graph to be included



RDFSRuleInfGraph
public RDFSRuleInfGraph(Reasoner reasoner, List rules, Graph schema, Graph data)(Code)
Constructor.
Parameters:
  reasoner - the reasoner which created this inf graph instance
Parameters:
  rules - the rules to process
Parameters:
  schema - the (optional) schema graph to be included
Parameters:
  data - the data graph to be processed




Method Detail
checkLiteral
public ValidityReport.Report checkLiteral(Node prop, Node value)(Code)
Check a given literal value for a property against the set of known range constraints for it.
Parameters:
  prop - the property node whose range is under scrutiny
Parameters:
  value - the literal node whose value is to be checked null if the range is legal, otherwise a ValidityReport.Reportwhich describes the problem.



validate
public ValidityReport validate()(Code)
Test the consistency of the bound data. For RDFS this checks that all instances of datatype-ranged properties have correct data values. a ValidityReport structure



Fields inherited from com.hp.hpl.jena.reasoner.rulesys.FBRuleInfGraph
protected LPBRuleEngine bEngine(Code)(Java Doc)
protected BBRuleContext context(Code)(Java Doc)
protected Finder dataFind(Code)(Java Doc)
public boolean filterFunctors(Code)(Java Doc)
protected Set hiddenNodes(Code)(Java Doc)
static Log logger(Code)(Java Doc)
protected List preprocessorHooks(Code)(Java Doc)
protected List rawRules(Code)(Java Doc)
protected List rules(Code)(Java Doc)
protected TempNodeCache tempNodecache(Code)(Java Doc)
protected TransitiveEngine transitiveEngine(Code)(Java Doc)
public static boolean useRETE(Code)(Java Doc)
protected boolean useTGCCaching(Code)(Java Doc)

Methods inherited from com.hp.hpl.jena.reasoner.rulesys.FBRuleInfGraph
public boolean accept(Object tin)(Code)(Java Doc)
public void addBRule(Rule brule)(Code)(Java Doc)
public void addBRules(List rules)(Code)(Java Doc)
public void addDeduction(Triple t)(Code)(Java Doc)
public void addPreprocessingHook(RulePreprocessHook hook)(Code)(Java Doc)
public void addRuleDuringPrepare(Rule rule)(Code)(Java Doc)
public void close()(Code)(Java Doc)
public void deleteBRule(Rule brule)(Code)(Java Doc)
public ExtendedIterator find(TriplePattern pattern)(Code)(Java Doc)
public ExtendedIterator findDataMatches(Node subject, Node predicate, Node object)(Code)(Java Doc)
public ExtendedIterator findDataMatches(TriplePattern pattern)(Code)(Java Doc)
public ExtendedIterator findFull(TriplePattern pattern)(Code)(Java Doc)
public ExtendedIterator findWithContinuation(TriplePattern pattern, Finder continuation)(Code)(Java Doc)
public List getBRules()(Code)(Java Doc)
public long getNRulesFired()(Code)(Java Doc)
public List getRules()(Code)(Java Doc)
public Node getTemp(Node instance, Node prop, Node pclass)(Code)(Java Doc)
public ExtendedIterator graphBaseFind(Node subject, Node property, Node object)(Code)(Java Doc)
public void hideNode(Node n)(Code)(Java Doc)
protected void instantiateRuleEngine(List rules)(Code)(Java Doc)
public synchronized void performAdd(Triple t)(Code)(Java Doc)
public void performDelete(Triple t)(Code)(Java Doc)
protected boolean preloadDeductions(Graph preloadIn)(Code)(Java Doc)
public void prepare()(Code)(Java Doc)
public void printLPProfile()(Code)(Java Doc)
public boolean processBuiltin(ClauseEntry clause, Rule rule, BindingEnvironment env)(Code)(Java Doc)
public void rebind()(Code)(Java Doc)
public void rebindAll()(Code)(Java Doc)
public void reset()(Code)(Java Doc)
public void resetLPProfile(boolean enable)(Code)(Java Doc)
public void setDerivationLogging(boolean recordDerivations)(Code)(Java Doc)
public void setFunctorFiltering(boolean param)(Code)(Java Doc)
public void setTabled(Node predicate)(Code)(Java Doc)
public void setTraceOn(boolean state)(Code)(Java Doc)
public void setUseTGCCache()(Code)(Java Doc)
public ValidityReport validate()(Code)(Java Doc)

Fields inherited from com.hp.hpl.jena.reasoner.rulesys.BasicForwardRuleInfGraph
protected OneToManyMap derivations(Code)(Java Doc)
protected FRuleEngineI engine(Code)(Java Doc)
protected FGraph fdeductions(Code)(Java Doc)
protected static Log logger(Code)(Java Doc)
protected List rules(Code)(Java Doc)
protected Graph schemaGraph(Code)(Java Doc)
protected boolean traceOn(Code)(Java Doc)

Methods inherited from com.hp.hpl.jena.reasoner.rulesys.BasicForwardRuleInfGraph
public void addBRule(Rule brule)(Code)(Java Doc)
public void addDeduction(Triple t)(Code)(Java Doc)
public void close()(Code)(Java Doc)
public Reifier constructReifier()(Code)(Java Doc)
protected Graph createDeductionsGraph()(Code)(Java Doc)
public void deleteBRule(Rule brule)(Code)(Java Doc)
public ExtendedIterator find(TriplePattern pattern)(Code)(Java Doc)
public ExtendedIterator findDataMatches(Node subject, Node predicate, Node object)(Code)(Java Doc)
public ExtendedIterator findWithContinuation(TriplePattern pattern, Finder continuation)(Code)(Java Doc)
public Graph getCurrentDeductionsGraph()(Code)(Java Doc)
public Graph getDeductionsGraph()(Code)(Java Doc)
public Iterator getDerivation(Triple t)(Code)(Java Doc)
public long getNRulesFired()(Code)(Java Doc)
public Graph getSchemaGraph()(Code)(Java Doc)
public ExtendedIterator graphBaseFind(Node subject, Node property, Node object)(Code)(Java Doc)
public int graphBaseSize()(Code)(Java Doc)
protected void instantiateRuleEngine(List rules)(Code)(Java Doc)
public void logDerivation(Triple t, Object derivation)(Code)(Java Doc)
public synchronized void performAdd(Triple t)(Code)(Java Doc)
public void performDelete(Triple t)(Code)(Java Doc)
protected boolean preloadDeductions(Graph preloadIn)(Code)(Java Doc)
public synchronized void prepare()(Code)(Java Doc)
public void rebind(Graph data)(Code)(Java Doc)
public void rebind()(Code)(Java Doc)
public void setDerivationLogging(boolean recordDerivations)(Code)(Java Doc)
public void setRuleStore(Object ruleStore)(Code)(Java Doc)
public void setTraceOn(boolean state)(Code)(Java Doc)
public boolean shouldLogDerivations()(Code)(Java Doc)
public boolean shouldTrace()(Code)(Java Doc)
public void silentAdd(Triple t)(Code)(Java Doc)

Fields inherited from com.hp.hpl.jena.reasoner.BaseInfGraph
protected FGraph fdata(Code)(Java Doc)
protected boolean isPrepared(Code)(Java Doc)
protected Reasoner reasoner(Code)(Java Doc)
protected boolean recordDerivations(Code)(Java Doc)
protected volatile int version(Code)(Java Doc)

Methods inherited from com.hp.hpl.jena.reasoner.BaseInfGraph
public InfGraph cloneWithPremises(Graph premises)(Code)(Java Doc)
public void close()(Code)(Java Doc)
public Reifier constructReifier()(Code)(Java Doc)
protected void discardState()(Code)(Java Doc)
public ExtendedIterator find(Node subject, Node property, Node object, Graph param)(Code)(Java Doc)
public ExtendedIterator find(TriplePattern pattern)(Code)(Java Doc)
abstract public ExtendedIterator findWithContinuation(TriplePattern pattern, Finder continuation)(Code)(Java Doc)
public BulkUpdateHandler getBulkUpdateHandler()(Code)(Java Doc)
public Capabilities getCapabilities()(Code)(Java Doc)
public Graph getDeductionsGraph()(Code)(Java Doc)
public Iterator getDerivation(Triple triple)(Code)(Java Doc)
public Node getGlobalProperty(Node property)(Code)(Java Doc)
public PrefixMapping getPrefixMapping()(Code)(Java Doc)
public Graph getRawGraph()(Code)(Java Doc)
public Reasoner getReasoner()(Code)(Java Doc)
abstract public Graph getSchemaGraph()(Code)(Java Doc)
public TransactionHandler getTransactionHandler()(Code)(Java Doc)
public int getVersion()(Code)(Java Doc)
public ExtendedIterator graphBaseFind(TripleMatch m)(Code)(Java Doc)
public ExtendedIterator graphBaseFind(Node subject, Node property, Node object)(Code)(Java Doc)
public int graphBaseSize()(Code)(Java Doc)
public boolean isEmpty()(Code)(Java Doc)
public boolean isPrepared()(Code)(Java Doc)
public synchronized void performAdd(Triple t)(Code)(Java Doc)
public void performDelete(Triple t)(Code)(Java Doc)
public void prepare()(Code)(Java Doc)
public void rebind(Graph data)(Code)(Java Doc)
public void rebind()(Code)(Java Doc)
public void reset()(Code)(Java Doc)
public void setDerivationLogging(boolean logOn)(Code)(Java Doc)
public boolean testGlobalProperty(Node property)(Code)(Java Doc)
public ValidityReport validate()(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.