OWLPrime and Jena

Hello,
System Specs:
Oracle 11g
Oracle Jena Adapter 2.0
Jena 2.5.6
I am trying to leverage the transitive, inverse, etc. properties of an ontology I downloaded. The ontology I am using references the Relationship Ontology (RO) from the OBO Foundry. The Relationship Ontology contains several transitive properties including the has_part property. I have a SPARQL query that I execute using Jena. My ontology contains some information in the form: A has_part B, A has_part C, B has_part D. Without creating any entailments, I was able to correctly query my ontology and get 2 results when I ran the query "SELECT * WHERE A has_part ?parts".
Now I want to take the next step and return the transitive cases where A has_part D (via the fact that B has_part D). To accomplish this, I loaded the "main ontology" along with the Relationship Ontology into an Oracle semantic model. Next, I ran the following through SQL*Plus to create the entailments: exec sem_apis.create_entailment(‘ontology_model_idx’,sem_models(‘ontology’), sem_rulebases(‘owlprime’));. The procedure ran fine without any errors. However, I still only get the same 2 results when I run "SELECT * WHERE A has_part ?parts". I am not returning the transitive cases. What else do I need to do? Do I need to add Pellet to my Jena code? If so, why? Aren't the inferences already in the Oracle table?
Thanks,
Chuck

Hi Alan,
I'm having a bit of trouble using my rule. First, I created my rule by executing the following commands from SQL*PLUS:
execute sem_apis.create_rulebase('user_rulebase');
INSERT INTO mdsys.semr_user_rulebase VALUES ('obo_has_part',
'(?whole <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?sub) (?sub <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction>) (?sub <http://www.w3.org/2002/07/owl#onProperty> <http://www.obofoundry.org/ro/ro.owl#has_part>) (?sub <http://www.w3.org/2002/07/owl#someValuesFrom> ?part)', NULL, '(?whole <http://www.obofoundry.org/ro/ro.owl#has_part> ?part)', null);
Now I am trying to use the following code to execute my new rule along with the OWLPRIME rules from Java:
String[] rulelist = new String[2];
rulelist[0] = new String("OWLPRIME");
rulelist[1] = new String("USER_RULEBASE");
Attachment attachment = Attachment.createInstance(
Attachment.NO_ADDITIONAL_MODELS, rulelist,
InferenceMaintenanceMode.NO_UPDATE,
QueryOptions.DEFAULT);
graph.performInference();
graph.analyzeInferredGraph();
I am seeing the following output and errors:
INFO [main] (SimpleLog.java:49) - performInference: has valid entailment already
INFO [main] (SimpleLog.java:49) - Final clause = SELECT part$RDFVTYP, part$RDFLTYP, part$RDFLANG, part$RDFCLOB, decode(part$RDFVTYP, 'BLN', ('_:'||substr(part,instr(part,'m',4)+1)), part) part, whole$RDFVTYP, decode(whole$RDFVTYP, 'BLN', ('_:'||substr(whole,instr(whole,'m',4)+1)), whole) whole FROM table(sdo_rdf_match('(?whole <http://www.obofoundry.org/ro/ro.owl#has_part> ?part) ', sdo_rdf_models('NEURON_ONTOLOGY'), sdo_rdf_rulebases('OWLPRIME','USER_RULEBASE'), null, null, null))
Error: rethrew: java.sql.SQLException: ORA-20000: We do not have a rules index for this Model-Rulebase combination
ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 176
ORA-06512: at line 1
Do I need to run sem_apis.create_entailment?
Thanks,
Chuck

Similar Messages

  • How do you move songs from the 'iTunes library to 'Jenni's iPod Selection'?

    I have 2 folders with songs in them: iTunes Library and Jenni's iPod Selection. Whenever I download music, they are automatically saved in the 'iTunes Library' folder. But when I hook up my iPod to download them into the iPod, the songs are downloaded from the 'Jenni's iPod Selection' folder. Most of the songs are in the iTunes Library folder... Can someone help me?

    Song that are imported from CD or downloaded into iTunes are always going to be in iTunes music folder. Can't change this.
    Any reason you don't want this and you have music stored in "Jenni's iPod Selection"?
    Why not add it all to the iTunes music folder and create a playlist called "Jenni's iPod Selection".

  • ITunes Image and Description Not Updating

    Hello,
    First of all, let me share my feed details.
    Feedburner Feed URL: http://feeds.feedburner.com/TheDaveAndSteveShow
    WordPress Hosted URL: http://www.dasshow.com
    Source URL for Feed: http://www.dasshow.com/?cat=4
    XML Posted Below
    Yesterday I updated my image and description in the Feedburner "Smartcast" section. Despite numerous pings of both the feed, and iTunes however, the image and description remain unchanged. It has been over 24 hours with still no signs of life.
    Any help would be very much appreciated. I'm posting the first chunk of XML below, so that it can be reviewed.
    Thanks again!
    <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?>
    <?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?>
    <rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
    <channel>
    <title>The Dave and Steve Show » Episodes</title>
    <link>http://www.dasshow.com</link>
    <description>An independent podcast produced from deep within the nether-regions of Anytown, USA! Guest interviews, Headlines, Entertainment News, and more! Join The Pile today.</description>
    <pubDate>Thu, 25 Mar 2010 04:25:35 +0000</pubDate>
    <generator>http://wordpress.org/?v=2.6.2</generator>
    <language>en</language>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/TheDaveAndSteveShow" />
    <feedburner:info uri="thedaveandsteveshow" />
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" />
    <media:copyright>2010 - The Dave and Steve Show</media:copyright>
    <media:thumbnail url="http://www.dasshow.com/whitelogo_itunes.png" />
    <media:keywords>comedy,fun,funny,radio,off,topic,rants,childhood,stories,humor,g ames,movies,television,radio,talk,show,kittens,rants,hollywood,gossip,reviews,mu sic,celebs,celebrities,tmz,morning,radio,podcast,stupid,dumb,mediocre,funny,lame ,beer,college,celebrities</media:keywords>
    <media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Comedy</media:category>
    <media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">TV & Film</media:category>
    <media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Society & Culture</media:category>
    <media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">News & Politics</media:category>
    <media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Games & Hobbies</media:category>
    <itunes:owner>
    <itunes:email>[email protected]</itunes:email>
    <itunes:name>[email protected]</itunes:name>
    </itunes:owner>
    <itunes:author>[email protected]</itunes:author>
    <itunes:explicit>clean</itunes:explicit>
    <itunes:image href="http://www.dasshow.com/whitelogo_itunes.png" />
    <itunes:keywords>comedy,fun,funny,radio,off,topic,rants,childhood,stories,humor, games,movies,television,radio,talk,show,kittens,rants,hollywood,gossip,reviews,m usic,celebs,celebrities,tmz,morning,radio,podcast,stupid,dumb,mediocre,funny,lam e,beer,college,celebrities</itunes:keywords>
    <itunes:subtitle>dasshow.com - 206-984-2407- [email protected]</itunes:subtitle>
    <itunes:summary>Call our comment line at 206-984-2407 and we'll play your message on our show! Dave, Steve, Tracy, Gretchen, and Jen talk about entertainment news, headlines, the box office, gossip, sports, and stories about men having horrible things happen to very private areas of their bodies. Think of us as a commercial-free morning radio talkshow, but with far less talent, and way more laughter at dumb jokes. For lots of great content you can also visit our website at dasshow.com, and grab our "Dave and Steve's Droppings" App on iTunes! Argar Largar!</itunes:summary>
    <itunes:category text="Comedy" />
    <itunes:category text="TV &amp; Film" />
    <itunes:category text="Society &amp; Culture" />
    <itunes:category text="News &amp; Politics" />
    <itunes:category text="Games &amp; Hobbies" />

    Got it taken care of. Thank you!

  • Export a model in RDF/XML format without Jena?

    Hi,
    Are there means to export RDF triples in RDF/XML format without using Jena or any other Java staff?
    Thanks.

    Hi Dmitry,
    Unfortunately we do not have the code within SEM_APIS to do the task. This is something we already discussed with Development at some point in a case for another customer.
    What we have for now that you may already are aware of is the use of the jena framework to generate N-Triple or RDF/XML output
    There are a couple of notes:
    How To Use Jena Adapter To Extract A Model To Move From One Database To Another Database (Doc ID 1124288.1)
    How To Move Semantic Models From One Database To Another (Doc ID 1347754.1)
    Same code in those notes can be used to generate RDF/XML changing the line
    model.write(os, "N-TRIPLE");
    to
    model.write(os, "RDF/XML");
    The formats you can output are: "RDF/XML", "RDF/XML-ABBREV", "N-TRIPLE" and "N3". The default value is represented by null is "RDF/XML".
    I know this implies the extra work of installing java JDK and Jena framework but that is the only way for now.
    Regards!
    Jorge

  • Initial setup of triple store for use with Jena

    I have an instance of Oracle 11g that I want to use as the Persistent data layer for Jena. Can anyone point me to a good tutorial covering this?
    I'm quite confused as to whether there's anything on the database server itself I actually need to configure, or whether I can just go to town creating models directly via the Jena API.
    Thanks from an oracle noob,
    joe

    For 11g server, there is no need to configure anything special to the database to use Jena. (Of course, you need to do catsem11i.sql and then invoke sem_apis.create_sem_network...)
    On the client side, you do need to download Jena Adaptor 2.0 (see the following links)
    http://www.oracle.com/technology/tech/semantic_technologies/htdocs/documentation.html
    http://www.oracle.com/technology/software/tech/semantic_technologies/index.html
    After than, just include sdordfclient.jar in your classpath together with ojdbc5.jar and Jena
    libraries.
    The following readme has some code snippets.
    http://www.oracle.com/technology/tech/semantic_technologies/documentation/jenaadaptor2_readme.html
    Cheers,
    Zhe Wu

  • BW Related books and Links

    Hi everybody,
    I'm new to this Forum and new to SAP BW as well.Can you guys please suggest me some good books and links to go through SAP BW.Can you send me some books related to SAP BW if possible ?
    Thanks in advance.
    My Id : [email protected]

    BW Books
    Mastering the SAP Business Information Warehouse
    by Kevin McDonald, Andreas Wilmsmeier, David C. Dixon
    http://www.amazon.com/gp/product/0471219711/ref=pd_bxgy_text_b/102-7679650-5957713?%5Fencoding=UTF8
    “Business Information Warehouse for SAP” Naeem Hasmi
    http://www.amazon.com/gp/product/0471236349/102-7679650-5957713?v=glance&n=283155
    sample chapter
    http://infoframeworks.com/BW/SAP_BW_3rd_Party_Access_ETL_Tools.htm
    others
    SAP BW Data Retrieval
    Mastering the ETL process
    N. Egger, J.-M.R. Fiechter, R. Salzmann, R.P. Sawicki, T. Thielen
    http://www.sap-press.de/katalog/buecher/titel/gp/titelID-981
    SAP BW Data Modeling
    by Norbert Egger, Jean-Marie Fiechter, and Jens Rohlf
    http://www.sappress.com/product.cfm?account=&product=H989
    SAP BW Professional by Norbert Egger
    http://www.amazon.com/gp/product/1592290175/ref=pd_sim_b_2/102-7679650-5957713?%5Fencoding=UTF8&v=glance&n=283155
    SAP BW: A Step by Step Guide for BW 2.0 (Paperback)
    by Biao Fu, Henry Fu
    http://www.amazon.com/gp/product/0201703661/ref=pd_sim_b_3/102-7679650-5957713?%5Fencoding=UTF8&v=glance&n=283155
    SAP and BW Data Warehousing by Arshad Khan
    http://www.amazon.com/exec/obidos/tg/detail/-/B0007MYREQ/ref=pd_sim_b_5/102-7679650-5957713?%5Fencoding=UTF8&v=glance
    BW overview ppt
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2d019990-0201-0010-b89a-96b0a0ff3a18

  • How can I print multiple lines in my All Day Events (month view)?

    Does anyone know if there is anyway to print multiple lines for all day events? When I print my iCal from a monthly view, my all day events (positioned as a header) only print the words that can fit into the daily box, instead of going into multiple lines and displaying the whole text.
    For example:
    Los Angeles County Fair, Don't forget to pick up John and Jen
    will print as:
    Los Angeles County Fa......Jen
    Anyone have any idea how to solve this?
    P.S. I have already tried meddling with fonts and page sizes to no avail.

    Welcome to Apple Discussions!
    So far as I know, an allday event only ever shows a single line of text regardless of view.
    Consequently, how much you can see is governed by the width of the day (or days) in that view.

  • Problem when using v$librarycache in PL/SQL

    Hi all,
    I've a problem where do the select statement like:
    SELECT *
    FROM v$librarycache;
    in procedure using "OEM" tool.
    It's popup a error message like:
    Error Text = PL/SQL: ORA-00942: TABLE OR VIEW DOES NOT EXITST
    NOTE: There is no problem when i'm using sqlplus.
    Thank you,
    Kevin

    Peter and Jens
    I've loged in as "scott" user and created few procedure and i worked fine with "scott" user. I don't need to login as "sys". The problem i have here is somehow the fixed table "v$librarycache" doesn't work in procedure. Although, i've grant select any table, create any procedure to scott;
    Thanks,
    Kevin

  • String buffer put together many stirngs

    Hi All,
    I am trying to JENA java based browsing system. This is the code for query and results. JENA can only get one single query like "String sQuery = request.getParameter("query");". On GUI I made the interface the user can write select, where, and, using, from. So I made put together using stringbuffer method.
    Would you see the below code is right? or somethings are strange. Someone says me to use str.concat but I do not know how to use it. I am just beginner on JAVA and JENA API, so would like to get your comments.
    Thanks.
    Hyunjoo
    See Below codes;
    String sQuerySelect = request.getParameter("querySelect");
    String sQueryWhere = request.getParameter("queryWhere");
    String sQueryAnd = request.getParameter("queryAnd");
    String sQueryUsing = request.getParameter("queryUsing");
    String sQuery = request.getParameter("query");
    // query string /// string plus plus plus
    sQuery = new StringBuffer().append("SELECT ").append("sQuerySelect").append(" WHERE ").append("sQueryWhere").append(" AND ").append("sQueryAnd").append(" USING ").append("sQueryUsing)
    .toString()
    String sQueryFrom = request.getParameter("queryFrom");
    String sResult = request.getParameter("result");
    model.read(sQueryFrom);
    Query query = new Query(sQuery)
    query.setSource(model);

    String sQuerySelect = request.getParameter("querySelect");
    String sQueryWhere = request.getParameter("queryWhere");
    String sQueryAnd = request.getParameter("queryAnd");
    String sQueryUsing = request.getParameter("queryUsing");
    String sQuery = request.getParameter("query");
    // query string /// string plus plus plus
    sQuery = "SELECT "+sQuerySelect+" WHERE "+sQueryWhere+" AND "+sQueryAnd+" USING "+sQueryUsing;
    String sQueryFrom = request.getParameter("queryFrom");
    String sResult = request.getParameter("result");
    model.read(sQueryFrom);
    Query query = new Query(sQuery)
    query.setSource(model);

  • SAP HANA calculation field

    Hello,
    I have a query on the new calculated field in SAP HANA. What is the usage of this field, what are the pre-requisites and potential case when it is recommended to use such fields? Do we need to have a calculative view to use the calcluated field or can it be used directly in ABAP code?
    Kindly let me know. We are in the process of code optimization for HANA.
    Best Regards,
    Mohit

    Hey Mohit,
    can you please give a bit more details, e.g. documentation about what you refer to as "the new calculated field in SAP HANA".
    Concerning the details of usage within HANA, i.e. whether you need a calculation view etc. you might have a look at the SAP Help (Introduction - SAP HANA SQL and System Views Reference - SAP Library)) or maybe directly in the HANA SQL reference (http://help.sap.de/hana/SAP_HANA_SQL_Script_Reference_en.pdf).
    From my answer I think you can directly guess, that there's no way in directly accessing the calculated field from ABAP - except of course if you access it using native SQL (ADBC or EXEC SQL).
    For code optimization in SAP HANA (from an ABAP developers perspective), you might want to have a look at our Open SAP course (ABAP Development for SAP HANA - Dr. Jasmin Gruschke and Jens Weiler) or in the documentation given in our "Get Started" Section of ABAP for SAP HANA namely ABAP for SAP HANA Reference Scenario and ABAP for SAP HANA Reference Scenario - AS ABAP 7.4 Support Packages.
    In case you need more HANA (less ABAP) related information for your question, you might additionally contact the HANA experts on SAP HANA Developer Center.
    Cheers,
    Jasmin

  • SAP hana influence on ABAP.

    Hi Gurus,
    Thanks to everyone for putting all the hard work for compiling the OPEN SAP courses and other Documents.. Hats off..
    There is one query which has put me in a certain kind of retrospective. In large number of projects which we have worked we have written so much ABAP code ( Without SQL statements being optimized since Database Procedure statements were not much in use as it is now after introduction of HANA ) . So does it mean that SAP will ask all customers to upgrade using SAP Hana Approach or the Only the newly created programs and Database tables etc will use HANA approach..!
    Also i wish to know how much influence will HANA have going further from an Abaper's Prospective.
    Thanking You,
    Best Regards,
    Navin.

    Hi Navin,
    as mentioned in the course (ABAP Development for SAP HANA - Dr. Jasmin Gruschke and Jens Weiler) with the features provided in SAP NW 7.4 we encourage you to follow the code-to-data paradigm to push data-intensive coding down to the HANA database. But we also encourage you to do this with the capabilities Open SQL, CDS views, (and AMDPs if the other are not enough and you need native HANA features). With these ABAP-managed capabilities, there's no need to go too deep into the HANA (talking about becoming a HANA native programmer) but of course HANA has a huge influence on how we develop - it's HANAs capabilities that we are leveraging when doing the code-to-data paradigm.
    So, we typically say, that it's important to get an understanding of SQL (in particular of the Open SQL), which is sometimes lost when only accessing the database content via exiting FuBas, Class methods, or other APIs. But to understand how you (well your programs) can profit from HANA, you should have a fundamental understanding of how SQL can help you... e.g. that JOINs might be a better option than SELECT..... SELECT SINGLE ... ENDSELECT loops etc.
    And with the rise of S/4 HANA (see the openSAP course SAP Business Suite 4 SAP HANA in a Nutshell - ) it should be clear that ABAP is still an important ingredient in the world of business application :-)
    Cheers,
      Jasmin

  • Assigning "position" in repeat region

    I have a site that runs a contest and displays winners from
    across the
    nation. Through the year they compete and can go online to
    see where they
    stand in relation to others in their same territory. In order
    to display
    the winner's positions on the page, I sort the underlying
    data in sql using
    the necessary criteria, then on my asp page, as part of the
    repeat region, I
    run code that loops through the recordset and uses an x+1
    method of
    displaying each person's position. Whether or not this is the
    best way to
    do this, it works.
    MY PROBLEM...
    Up until now I only needed to display the positions based on
    one selected
    territory. So my results would always simply show 1 -x, in
    order.
    Joe territory1 1
    Van territory1 2
    Tim territory1 3
    Bob territory1 4
    NOW I am being asked to show the entire nation on one page
    for
    administrators. They want to see ALL the territories and the
    positions of
    each person for each territory, and have the ability to sort
    based on
    various columns. So now my "positions" column will have
    several people in
    1st position, several in 2nd, etc.
    Joe territory1 1
    Jen territory2 1
    Van territory1 2
    Sue territory2 2
    Tim territory1 3
    Len territory2 3
    Bob territory1 4
    Ken territory2 4
    I'm not sure how to go about this, and would greatly
    appreciate any advice!

    In the actual case the criteria for winning is that 1) ALL
    criteria are met
    (there are actually four of them, not two as shown in my
    example), and then
    2) you have the highest perentage.
    So in the case below, remembering that each territory has its
    own set of
    winners, it would look like this (if sorted by winning
    position - keeping in
    mind that I need to allow sorting on ANY column by the user):
    name territory Criteria_A Criteria_B Criteria_C POS
    Bob 1 74% Y Y
    1
    Tim 1 42% Y Y
    2
    Van 1 25% Y Y
    3
    Len 2 66% N Y
    1
    Sue 2 56% N Y
    2
    Joe 1 43% Y N
    4
    Ken 2 82% N N
    3
    Jen 2 68% N N
    4
    Here you can see that Bob, Tim, and Van all have Y for both
    their B & C
    criteria, so they are sorted to the top (how I do that is
    somewhat secondary
    at this point -- you can just assume that Y=10 and N=0 and
    I'll sort on the
    sum of those columns).
    Then Len, Sue, and Joe each have one Y and one N, so they are
    grouped
    together based on that, then sorted by percent. Note that Joe
    has a
    position of 4 because he is in Territory 1.
    Lastly, Ken and Jen have "N" for both criteria, so they are
    sorted last, and
    then by their percentage.
    I put a dashed line in there as a visual aid -- doesn't need
    to be in my
    results.
    "Pizza Good" <[email protected]> wrote in message
    news:[email protected]...
    > Hmm...interesting.
    >
    > In the sample data below, can you please sort them how
    you want them to
    > appear? I want to see how you handle the Y's and N's.
    >
    >
    > "HX" <[email protected]> wrote in message
    > news:[email protected]...
    >> Because "position" isn't a field in the database -
    it's determined based
    >> on sorting the list on various criteria. For
    example, let's say the
    >> winner for each territory will have met all of
    criteria_B and _C and then
    >> will have the highest % in criteria_A . All I have
    in my database is:
    >>
    >> name territory Criteria_A Criteria_B Criteria_C
    >> Joe 1 43% Y N
    >> Jen 2 68% N N
    >> Van 1 25% Y Y
    >> Sue 2 56% N Y
    >> Tim 1 42% Y Y
    >> Len 2 66% N Y
    >> Bob 1 74% Y Y
    >> Ken 2 82% N N
    >>
    >> For Territory 1 I can pull out those names, sort
    based on my criteria,
    >> then loop in my repeat region and assign their
    positions right there in
    >> the asp.
    >>
    >> But when I combine ALL of them onto one page, I
    can't do that.
    >>
    >> Is there some way to set those positions in the
    sub-query (for each
    >> territory) and reference that field in a 2nd query?
    >>
    >>
    >>
    >>
    >> "Pizza Good" <[email protected]> wrote
    in message
    >> news:[email protected]...
    >>> Why not just sort by both fields?
    >>>
    >>> Not sure what your fields are called so I will
    use:
    >>>
    >>> territory
    >>> position
    >>>
    >>> ORDER BY territory ASC, position ASC
    >>>
    >>>
    >>>
    >>>
    >>> "HX" <[email protected]> wrote in
    message
    >>> news:[email protected]...
    >>>>I have a site that runs a contest and
    displays winners from across the
    >>>>nation. Through the year they compete and can
    go online to see where
    >>>>they stand in relation to others in their
    same territory. In order to
    >>>>display the winner's positions on the page, I
    sort the underlying data
    >>>>in sql using the necessary criteria, then on
    my asp page, as part of the
    >>>>repeat region, I run code that loops through
    the recordset and uses an
    >>>>x+1 method of displaying each person's
    position. Whether or not this is
    >>>>the best way to do this, it works.
    >>>>
    >>>> MY PROBLEM...
    >>>>
    >>>> Up until now I only needed to display the
    positions based on one
    >>>> selected territory. So my results would
    always simply show 1 -x, in
    >>>> order.
    >>>>
    >>>> Joe territory1 1
    >>>> Van territory1 2
    >>>> Tim territory1 3
    >>>> Bob territory1 4
    >>>>
    >>>> NOW I am being asked to show the entire
    nation on one page for
    >>>> administrators. They want to see ALL the
    territories and the positions
    >>>> of each person for each territory, and have
    the ability to sort based
    >>>> on various columns. So now my "positions"
    column will have several
    >>>> people in 1st position, several in 2nd, etc.
    >>>>
    >>>> Joe territory1 1
    >>>> Jen territory2 1
    >>>> Van territory1 2
    >>>> Sue territory2 2
    >>>> Tim territory1 3
    >>>> Len territory2 3
    >>>> Bob territory1 4
    >>>> Ken territory2 4
    >>>>
    >>>> I'm not sure how to go about this, and would
    greatly appreciate any
    >>>> advice!
    >>>>
    >>>>
    >>>>
    >>>>
    >>>>
    >>>>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

  • Write time difference to spreadsheet

    Hello!
    I am having trouble writing the time difference between my set of six swiches to a spreadsheet. I would like only six values to appear on the spreadsheet, the differences between the start and stop of each respective set of switches. I have tried what I normally do when I write to a spreadsheet but was running into issues...
    Thanks for your help!
    Solved!
    Go to Solution.
    Attachments:
    twelve_working_switches.vi ‏34 KB

    Blizabeth,
    I believe that we can assume that all switches start in the same configuration and therefore have the same start time, no?  That is the call to the Get Date/Time in Seconds.vi at the beginning (only one needed).  Then, we are simply looking for when the value changes for each individual switch.  The time difference is recorded in the array of 6 doubles.  If you need to, you can basically duplicate this for the second set of channels as none of the code changes.
    I suggest strongly that you consider reading up on Labview and reviewing the examples that are provided in the LV shipment.  Johnson and Jenning's book Labview: Graphical Programming is an excellent start.  However, I believe that you may be having issues that might be best resolved by going over books on some of the fundamental aspects of programming.  I am not trying to be difficult, but as for(imstuck) pointed out, I believe that I probably gave you the solution.  Try going through it over the next day or so and see if you are still having trouble understanding how to apply this.  If you still are, then we most likely have an issue with 1) the communication of the requirements of you project or 2) a simple misunderstanding about how exactly to use Labview.  
    I am sorry, I know this doesn't help in the near term, but I think that spending a little time understanding the problem and the solution both for(imstuck) and I proposed (which are essentially the same) will help you immensely .  
    Peace, Matt 
    Matt Richardson
    Certified LabVIEW Developer
    MSR Consulting, LLC

  • Semantic model size

    Hello.
    I'm working with oracle 11g and Jena Adaptor for Oracle Database 11g Release 2.
    I'm trying a simple test that add triples:
    public void testAddTriples() throws Exception {
         Oracle oracle = new Oracle(jdbcUrl, null, null);
         GraphOracleSem graph = new GraphOracleSem(oracle, MODEL_NAME);
         for (int i=0;i<1000;i++) {
              Node sub = Node.createURI("http://test/s_" + i);
              Node pre = Node.createURI("http://test/p_" + i);
              Node obj = Node.createURI("http://test/o_" + i);
              Triple triple1 = Triple.create(sub, pre, obj);
              graph.add(triple1);
         graph.close();
         oracle.dispose();
    After running the previous test for several times, I have realized that depending on the method used to remove the triples the space of the tablespace is released or not.
    For instance, if I use the method "model.removeAll()" and then check the free space of the tablespace, I can see that the free space is greater than before, but, in the other hand, If I use the method "model.remove(model.listStatements())" the free space doesn't change... so when I run again the test "testAddTriples()" the disk space keep on growing.
    Any idea?
    Thanks in advance.
    Edited by: user9344030 on 15-mar-2010 10:19

    Hi,
    If you mean that your tablespace has grown from adding new triples and you want to reduce the size of the datafiles after removing those triples, then you could shrink the tablespace as discussed here:
    http://jonathanlewis.wordpress.com/2010/02/06/shrink-tablespace/
    About the second question, the number of rows in the application table grows because duplicates are allowed in the application table. Note that you will not get any duplicates back when you query them using SEM_MATCH of Jena Adapter - this is because of the RDF semantics - however, they are stored in the application table nevertheless. If you want to avoid storing duplicates, you could create a unique index on the application table.
    Cheers,
    Vladimir

  • ABAP for SAP HANA

    Is there any difference in normal ABAP and ABAP for SAP HANA ? If yes , then please guide me how to proceed for learning ABAP for SAP HANA ?

    Hi Ruchi,
    There is a slight difference between ABAP and ABAP for HANA. If you are well aware of all ABAP concepts then you can easily understand the ABAP for HANA concepts.
    Some of the differnce which I observed.
    1.  New syntax for Open SQL is introduced, which includes support for comma separated lists, enhanced string expressions, the definition of host variables in a more standard fashion, and fewer restrictions for joins.
    eg:  SELECT so.matnr, so.mtart FROM mara AS so INTO TABLE @it_mara UPTO 10 ROWS.
    2.It uses the TOP DOWN approach so we can use HANA databases capabilities. you can get more information on this in this blog ABAP for HANA and "Code Push-Down"
    3. CDS (Core Data Services) View, AMDP (ABAP managed database procedures) are again new features. Refer this document. http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b01089ed-dead-3110-f28e-caa12aeb5e27?QuickLink=index&…
    Please go through this link It is helpful for you. https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&cad=rja&uact=8&ved=0CCsQFjAD&url=http%3A%2F%2Fsapinsid…
    If you want to learn more about ABAP for SAP HANA then please register for the self placed course on OPENSAP. Here is the link (ABAP Development for SAP HANA - Dr. Jasmin Gruschke and Jens Weiler). I have completed this course and it was very helpful for me to understand the concepts of ABAP for HANA, so I will suggest you to enroll for this course.
    Hope this will help you.
    Regards,
    Sneha.

Maybe you are looking for

  • Files converted from m4a to mp3 are not displaying correctly in feed

    hi; i recently produced my first show in garageband (after using a bunch of other audio apps in the past), exported to an m4a file, and converted to mp3 in itunes, but it is not showing up as an audio file in my feed. the feed is http://feeds.feedbur

  • ORA-28500: connection from ORACLE to a non-Oracle system returned this mess

    Hi, I scheduled a job .. got this error what could be the reason ? *** 2011-09-27 05:00:21.239 *** SESSION ID:(273.6080) 2011-09-27 05:00:21.239 *** CLIENT ID:([email protected]@Mozilla/4.0 (compatible; MSIE 8.0; Windows) 2011-09-27 05:00:21.239 ***

  • How To Use Bekeley's Database

    Hi , I need to make a presentation on Berkeley's database, so could any of you please provide me the material for this... Thanks,

  • AF Table-CommandLink and Open in New Window issue

    I am using af:table to display the result set and inside the af:table i use af:commandLink to display the link to users. When the user clicks the individual link , user will go to the correponding detail page which is working fine. But the problem is

  • Installation Discussion

    I purchased the DVD for Adobe Photoshop Elements 11 and am unable to download onto my computer.  I have a DVD RW Drive and I disconnected the Norton Firewall, but the disc will not load.  I also tried to download the trial version and it will NOT dow