Java Doc for Reasoner.java in  » RSS-RDF » Jena-2.5.5 » com » hp » hpl » jena » reasoner » 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 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.hp.hpl.jena.reasoner.Reasoner

All known Subclasses:   com.hp.hpl.jena.reasoner.rulesys.impl.oldCode.BasicBackwardRuleReasoner,  com.hp.hpl.jena.reasoner.rulesys.OWLMiniReasoner,  com.hp.hpl.jena.reasoner.rulesys.BasicForwardRuleReasoner,  com.hp.hpl.jena.reasoner.rdfsReasoner1.RDFSReasoner,  com.hp.hpl.jena.reasoner.dig.DIGReasoner,  com.hp.hpl.jena.reasoner.transitiveReasoner.TransitiveReasoner,  com.hp.hpl.jena.reasoner.rulesys.impl.oldCode.FBLPRuleReasoner,  com.hp.hpl.jena.reasoner.rulesys.LPBackwardRuleReasoner,  com.hp.hpl.jena.reasoner.rulesys.OWLMicroReasoner,
Reasoner
public interface Reasoner (Code)
The minimal interface to which all reasoners (or reasoner adaptors) conform. This only supports attaching the reasoner to a set of RDF graphs which represent the rules or ontologies and instance data. The actual reasoner requests are made through the InfGraph which is generated once the reasoner has been bound to a set of RDF data.
author:
   Dave Reynolds
version:
   $Revision: 1.20 $ on $Date: 2008/01/02 12:07:00 $




Method Summary
public  voidaddDescription(Model configSpec, Resource base)
     Add a configuration description for this reasoner into a partial configuration specification model.
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)
     This is most commonly used to attach an ontology (a set of tbox axioms in description logics jargon) to a reasoner.
public  ReasonerbindSchema(Model tbox)
     This is most commonly used to attach an ontology (a set of tbox axioms in description logics jargon) to a reasoner.
public  CapabilitiesgetGraphCapabilities()
     Return the Jena Graph Capabilties that the inference graphs generated by this reasoner are expected to conform to.
public  ModelgetReasonerCapabilities()
     Return a description of the capabilities of this reasoner encoded in RDF.
public  voidsetDerivationLogging(boolean logOn)
     Switch on/off drivation logging. If set to true then the InfGraph created from the bind operation will start life with recording of derivations switched on.
public  voidsetParameter(Property parameterUri, Object value)
     Set a configuration parameter for the reasoner.
public  booleansupportsProperty(Property property)
     Determine whether the given property is recognized and treated specially by this reasoner.



Method Detail
addDescription
public void addDescription(Model configSpec, Resource base)(Code)
Add a configuration description for this reasoner into a partial configuration specification model.
Parameters:
  configSpec - a Model into which the configuration information should be placed
Parameters:
  base - the Resource to which the configuration parameters should be added.



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)
This is most commonly used to attach an ontology (a set of tbox axioms in description logics jargon) to a reasoner. A certain amount of precomputation may be done at this time (e.g. constructing the class lattice). When the reasoner is later applied some instance data these cached precomputations may be reused.

In fact this call may be more general than the above description suggests. Firstly, a reasoner that supports arbitrary rules rather than ontologies may use the same method to bind the reasoner to the specific rule set (encoded in RDF). Secondly, even in the ontology case a given reasoner may not require a strict separation of tbox and abox - it may allow instance data in the tbox and terminology axioms in the abox.

A reasoner is free to simply note this set of RDF and merge with any future RDF rather than do processing at this time.


Parameters:
  tbox - the ontology axioms or rule set encoded in RDF a reasoner instace which can be used to process a data graph
throws:
  ReasonerException - if the reasoner cannot bebound to a rule set in this way, for example if the underlying enginecan only accept a single rule set in this way and one rule set hasalready been bound in of if the ruleset is illformed.



bindSchema
public Reasoner bindSchema(Model tbox) throws ReasonerException(Code)
This is most commonly used to attach an ontology (a set of tbox axioms in description logics jargon) to a reasoner. A certain amount of precomputation may be done at this time (e.g. constructing the class lattice). When the reasoner is later applied some instance data these cached precomputations may be reused.

In fact this call may be more general than the above description suggests. Firstly, a reasoner that supports arbitrary rules rather than ontologies may use the same method to bind the reasoner to the specific rule set (encoded in RDF). Secondly, even in the ontology case a given reasoner may not require a strict separation of tbox and abox - it may allow instance data in the tbox and terminology axioms in the abox.

A reasoner is free to simply note this set of RDF and merge with any future RDF rather than do processing at this time.


Parameters:
  tbox - the ontology axioms or rule set encoded in RDF a reasoner instace which can be used to process a data graph
throws:
  ReasonerException - if the reasoner cannot bebound to a rule set in this way, for example if the underlying enginecan only accept a single rule set in this way and one rule set hasalready been bound in of if the ruleset is illformed.



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



getReasonerCapabilities
public Model getReasonerCapabilities()(Code)
Return a description of the capabilities of this reasoner encoded in RDF. These capabilities may be static or may depend on configuration information supplied at construction time. May be null if there are no useful capabilities registered.



setDerivationLogging
public void setDerivationLogging(boolean logOn)(Code)
Switch on/off drivation logging. If set to true then the InfGraph created from the bind operation will start life with recording of derivations switched on. This is currently only of relevance to rule-based reasoners.

Default - false.




setParameter
public void setParameter(Property parameterUri, Object value)(Code)
Set a configuration parameter for the reasoner. Parameters can identified by URI and can also be set when the Reasoner instance is created by specifying a configuration in RDF.
Parameters:
  parameterUri - the property identifying the parameter to be changed
Parameters:
  value - the new value for the parameter, typically this is a wrappedjava object like Boolean or Integer.



supportsProperty
public boolean supportsProperty(Property property)(Code)
Determine whether the given property is recognized and treated specially by this reasoner. This is a convenience packaging of a special case of getCapabilities.
Parameters:
  property - the property which we want to ask the reasoner about true if the given property is handled specially by the reasoner.



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