Codota Logo
InfModel.getDeductionsModel
Code IndexAdd Codota to your IDE (free)

How to use
getDeductionsModel
method
in
com.hp.hpl.jena.rdf.model.InfModel

Best Java code snippets using com.hp.hpl.jena.rdf.model.InfModel.getDeductionsModel (Showing top 2 results out of 315)

  • Common ways to obtain InfModel
private void myMethod () {
InfModel i =
  • Codota IconReasoner reasoner;Model model;ModelFactory.createInfModel(reasoner, model)
  • Smart code suggestions by Codota
}
origin: org.apache.clerezza.ext/org.apache.jena.jena-core

Model deductions = infModel.getDeductionsModel();
deductions.setNsPrefixes(prefixes);
deductions.setNsPrefixes(inModel);
origin: apache/stanbol

infModel.getDeductionsModel().write(System.out);
com.hp.hpl.jena.rdf.modelInfModelgetDeductionsModel

Javadoc

Returns a derivations model. The rule reasoners typically create a graph containing those triples added to the base graph due to rule firings. In some applications it can useful to be able to access those deductions directly, without seeing the raw data which triggered them. In particular, this allows the forward rules to be used as if they were rewrite transformation rules.

Popular methods of InfModel

  • prepare
    Perform any initial processing and caching. This call is optional. Most engines either have negligab
  • listStatements
    Find all the statements matching a pattern.Return an iterator over all the statements in a model tha
  • validate
    Test the consistency of the underlying data. This normally tests the validity of the bound instance
  • write
  • asStatement
  • contains
  • getDerivation
    Return the derivation of the given statement (which should be the result of some previous list opera
  • getGraph
  • getResource
  • remove
  • setNsPrefixes
  • setNsPrefixes

Popular in Java

  • Updating database using SQL prepared statement
  • putExtra (Intent)
  • getContentResolver (Context)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • TimerTask (java.util)
    A task that can be scheduled for one-time or repeated execution by a Timer.
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now