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


java.lang.Object
   com.hp.hpl.jena.reasoner.dig.DIGReasoner

DIGReasoner
public class DIGReasoner implements Reasoner(Code)

This reasoner is the generator of inf-graphs that can use an external DIG inference engine to perform DL reasoning tasks.


author:
   Ian Dickinson, HP Labs (email)
version:
   Release @release@ ($Id: DIGReasoner.java,v 1.12 2008/01/02 12:07:09 andy_seaborne Exp $)


Field Summary
protected  Capabilitiescapabilities
    
protected  Modelm_axioms
    
protected  Resourcem_configuration
    
protected  Stringm_extReasonerURL
    
protected  ReasonerFactorym_factory
    
protected  OntModelSpecm_ontLang
    
protected  Graphm_tbox
    

Constructor Summary
public  DIGReasoner(Graph tbox, ReasonerFactory factory, Resource configuration)
    

Construct a DIG reasoner, that can generate inference graphs binding an external DIG inference engine (e.g.


Method Summary
public  voidaddDescription(Model configSpec, Resource base)
    
public  InfGraphbind(Graph data)
    
public  ReasonerbindSchema(Graph tbox)
    

Bind a schema, or tbox, to this DIG reasoner.

public  ReasonerbindSchema(Model tbox)
    

Bind a schema, or tbox, to this DIG reasoner.

public  voidconfigure(Resource configuration)
    
protected  booleandoSetParameter(Property parameter, Object value)
    

Set a configuration parameter for the reasoner.

public  ModelgetAxioms()
    
public  CapabilitiesgetGraphCapabilities()
     Return the Jena Graph Capabilties that the inference graphs generated by this reasoner are expected to conform to.
protected  OntModelSpecgetModelSpec(String lang)
    
public  OntModelSpecgetOntLangModelSpec()
    
public  ModelgetReasonerCapabilities()
    
public  StringgetReasonerURL()
    
public  GraphgetSchema()
    
public  voidsetDerivationLogging(boolean logOn)
     Not available.
public  voidsetParameter(Property parameter, 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.

Field Detail
capabilities
protected Capabilities capabilities(Code)
The graph capabilities of the infgraphs generated by this reasoner



m_axioms
protected Model m_axioms(Code)
The axioms that provide additional triples based on the language we're processing



m_configuration
protected Resource m_configuration(Code)
The original configuration properties, if any



m_extReasonerURL
protected String m_extReasonerURL(Code)
The URL to use to connect to the external reasoner



m_factory
protected ReasonerFactory m_factory(Code)
Reference to the factory that created this reasoner



m_ontLang
protected OntModelSpec m_ontLang(Code)
The profile of the ontology language we're expecting



m_tbox
protected Graph m_tbox(Code)
A graph that contains ontology definition data (tbox)




Constructor Detail
DIGReasoner
public DIGReasoner(Graph tbox, ReasonerFactory factory, Resource configuration)(Code)

Construct a DIG reasoner, that can generate inference graphs binding an external DIG inference engine (e.g. Racer) to a given source graph.


Parameters:
  tbox - Optional schema to bind to this reasoner instance. Unlike other Jenareasoners, pre-binding a tbox to a DIG reasoner does not allow anyefficiencies to be exploited.
Parameters:
  factory - The reasoner factory that created this reasoner
Parameters:
  configuration - Optional resource to which is attached configurationparameters for this reasoner





Method Detail
addDescription
public void addDescription(Model configSpec, Resource base)(Code)

Add this reasoner's description to the given configuration model.


Parameters:
  configSpec - A configuration model to add this reasoner's configuration to
Parameters:
  base - The base URI in the given model to which we will attach the configurationof this reasoner.



bind
public InfGraph bind(Graph data)(Code)

Bind the given data graph to any existing t-box schema that we have, and answer the resulting inference graph.


Parameters:
  data - A graph containing the source data A new inference graph that will apply the DIG reasoner to the combinationof the tbox and data graphs.



bindSchema
public Reasoner bindSchema(Graph tbox)(Code)

Bind a schema, or tbox, to this DIG reasoner. This does not have any efficiency value in DIG reasoners, since we must re-load the entire tbox into each new instance of a DIG inference graph.


Parameters:
  tbox - The graph containing the ontology (tbox) data A new DIG reasoner containing the tbox data
See Also:   com.hp.hpl.jena.reasoner.Reasoner.bindSchema(com.hp.hpl.jena.graph.Graph)




bindSchema
public Reasoner bindSchema(Model tbox)(Code)

Bind a schema, or tbox, to this DIG reasoner. This does not have any efficiency value in DIG reasoners, since we must re-load the entire tbox into each new instance of a DIG inference graph.


Parameters:
  tbox - A model wrapping the graph containing the ontology (tbox) data A new DIG reasoner containing the tbox data
See Also:   com.hp.hpl.jena.reasoner.Reasoner.bindSchema(com.hp.hpl.jena.graph.Graph)




configure
public void configure(Resource configuration)(Code)

Configure the reasoner using the properties attached to the given config resource.


Parameters:
  configuration - A configuration resource.



doSetParameter
protected boolean doSetParameter(Property parameter, Object value)(Code)

Set a configuration parameter for the reasoner. The supported parameters are:


Parameters:
  parameter - 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. false if the parameter was not known



getAxioms
public Model getAxioms()(Code)

Answer the model that contains the given axioms for this reasoner, or null if not defined.

The axioms model



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



getModelSpec
protected OntModelSpec getModelSpec(String lang)(Code)

Answer the ont model spec for the given ontology language


Parameters:
  lang - The ontology language as a URI The correspondig ont model spec to use (should be no reasoner attached)



getOntLangModelSpec
public OntModelSpec getOntLangModelSpec()(Code)

Answer the model spec that corresponds to the ontology model type we'll use to access the terms of the ontology according to language.

The appropriate ont model spec



getReasonerCapabilities
public Model getReasonerCapabilities()(Code)

Answer the capabilities of this reasoner.

An RDF model denoting the capabilties of the reasoner



getReasonerURL
public String getReasonerURL()(Code)

Answer the URL to use when connecting to the external reasoner.

The connection URL for the external reasoner as a string



getSchema
public Graph getSchema()(Code)

Answer the schema (tbox) graph for this reasoner, or null if no schema is defined.

The schema graph, or null



setDerivationLogging
public void setDerivationLogging(boolean logOn)(Code)
Not available.
exception:
  UnsupportedOperationException -



setParameter
public void setParameter(Property parameter, Object value)(Code)
Set a configuration parameter for the reasoner. The supported parameters are:
  • PROPderivationLogging - set to true to enable recording all rule derivations
  • PROPtraceOn - set to true to enable verbose trace information to be sent to the logger INFO channel

Parameters:
  parameter - 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.
throws:
  IllegalParameterException - if the parameter is unknown



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, given as a Node sincethis is part of the SPI rather than API true if the given property is handled specially by the reasoner.



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.