A relational db of semantic data DB porting

Hello

I'm running on Oracle 11 g a relational table with about 170 M lines and I want to port the semantic DB table on Oracle. Does anyone has a tip to start? I already have an ontology that adapts the lines, but I would like to know which is the best way to migrate this information using Java Jena | Sesame API.

See you soon

That is right. BTW, you can adopt a step by step approach. Start with a few tables and turn them into RDF. Once you get more comfortable with the way things work, you can scale up to an entire schema or multiple schemas.

It will be useful,

Zhe Wu

Tags: Database

Similar Questions

  • How better to apply a data serial port FIFO buffer?

    Hello

    I think I'm missing something very basic, so, please forgive my ignorance. All I want to do is to establish a simple FIFO buffer that has a logical sequence of quality control before the display of the data on the screen. I can't understand how best to continuously browse incoming data.

    The attached vi should explain much of it. My 25 bytes per second through the serial port of watercourses of the instrument. I heard it is best to put the VISA reading outside the loop, but I can't get my vi to read constantly new data if I do this (it stops at the length of the buffer specified).

    Is a possible solution to properly use a feedback node?

    Thanks for the help. I use LV2009.

    Use these settings

  • Synchronization of the comments of the column from the relational model to the data dictionary?

    I changed/added comments of column to a table in my relational model. When I try to sync the database data dictionary changes are never included the observations of the new column. In fact, I see that the values in the field 'Commentary in RDBMS' are different in the preview window to compare, but the line is not highlighted in red I guess that, in fact it is even dimmed. Also, I can not check the check box "selected".

    Is there a way to get comments to synchronize? I don't miss any option that I first? Is this a bug or an expected behavior?

    I use the version 4.0.3 x 64 of the Data Modeler.

    Any help would be appreciated,

    Charlie

    Hi Charlie,

    but the line is not highlighted in red I guess that in fact it is grayed out even.

    "that means property is excluded from the comparison - the same dialog box click on tab -" Options > properties filters '-you can control the properties to include in compare it it is to say ' comment in RDBMS ' must be checked.

    Press the button "Refresh trees" after the properties are set correctly.

    Philippe

  • Checking the connection failed for the source of data on port 1433

    Try to set up a DSN for a database of SQL Server on a new computer and it fails every time.

    Connection verification failed for data source: csf

    java.sql.SQLNonTransientConnectionException: error [Macromedia] [SQLServer JDBC Driver] establishing socket to host and port: SANDYPC:1433. Reason: Connection refused: connect

    The root cause was that: java.sql.SQLNonTransientConnectionException: error [Macromedia] [SQLServer JDBC Driver] establishing socket to host and port: SANDYPC:1433. Reason: Connection refused: connect

    Now, when I installed the CF 11, it is installed on port 8500.  However, when I try to change the port in the configuration to 8500, I get this error:

    • Connection verification failed for data source: csf
      java.sql.SQLException: timed out trying to establish connection
      The root cause was that: java.sql.SQLException: timed out trying to establish connection

    I can't find anything online about how to solve this problem!  Help!

    Hello

    Is that SQL Express edition? If so maybe TCP protocol is not enabled. Windows Firewall is enabled? Check port 1433 is open.

    Normally you would not create a data source to the apache 8500 port, which is a web server not Database not the port of the server.

    HTH, Carl.

  • Lots of semantic data loading

    I'm trying to load a file of N3 pending Oracle 11 g. Basically, it's the same data as in the example of the family (here: http://tinyurl.com/yl9zqtl) I put in a file of N3. I'm running a command like below (by: http://tinyurl.com/yjp4olv)


    Java - Ddb.user = < dbuser > - Ddb.password = < pass > - Ddb.host = 127.0.0.1 - Ddb.port = 11521 - Ddb.sid = oracle - cp sdordf.jar:ojdbc6.jar oracle.spatial.rdf.client.BatchLoader family.n3 family_rdf_data rdf_tablespace fam

    The "family.n3" file looks like:

    @prefix fam: < http://www.example.org/family.rdf# >.
    @prefix rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# >.

    FAM:John RDF: type fam:Male;
    FAM:fatherOf fam:Suzie;
    FAM:fatherOf fam:Matt.

    FAM:Janice fam:motherOf fam:Suzie;
    FAM:motherOf fam:Matt.

    FAM:Sammy fam:fatherOf fam:Cathy;
    FAM:fatherOf fam:Jack.

    .. .etc


    Then, I get an error message in the BatchLoader program:

    The batch loading has begun...
    Subject: @prefix
    Property: rdf:
    Subject: < http://www.w3.org/1999/02/22-rdf-syntax-ns# >

    Maximum loading of rows = 2
    java.lang.StringIndexOutOfBoundsException: String index out of range:-1
    at java.lang.String.substring(String.java:1937)
    at oracle.spatial.rdf.client.NTripleTokenizer.parse(NTripleTokenizer.java:71)
    at oracle.spatial.rdf.client.NTripleConverter.loadNTriple(NTripleConverter.java:534)
    at oracle.spatial.rdf.client.BatchLoader.main(BatchLoader.java:302)


    It errors on the first line if I remove the second line from the top. I'm doing something wrong? I glued the N3 file in a validator N3 (found here: http://www.rdfabout.com/demo/validator/) and it validates, so the N3 of the file at least looks like it works very well.

    Thank you

    Ryan

    Hi Ryan,

    The charger of the lot at sdordf.jar does not accept the N3 format. You can try one of the following
    -you use Jena adapter (which accepts the N3, NTRIPLE, RDF/XML), or
    -convert N3 NTriple format and re - try batch fetching.

    See you soon,.

    Zhe Wu

  • A question relating to the histogram data...

    Hi, first of all, I not a developer, and I don't know if I have what I think is quite correct, so apologies if this is nonsense, but I'm trying to understand what is possible in the world of Lightroom plugins...


    I frequently use the histogram in Lightroom to adjust exposure and tone. If I understand correctly, the histogram Lr is the reading of the luminance of the image and the intensity of the colors and display all these percentages/values in the histogram RGB... is it possible to obtain these data from the image of the Lr for a picture, then perform calculations that could be used in a Lr plugin?

    LR has no direct support for a plugin to read the content of an image with precision.  A plugin can get previews of an image, and it can export an image and then read the exported content.  It could export the image in TIFF format and then read the picture content reasonably outright, but would not develop the exact content as well as the raw image, you see in fashion.   It could export the original raw image, but then it would be very difficult for the plugin to interpret all the formats raw different owners.

  • How update the relational table with XML data?

    I get XML messages that include a bunch of data items to be updated in a table. An arbitrary subset of rows is updated for each message received.

    The output of the following example is correct, but the use of the intermediate table that bothers me. The temporary table can be eliminated somehow? Or is the most reasonable way to loop just explicitly and parse the XML message and then update each row separately?

    I'm under 11.2.0.1.0.
    create table otn9test (
      id number not null primary key,
      data xmltype
    );
    
    insert into otn9test values (1, xmltype('<data>default for 1</data>'));
    insert into otn9test values (2, xmltype('<data>default for 2</data>'));
    insert into otn9test values (3, xmltype('<data>default for 3</data>'));
    
    create table otn9input (
      id number,
      data xmltype
    );
    
    column data format a30
    
    declare
      updata constant xmltype := xmltype('<root>
      <item>
        <id>1</id>
        <data>Id 1 updated.</data>
      </item>
      <item>
        <id>3</id>
        <data>Id 3 updated.</data>
      </item>
      <item>
        <id>4</id>
        <data>Id 4 updated.</data>
      </item>
    </root>');
    
    begin
      insert into otn9input
        select * from
        xmltable('/root/item' passing updata
              columns
              id number path 'id',
              data xmltype path 'data');
    
      update otn9test t set data = (
        select data from otn9input i
        where t.id = i.id
      ) where t.id in (select id from otn9input);
    
      commit;
    end;
    /
    
    select * from otn9input;
    
    /*
         ID DATA
    ---------- ------------------------------
          1 <data>Id 1 updated.</data>
          3 <data>Id 3 updated.</data>
          4 <data>Id 4 updated.</data>
    */
    
    select * from otn9test;
    
    /*
         ID DATA
    ---------- ------------------------------
          1 <data>Id 1 updated.</data>
          2 <data>default for 2</data>
          3 <data>Id 3 updated.</data>
    */
    
    drop table otn9input;
    drop table otn9test;

    The temporary table can be eliminated somehow?

    You can do it with the MERGER:

    merge into otn9test t
    using (
      select id, data
      from xmltable('/root/item' passing updata
            columns
              id   number  path 'id',
              data xmltype path 'data'
           )
    ) x
    on ( t.id = x.id )
    when matched then update
     set t.data = x.data
    ;
    

    However, if you are looking for performance on large data sets, I think that the best is to use an intermediate table of XMLType (binary storage) to maintain the XML instance.

    create table otn9input of xmltype
    xmltype store as securefile binary xml;
    
    insert into otn9input values(
    xmltype('
      
        1
        Id 1 updated.
      
      
        3
        Id 3 updated.
      
      
        4
        Id 4 updated.
      
    ')
    );
    
    merge into otn9test t
    using (
    select id, data
    from otn9input,
         xmltable('/root/item' passing object_value
              columns
                id number path 'id',
                data xmltype path 'data'
         )
    ) x
    on ( t.id = x.id )
    when matched then update
     set t.data = x.data
    ;
    

    A structured XMLIndex could also help.

  • Como resolver problemas related to a up date

    Como resolver el codigo 80070026 in computer e windows vista laptop, to usar lo basico

    , por favor me gustaria me ayudaran a resolverlo,.

    A N G E L L... M T Z.,.

    Lo sentimos, pero estos foros solo offer support in frances. Please choose you country here: http://support.microsoft.com/common/international.aspx> y haga click in the flecha para soporte in su idioma.

    Microsoft patrocina los foros para discusion has todos aquellos habla hispana para relevant information, dudas y temas Aduaneiras a participar interchanging ideas between if e.

    Aqui you pongo estos 2 URL

    http://social.answers.Microsoft.com/forums/es-ES/>

    http://social.technet.Microsoft.com/forums/es-ES/>

    0 X 80070026 0 X 26 = 38 L ERROR_HANDLE_EOF STRSAFE_E_END_OF_FILE =

    Mientras tanto, el is SFC/scannow, a worm if you soluciona. http://support.Microsoft.com/kb/936212/es>

    Buena suerte

    05/25 / 1107:09: 23 pm

  • IAM using windwos vista I try to copy a data file to my wile pc usb port copy the cry of power dwon ofter that I do not find the fine in usb and my pc so how do I get this file back

    IAM using windwos vista that I try to copy a data usb port on my pc wile file copy the cry of power dwon ofter that I can't find the fine in usb and my pc so how do I get that file back please answer me

    Hello

    This program allows you to search for and attempt to recover the file to your C: drive and / or your USB Flash drive.

    http://www.Piriform.com/Recuva

    See you soon.

  • Probable bug with decimal data type mapping in storage of XmlType relational object

    Hello

    I'm having a problem with what appears to be a bug me when Oracle creates the mapping object / relational schema for a data type "XSD: Decimal":

    I want to store geo codes 6 fractional digits, so I need to 3 digits to the left and 6 digits to the right of the decimal point.

    In the XSD data type restrictions, which would give me a 'fractionDigits' and a 'totalDigits' 9 6.

    Oracle must convert this number (9, 6).

    However, what Oracle made out that is a NUMBER (15.6)

    In order to get an Oracle to generate a NUMBER (9, 6), I need to qualify the 'totalDigits' 3, which is accepted by Oracle, but makes my schema invalid for virtually any other application XML, because it violates the official specs of XSD:

    http://www.w3.org/TR/xmlschema-2/#RF-fractionDigits:

    4.3.12.4 constraints on fractionDigits components of schema

    Schema component constraint: fractionDigits less than or equal to totalDigits

    It is an error for fractionDigits is greater than totalDigits.

    Is it possible to have the good totalDigits of 9 in my scheme and force the Oracle to translate that into NUMBER (9,6)?

    Maybe some attribute oraxdb I do not know yet?

    I'm surprised that this has not been found earlier.

    There was an announcement about this before, but he did not get the real answers:

    TotalDigits and fractionDigits to number conversion problem

    Here is my complete code example:

    -- Registering the schema
    BEGIN
    DBMS_XMLSCHEMA.REGISTERSCHEMA(
    'http://localhost/decimaltest.xsd',
    '<?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:oraxdb="http://xmlns.oracle.com/xdb" oraxdb:storeVarrayAsTable="true" oraxdb:schemaURL="http://localhost/decimaltest.xsd">
      <xs:element name="dataTypeTests" oraxdb:SQLName="ZZZ_DATA_TYPE_TEST" oraxdb:SQLType="ZZZ_DATA_TYPE_TEST_TYPE" oraxdb:defaultTable="" oraxdb:tableProps="TABLESPACE CATALOG NOLOGGING" oraxdb:maintainDOM="false">
      <xs:complexType>
      <xs:sequence>
      <xs:element name="geoCode" type="geoCodeType" oraxdb:SQLName="GEO_CODE" oraxdb:maintainDOM="false"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      <xs:simpleType name="geoCodeType">
      <xs:restriction base="xs:decimal">
      <xs:totalDigits value="9"/>
      <xs:fractionDigits value="6"/>
      </xs:restriction>
      </xs:simpleType>
    </xs:schema>',
    gentables=>FALSE);
    end;
    /
      
      
    -- Display the auto-generated Oracle custom type
    describe ZZZ_DATA_TYPE_TEST_TYPE;
      
    -- Clean up
      
    begin
      DBMS_XMLSCHEMA.DELETESCHEMA(
      'http://localhost/decimaltest.xsd',
      DBMS_XMLSCHEMA.DELETE_CASCADE
      );
    end;
    /
    

    In the XSD data type restrictions, which would give me a 'fractionDigits' and a 'totalDigits' 9 6.

    Oracle must convert this number (9, 6).

    And that's where you're wrong.

    fractionDigits = 6 means at least 6 digits located to the right of the decimal point.

    This is different from the semantics of NUMBER (m, n), where n is exactly n fractional digits stored.

    123.456789 is a valid number by the XSD.

    123456789 is as valid a number, but of course it does not fit in a NUMBER (9.6).

    Oracle must create a NUMBER (15.6) to store any number of valid schema, it is a necessary condition.

    But this is not a sufficient condition: obviously, any number in a NUMBER (15.6) is not valid per the XSD, and this is where the schema validation occurs to enforce the constraints of two facets.

    Here are some examples:

    BEGIN

    DBMS_XMLSCHEMA. REGISTERSCHEMA)

    schemaURL-online "decimaltest.xsd."

    schemaDoc =>

    '

    http://www.w3.org/2001/XMLSchema"elementFormDefault ="qualified"xmlns:oraxdb ="http://xmlns.oracle.com/xdb"oraxdb:storeVarrayAsTable ="true"oraxdb:schemaURL ="http://localhost/decimaltest.xsd">" "

    '

    genTypes-online true

    genTables-online fake

    enableHierarchy-online dbms_xmlschema. ENABLE_HIERARCHY_NONE

    );

    end;

    /

    SQL > declare

    doc 2 xmltype: = xmltype)

    3'123456789"

    .createSchemaBasedXML('decimaltest.xsd') 4);

    5. start

    6 doc.schemaValidate ();

    7 end;

    8.

    PL/SQL procedure successfully completed.

    SQL > declare

    doc 2 xmltype: = xmltype)

    3'123456789.1'

    .createSchemaBasedXML('decimaltest.xsd') 4);

    5. start

    6 doc.schemaValidate ();

    7 end;

    8.

    declare

    *

    ERROR on line 1:

    ORA-31154: invalid XML document

    ORA-19202: an error has occurred in the processing of XML

    LSX-00215: value '123456789.1' whose total numbers exceed 9

    ORA-06512: at "SYS." XMLTYPE", line 354

    ORA-06512: at line 6

    SQL > declare

    doc 2 xmltype: = xmltype)

    3'12.3456789'

    .createSchemaBasedXML('decimaltest.xsd') 4);

    5. start

    6 doc.schemaValidate ();

    7 end;

    8.

    declare

    *

    ERROR on line 1:

    ORA-31154: invalid XML document

    ORA-19202: an error has occurred in the processing of XML

    LSX-00211: "12.3456789", including the fractional numbers exceeds 6

    ORA-06512: at "SYS." XMLTYPE", line 354

    ORA-06512: at line 6

  • A data point pixel position

    Hi all

    I would like to know where is the location of the mouse position to a point of data compared to the graph. basically, the opposite of this person's job action:

    The point value of graphic display WPF overview

    http://forums.NI.com/T5/Measurement-Studio-for-net/WPF-graph-display-point-value-on-hover/m-p/243395...

    Instead of getting a data point, hold the position of the mouse. I am the superposition of the shapes on the chart and would like to know for a specific point in the graph in pixel coordinates.

    Thank you.

    Of after your question, I assume you have a data value you want to translate (as opposed to an event arguments of mouse, which already has a GetPosition method).

    You can use the DataToScreen to get a position of the screen in the plot area, so use DesiredPlotAreaMargin to compensate for this position on-screen to reference external graphic control (i.e. point.X += margin.Left; point.Y += margin.Top ).

    You can also use the DataToRelative to get a relative position of a data point, then place an object in the Children collection (a bit like a PointAnnotation ):

    XAML


    xmlns: or = "http://schemas.ni.com/controls/2009/xaml/presentation."
    xmlns:niPrimitives = "http://schemas.ni.com/controls/2009/xaml/presentation/primitives".
    ...



    Width = "10".
    Height = "10".
    STROKE = "Black".
    StrokeThickness = "2".
    niPrimitives:RelativePanel.RelativeHorizontalAlignment = "Center"
    niPrimitives:RelativePanel.RelativeVerticalAlignment = "Center"
    />


    Code


    Parent = graphic point. DataToRelative (dataValue);
    RelativePanel.SetRelativeHorizontalPosition (dataMarker, relative. (X);
    RelativePanel.SetRelativeVerticalPosition (dataMarker, relative. Y);

  • relative times of waveform

    In Labview 8.5, I want the x axis to display the time elapsed the data collection relating to when the data collection was started.  When I put the property at the time of parent, it shows a large number of seconds (see attached jpg)?

    Thank you

    Azim

    As mentioned, Kiki

    Use "Build Waveform.vi" and set the property to "t0" to zero.  If you have a table of waveforms, pass it in automatic indexing of loop for so you can do it at each waveform in the table.

  • IIS7 redirect to alternate port

    I have a web server IIS7 hosting a site that I want to redirect. The site has links to several different host names. The new server is listening on a different port (8000) but also all the URLS are the same. So, I need IIS to redirect all URLS to new URLS that differ only by the number of the server port. Host names and paths must be the same. The same IIS7 server hosts other sites with others related to the names - he binds port 80, so I can't link the new server on port 80 or use NAPT to redirect all connections to port 80 to port 8000.

    For example,.

    http://www.name1.company.com/directory/resource.HTML should redirect to http://www.name1.company.com:8000/directory/resource.html

    and

    http://www.name2.company.com/directory/resource.HTML should redirect to http://www.name2.company.com:8000/directory/resource.html

    Is it possible to do this?

    Hello

    Your Windows IIS question is more complex than what is generally answered in the Microsoft Answers forums. Please ask your question in the Forum of Microsoft IIS. You can follow the link to your question:

    http://forums.IIS.NET/

    Hope the information is useful.

  • Address static IP or Port forward?

    I have a Linksys WRT54G Router for my wireless network. On my local network, not to mention that my laptop and printer, I have a weather station - Davis VantagePro2 with WeatherLinkIP. This is connected to the router via an ethernet cable and connected to the software on laptop via wireless network.

    Currently, everything is set to work Auto Config - DHCP and does well on the wireless. However, occasionally, the router randomly assigns a new IP address to the weather station, and I lose my connection, thus losing the weather data.

    When I find out, I can find what IP address it has now affected, go into the software of the weather on my laptop that downloads (wireless) the info and the new IP address, then everything works fine - until the next time. Some time its months, sometimes its days, before that router reassigns the IP address.

    The software must be manually set to the IP address and port # in order to receive data. # Port is currently set to 22222.

    In order to maintain a continuous connection, it would be an instance to use the port range forward, rather than a static IP address? If so, are there instructions somwhere to guide me through this?

    I don't know why it changes the IP address. Maybe the router restarts in silence and then later does not know the old lease. Maybe the weather station does not it is the current IP address during renewal and the result is another. Or the weather station does not renew IP address but begins with a discovery.

    You can't set a static IP address for your weather station on the router. If the weather station does not do so it is impossible with your WRT54G. Only the latest models of Linksys have a function called "DHCP Reservation", which would be what you need.

    So, if you can not set it to station weather you can't do with the WRT...

  • Problems with static IP setting for the port forward through 2 routers

    I currently have cable internet connected to a router (Linksys E2000 w / v1.0.03 firmware). This router is connected to another router, a Linksys E3200 with firmware v1.0.02. In order to correctly forward ports through the E3200, I understand that I need to set up a static IP address on the router.

    I almost followed the steps in this video, but when I enter all the IP addresses for the static IP address settings, it allows me to access the router configuration page. I try to get the new IP address that I gave (which he tries to move automatically once I have save settings) and the connection times out. I am able to access internet otherwise, however. From here, I have to do a factory reset on the router and start from square one.

    Anyone have any ideas? I'm quite frustrated and would like to get ports forwarded so I can get my server properly set in place.

    1. If it has connected LAN - LAN you will need to disable the DHCP server on the E3200.

    2. the best option would be to use the 'bridge' on the E3200 mode (in the latest firmware) and connect the internet port to the main router.

    3. If connected LAN - LAN (or in Bridge mode) all internet related functions on the E3200, including ports are not relevant. There is no need to set up the port on the E3200 redirects. All shipping is done only on the E2000 and nowhere else.

    4. What is the address LAN IP of the E3200? What is the address LAN IP of the E2000?

Maybe you are looking for

  • HP 7 G2 1311: my Tablet HP 7 G2 1311 deletes all data after shootdown or restart

    Hi, I have bouth a HP 7 2 13 11 compressed a few months ago. It was working fine just a month ago, he started to remove all data after it ran out of battery or if I want to close it and turn on the back. In all cases when the Tablet is turn off and t

  • How to disable the icon "power optical drive?

    Hello worldAnyone know how to disable the taskbar icon "player optical power" or how to disable the service? I don't find in Services, msconfig, not even in parts 3 publishers register Jv16 PowerTools as Cc Cleaner... Thank you very muchWalter

  • Satellite A300-1PH - why I have to enter a password in the BIOS?

    Hi all, how were u. It's been 2 months since I bought the laptop Satellite A300-1PH. yesterday, the first time I tried to see my system BIOS by pressing F2, but it took entry in the BIOS password but I never put the password that I am very first open

  • Audio driver safety

    I need to update my driver Audio USB, and my license to locate the program suggested I use Compro VideoMate from Tech for you / stereo TV pilot.  When I tried to install it, it says that she must still undergo a check of the logo and must be verified

  • 2.14 Bios Acer W700P bug

    Hi, I've updated the bios for my Acer W700P, downloaded the file "BIOS_Acer_2.14_A_A.zip" and after the update process went well, now the windows Task Manager is always show 100% cpu usage that is not correct, because other processes such as sysinter