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


java.lang.Object
   com.hp.hpl.jena.reasoner.ReasonerRegistry

ReasonerRegistry
public class ReasonerRegistry (Code)
A global registry of known reasoner modules. Modules are identified by a URI and can have associated capability and descriptive information, in RDF. Currently the schema/ontology for such descriptions is mostly open. However, we do ensure that each reasoner URI at least has an associated rdf:type statement to indicate that it is a reasoner.

It is up to each reasoner or some associated configuration system to register it in this registry.


author:
   Dave Reynolds
version:
   $Revision: 1.31 $ on $Date: 2008/01/21 14:54:20 $


Field Summary
protected  ModelallDescriptions
    
protected  MapreasonerFactories
    
protected static  ReasonertheOWLMicroReasoner
    
protected static  ReasonertheOWLMiniReasoner
    
protected static  ReasonertheOWLReasoner
    
protected static  ReasonertheRDFSReasoner
     Prebuilt standard configuration for the default RDFS reasoner.
protected static  ReasonertheRDFSSimpleReasoner
     Prebuilt standard configuration for the default RDFS reasoner.
protected static  ReasonerRegistrytheRegistry
    
protected static  ReasonertheTRANSITIVEReasoner
     Prebuilt standard configuration for the default subclass/subproperty transitive closure reasoner.


Method Summary
public  Reasonercreate(String uri, Resource configuration)
     Create and return a new instance of the reasoner identified by the given uri.
Parameters:
  uri - the uri of the reasoner to be created, expressed as a simple string
Parameters:
  configuration - an optional set of configuration information encoded in RDF this parameter can be null if no configuration information is required.
public  ModelgetAllDescriptions()
     Return a composite set of RDF capability descriptions for all registered reasoners.
public static  DIGReasonergetDIGReasoner()
    

Create a DIG reasoner for the specified language for the OWL language, with default settings (including the default URL for the DIG reasoner), and no axioms specified.

public static  DIGReasonergetDIGReasoner(Resource lang, Resource config)
    
public static  DIGReasonergetDIGReasoner(Resource lang, boolean withAxioms, Resource config)
    

Create a DIG reasoner for the specified language ( or ), optionally with axioms that specify e.g.

public  ResourcegetDescription(String uri)
     Return information on a given Reasoner.
public  ReasonerFactorygetFactory(String uri)
     Return the factory for the given reasoner.
public static  ReasonergetOWLMicroReasoner()
     Prebuilt standard configuration a micro-OWL reasoner.
public static  ReasonergetOWLMiniReasoner()
     Prebuilt mini configuration for the default OWL reasoner.
public static  ReasonergetOWLReasoner()
     Prebuilt standard configuration for the default OWL reasoner.
public static  ReasonergetRDFSReasoner()
    
public static  ReasonergetRDFSSimpleReasoner()
    
public static  ReasonergetTransitiveReasoner()
     Return a prebuilt standard configuration for the default subclass/subproperty transitive closure reasoner.
public static  NodemakeDirect(Node node)
     Return a property Node which represents the direct version of a transitively closed property.
public static  StringmakeDirect(String uri)
     Return a URI string which represents the direct version of a transitively closed property URI

Not clear what the right thing to do here is.

public  voidregister(ReasonerFactory factory)
     Register a Reasoner.
public  voidregister(String reasonerUri, ReasonerFactory factory)
     Register a Reasoner - simple case with no RDF description.
public static  ReasonerRegistrytheRegistry()
    

Field Detail
allDescriptions
protected Model allDescriptions(Code)
Union of the all reasoner capability descriptions



reasonerFactories
protected Map reasonerFactories(Code)
Map from reasoner URI to the associated factory



theOWLMicroReasoner
protected static Reasoner theOWLMicroReasoner(Code)
Prebuilt micro configuration OWL reasoner



theOWLMiniReasoner
protected static Reasoner theOWLMiniReasoner(Code)
Prebuilt mini configuration OWL reasoner



theOWLReasoner
protected static Reasoner theOWLReasoner(Code)
Prebuilt standard configuration OWL reasoner



theRDFSReasoner
protected static Reasoner theRDFSReasoner(Code)
Prebuilt standard configuration for the default RDFS reasoner.



theRDFSSimpleReasoner
protected static Reasoner theRDFSSimpleReasoner(Code)
Prebuilt standard configuration for the default RDFS reasoner.



theRegistry
protected static ReasonerRegistry theRegistry(Code)
Single glogal instance of the registry



theTRANSITIVEReasoner
protected static Reasoner theTRANSITIVEReasoner(Code)
Prebuilt standard configuration for the default subclass/subproperty transitive closure reasoner.





Method Detail
create
public Reasoner create(String uri, Resource configuration) throws ReasonerException(Code)
Create and return a new instance of the reasoner identified by the given uri.
Parameters:
  uri - the uri of the reasoner to be created, expressed as a simple string
Parameters:
  configuration - an optional set of configuration information encoded in RDF this parameter can be null if no configuration information is required. a reaoner instance
throws:
  ReasonerException - if there is not such reasoner or if there issome problem during instantiation



getAllDescriptions
public Model getAllDescriptions()(Code)
Return a composite set of RDF capability descriptions for all registered reasoners. Listing all Resources of type ReasonerClass in the returned model would enumerate all registered reasoners.



getDIGReasoner
public static DIGReasoner getDIGReasoner()(Code)

Create a DIG reasoner for the specified language for the OWL language, with default settings (including the default URL for the DIG reasoner), and no axioms specified.

A new DIG reasoner



getDIGReasoner
public static DIGReasoner getDIGReasoner(Resource lang, Resource config)(Code)

Create a DIG reasoner for the specified language ( or ), without type axioms.


Parameters:
  lang - The ontology language, OWL or DAML, as a resource
Parameters:
  config - Optional configuration root resource, or null A new DIG reasoner



getDIGReasoner
public static DIGReasoner getDIGReasoner(Resource lang, boolean withAxioms, Resource config)(Code)

Create a DIG reasoner for the specified language ( or ), optionally with axioms that specify e.g. the types of OWL objects etc.


Parameters:
  lang - The ontology language, OWL or DAML, as a resource
Parameters:
  withAxioms - If true, include the type axioms for the language
Parameters:
  config - Optional configuration root resource, or null A new DIG reasoner



getDescription
public Resource getDescription(String uri)(Code)
Return information on a given Reasoner.
Parameters:
  uri - the URI of the reasoner a Resource representing the reasoner whose properties (as obtainablethrough listProperties etc) give a capability description of the reasoner; returns null if no such reasoner is registered.



getFactory
public ReasonerFactory getFactory(String uri)(Code)
Return the factory for the given reasoner.
Parameters:
  uri - the URI of the reasoner the ReasonerFactory instance for this reasoner



getOWLMicroReasoner
public static Reasoner getOWLMicroReasoner()(Code)
Prebuilt standard configuration a micro-OWL reasoner. This just supports property axioms, and class inheritance sufficient to power the OntAPI.



getOWLMiniReasoner
public static Reasoner getOWLMiniReasoner()(Code)
Prebuilt mini configuration for the default OWL reasoner. This omits bNode introduction rules which has significant performance gain in some cases and avoids breaking the find contract.



getOWLReasoner
public static Reasoner getOWLReasoner()(Code)
Prebuilt standard configuration for the default OWL reasoner. This configuration is hybrid forward/backward reasoner.



getRDFSReasoner
public static Reasoner getRDFSReasoner()(Code)
Return a prebuilt standard configuration for the default RDFS reasoner



getRDFSSimpleReasoner
public static Reasoner getRDFSSimpleReasoner()(Code)
Return a prebuilt simplified configuration for the default RDFS reasoner



getTransitiveReasoner
public static Reasoner getTransitiveReasoner()(Code)
Return a prebuilt standard configuration for the default subclass/subproperty transitive closure reasoner.



makeDirect
public static Node makeDirect(Node node)(Code)
Return a property Node which represents the direct version of a transitively closed property. See makeDirect(String); this method makes a new Node with the direct respelling of nodes URI.



makeDirect
public static String makeDirect(String uri)(Code)
Return a URI string which represents the direct version of a transitively closed property URI

Not clear what the right thing to do here is. Should not just invent a new local name in the same namespace because that might be a controlled namespace like RDF or RDFS. Can't even just extend the namespace slightly because that would be violating the web principles of namespace ownership. On the other hand, this solution results in staggeringly clumsy names.


Parameters:
  uri - the URI representing the transitive property



register
public void register(ReasonerFactory factory)(Code)
Register a Reasoner.
Parameters:
  factory - an factory that can be used to create instances of the reasoner



register
public void register(String reasonerUri, ReasonerFactory factory)(Code)
Register a Reasoner - simple case with no RDF description.
Parameters:
  factory - an factory that can be used to create instances of the reasoner
Parameters:
  reasonerUri - the URI used to label the reasoner, expressed as asimple string



theRegistry
public static ReasonerRegistry theRegistry()(Code)
Return the single global instance of the registry



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.