How exactly does graph.performInference() work?

So as far as I understand, if a rules index does not exist, calling this function will call a SEM_APIS.CREATE_ENTAILMENT using whatever info it gets from the attachment. I noticed however that when the rulebase specified by the attachment already exists (e.g. it is created manually via SEM_APIS.CREATE_ENTAILMENT in SQLPLUS) the the function will still run. What does it do in the latter case? Does it update the rules index like graph.commitTransaction() or does it do nothing?
-Alexi

Hi,
Answer to 1) is yes.
For your second question, "Is there a way to do something like graph.performInference() via the SEM_APIS? Or do I have to call SEM_APIS.CREATE_ENTILMENT every time I add/delete a triple from the model?"
SEM_APIS.create_entailment is the API you want to call from SQL to run inference. Whether you need to call that API every time you add/delete a triple
is application dependent. You may want to run create_entailment periodically. Note that, Oracle Database release 11.2 has a cool feature called incremental inference maintenance. It can efficiently update the inference closure after a few triples are added. Please see the user manual for details.
Hope it helps,
Zhe Wu

Similar Messages

  • How EXACTLY does Screen Sharing work on Lion?

    I tried to connect to my best friend's MacBook but it wouldn't work.
    Can anyone give me detailed information on how to set up screensharing on the Mac?
    We don't want to keep using Skype for that because it is extremely laggy and keeps crashing like it's its favorite thing to do.

    Il try it right now from a mac running 10.6.8 to an Air running 10.7....
    Make sure screensharing is tunred on in sharing preferences on both computers
    Open a finder window on the computer you wish to view/share from
    find the computer you wish to share/view on the sidebar
    click sharescreen on the black bar
    enter credentials

  • How exactly does e-print work

    Does the media go straight to my printer or is it on a 3rd party server . Does anyone have rights to my emails or are they viewable?
    This question was solved.
    View Solution.

    The printer will be connected to the internet via your router. From here it will always have an open connection to the HP eprint servers so any incoming jobs can arrive and print out. Since the printer is on the router directly this is why the printer can eprint even with your PC turned off. If the router were off however then eprint jobs would not work.
    Jon-W
    I work on behalf of HP
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    Click the KUDOS STAR on the left to say “Thanks” for helping!

  • I have a listbox with propety nodes "Item names" and "Double click".I'm trying to access the files in the listbox using these nodes but it isn't working. How exactly does Items names work??

    I realise that the first item in the listbox is 0 but how can I open these files in the listbox...I'm very confused!!

    I have attached an example to help you out. Let me know if this is what your looking for.
    Good luck,
    Greg
    Attachments:
    listbox.vi ‏30 KB

  • How exactly does the new iCloud accessing feature work?

    I have heard that the new firmware allows access to any hard drives connected to an AirPort through iCloud.
    How exactly does this feature work? Will the files be accessible on the web? Will I be able to mount the hard drive remotely if my computer is logged in with the same iCloud account?
    Please clarify, as I am considering buying now.

    The "magic" behind iCloud for accessing either your AirPort Extreme/Time Capsule or your Mac from the Internet is Back to My Mac (BtMM). For reference, iCloud replaced MobileMe.
    Here are a few links for more details around BtMM:
    Back to My Mac User Guide
    Apple Support Article

  • How well does the express work in a 2400 square foot home being on the top floor? us on the bottom floor

    How well does the express work in a 2400 square foot home being on the top floor? us on the bottom floor

    How well does the express work in a 2400 square foot home being on the top floor? us on the bottom floor
    As you might imagine, without knowing a ton of information about the actual construction of the walls and ceiling of your home.....how many walls and other obstructions would be in the signal path of each device.....and the distance between each device and the AirPort Express.....along with how many users would be online at one time or another and what activities they would be involved in......etc., it's really not possible to accurately predict what type of results you might achieve.
    The bottom line with any wireless installation is that you really won't know how effectively it will actually perform until you try it.
    My opinion would be that you will likely need to add an additonal AirPort Express to "extend" the wireless more effectively to the bottom floor. But again, the same things apply as above.

  • How exactly does flex decide if the dataprovider in a lineseries has missing data.

    How exactly does flex decide if the dataprovider in a
    lineseries has missing data? It seems like a fairly abitary
    concept.

    "nikos101" <[email protected]> wrote in
    message
    news:gidae1$k00$[email protected]..
    > How exactly does flex decide if the dataprovider in a
    lineseries has
    > missing data? It seems like a fairly abitary concept.
    If there's an object in the collection that doesn't have the
    associated
    data, I would think.

  • InitialContext: How, exactly, does a server application create one

    I'd appreciate somebody clarifying as to how exactly does a server application (specifically,
    weblogic) get the default InitialContext(). One can write a new application and "drop"
    it into an already running instance of weblogic server. This application should be
    able to get the right InitialContext by using the IntialContext(). Is the PROVIDER_URL
    set in the JVM by whatever class starts the application going, or does it use "localhost"
    and default port - in which case what if there are more than one servers running
    on a machine?
    Thanks

    new InitialContext() gets initial context factory class name from the
    Context.INITIAL_CONTEXT_FACTORY System property (which is set by WebLogic to
    'weblogic.jndi.WLInitialContextFactory' when it starts) and PROVIDER_URL is null,
    which I guess for WebLogic implementation means local JVM.
    You can take a look at the javax.naming.InitialContext JavaDoc to see where it gets
    it's parameters from:
    http://java.sun.com/j2se/1.4/docs/api/javax/naming/InitialContext.html
    Satish Gupta <[email protected]> wrote:
    I'd appreciate somebody clarifying as to how exactly does a server application (specifically,
    weblogic) get the default InitialContext(). One can write a new application and "drop"
    it into an already running instance of weblogic server. This application should be
    able to get the right InitialContext by using the IntialContext(). Is the PROVIDER_URL
    set in the JVM by whatever class starts the application going, or does it use "localhost"
    and default port - in which case what if there are more than one servers running
    on a machine?
    Thanks--
    Dimitri

  • How well does Compressor 4 work with Final Cut 6?

    How well does Compressor 4 work with Final Cut 6?

    The short answer is that there is no interoperability between them. Of course, you can certainly export a QT movie from FCP and bring it into C4.
    Honestly, I'm not sure it's worth it for someone already has C3. There is very little that C4 can do that C3 cannot. The major differences are that C4 has certain presets like  MPEG 4 h.264 and 1080 Apple TV; it can also create simple Blu Rays and DVDs. Qmaster is integrated, but I'm not sure whether that is a gain.
    Russ

  • How well does the Ipad2 work with the verizon 4g hotspot?

    How well does the ipad2 work with the verizon 4g hotspot?

    WoW Macbook Pro 2011 15" i7 2.3Ghz quad core AMD 6750 hi-res AG OSX gameplay with FPS and temps 
    MacBook Pro 17in. Review (Early 2011) 
    http://www.youtube.com/watch?v=hiEDf_l0PqY

  • How, exactly, will the upgrade work?

    I'd like to find out how, exactly the upgrade from Logic Studio 8 to Logic Studio 9.
    I need to find out because I had a burglary and my installed version of Logic Studio 8 was stolen. I still have all the install DVDs, so, if the upgrade works on those, I have no problem. If the update works from the installed version, then I do.
    If it does work from the installed version, is there a way of de-registering the computer that has been stolen? With iTunes there's a useful feature where you can de-authorise all your machines, including those you haven't got, then re-authorise just those that you do have. Is there some way of doing this with Logic?

    It works either way. I've done both.
    If logic is already installed on your machine, all you need to do is type in the logic 9 serial number.
    If not as in your case, you will be asked for the new serial number and the old serial number from
    logic 8. Hopefully you still have this number with your previous install disks.
    Not sure about de-authorization. I know that you can only run 1 copy of logic at a time on the "same" network.
    As eriksimon suggested, best to ask apple.
    Message was edited by: bouzoukikid

  • How well does website filter work in parental controls?

    Hello there,
    I'm curious to know how well the adult filter works ok the ios7 built in parental controls. I noticed they have a websites option now to filter different levels of the internet. Does this also work across the entire device in 3 party in app browsers?
    Thanks,
    LJ

    They work pretty good, & are across the device. Read here:
    http://support.apple.com/kb/HT4213
    Just be aware, crafty kids can figure out a way to bypass pretty much anything they want. Just get in the habit of regularly checking the device.

  • How well does Trend Micro work to protect my Mac? My OS is Lion.

    How does Trend Micro work to protect my Mac? My OS is Lion.

    I don't have any on my Macs nor do the users I help to support.
    Tell them it is a Mac thing.
    Allan

  • How good does the Isight work?

    Hi,
    I was watching the video on the homepage of apples website. Where steve jobs talks about the new products, he talks about the imac with isight built in. Does the isight work that smooth, if someone is in another state, if you both have a cable connection? i have a powerbook, and I would like to get a isight.
    Thanks

    It all depends on your connection. I've gotten good video connection, nothing as good as the demonstration tho. If I had to bet, the connection that Steve was working on was an internal or some speedy internet connection like a T3 or something. For the average person with good broadband connection, the video outperforms anything else I have used with a PC.

  • How exactly does the soft-knee work?

    How to calculate soft-knee time/ratio? How do I know exactly how early and with what intensity the soft-knee is compressing the signal before it reaches the threshold in relation to the ratio and threshold value. By this I mean is there a mathematical formula that says: "a threshold of -__dB with a soft-knee setting at __ compresses a signal __dB below the threshold with a __:1 ratio __ms before the threshold"?

    The knee determines how a certain change in dB of the input will translate to a certain change in dB of the output.
    Think of it this way: You have a graph of output level vs input level. If the graph is a straight line with a slope of 1 then an increase of 1dB in the input will result in an increase in 1 db of the output. In other words - no compression is happening. This is what happens below the Threshold
    If the slope of the line is less then 1 (let's say it's 0.5) then a change in 1dB of the input signal results in only 0.5 dB increase in the output signal. That's a compression ratio of 2 to 1 or 1 to 2 depending on how you look at it. This is what happens above the threshold.
    Now for the knee: If the compressor is a hard knee compressor then the transition from the line with a slope of 1 to the line with a slope of 0.5 is abrupt and occurs at the threshold. Immediately below the threshold there is no compression, it's 1to1 - input to output. Immediately above the threshold it's 2to1 - input to output.
    If the compressor is a softknee comp then the transition from no compression to full compression is gradual. The line doesn't change slope instantly but is instead "rounded." The threshold, although, still dialed in as an exact value, becomes more of a range during which compression sets in.
    Many famous compressors (LA's included) don't offer control over this knee parameter. It's hardwired into the device as either soft or hard. Of course software compressors usually offer control over the knee.
    As for the LA-type clones - well I've never thought about selling one since doing so would, I'm sure, would cause Universal Audio to take legal action against me. Detailed parts lists and schematics are available free on the web for anyone who wants to try building one. Start here
    http://www.conditionedresponse.com/DIY/LA2/index.html
    The hardest thing is ordering all the parts - if you like soldering, that is.

Maybe you are looking for

  • Microsoft LYNC Basic 2013 encountered an error suring Setup

    Dear Team, I have tried most of the suggestions provided on net. I have followed below steps as of now. 1) Uninstall earlier version of LYNC. 2) Deleted registry, & rebooted the system. 3) Logged in with Administrator. Still I'm facing issues while i

  • 2D picture control doesn't refresh properly

    I have an application which displays a picture in a 2D picture indicator and draws a few rectangles and lines on top of the picture.  The locations of these lines change throughout the day, and the application is designed to run minimized and then pr

  • How to  manage  users in generic syncronization process

    Hi, We need to solve the following issue: We are developping a generic sync application in synchronous mode , it means, our application use generic syncronization to comunicate with backend R/3 in synchronous mode and this is an indispensable require

  • Unable to create New Business System

    Hi I Installed XI 3.0 and configuring as per the configuration guide. When I try to create Business System (SLD) I get the following error message. "Integration Server already defined There is already an integration server defined for the selected te

  • Facetime IOS 7 problems

    Why I cant use Facetime over 3G with IOS 7 on my Iphone 4. Same carier support it via Ipad 3?