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

Similar Messages

  • Exporting web analysis document in .xml format

    Can anyone please let me how to export the web analysis document in .xml format

    Hi,
    I think you can only export WA documents/presentations in apt, ard or *arg files, not in XML.
    Kind regards
    André

  • [PENTAHO] export design into xml format

    Hi all,
    I wonder if it's possible to create a design with reportDesigner, export the design to an xml format and then use this xml format file to create a report. For example, in the HelloWorld demo you have to create the necessary code to make a report. However, in the invoice demo you have an xml file in wich you have the structure description of the report and you can use it to make the report without writing all the code.
    Thanks a lot!

    my questionWhat question?
    This is why I wrote my question inWhat question?
    So, Does anyone knows the answer to my question?What question?
    There is no question in what you have posted.
    If your question is about reportDesigner, whatever that is, this is the wrong forum and the wrong site.

  • How to automate conversion of PDF forms to XML format

    Hi
    I have created a form using adobe livecycle designer 8. It has a email submit button that will send the form as a pdf file to a server.
    Once the server recevive this pdf file, they will store the pdf file into a local drive. How do I convert the pdf files in the local drive into XML format without actually opening the pdf file in the Adobe Professional and clicking export data as XML?
    Is there a way to write a code to convert these pdf files to XML format automatically?
    Hope someone can help me with this issue
    Regards
    Delvin Khong

    Hi Andersson,
    The request command is a form server command? Where do i type the Request.Form("page.form.field"). I dont really understand your statement on "Use request on the receiving page to get data" Could you help me by explaining more?
    Thank a lot for your advice
    Warmest Regards
    Delvin Khong

  • Export  WebDynpro context node  to CSV format?

    I have successfully implemented exporting the context node to xml format then open through the Excel following the tutorial : Exporting Context Data into Excel Using the Web Dynpro Binary Cache.
    But now, I need to implement another version that export to CSV format, then open through Excel.
    I remembered I read a blog and some forum posts that mentioned about this solution, but I just could not locate where they are now through SDN search now.
    I will appreciate if someone can point me to those links again.
    Thanks.
    Kent

    Hi Kent,
    I am also developing the application wherein Table data needs to be exported to Excel.
    I am trying to download the WDExcelExport.zip from the foll. link
    https://wwwn.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/bad3e990-0201-0010-3985-fa0936d901b4 [original link is broken]
    But I am getting the error
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    The exception was logged. Inform your system administrator..
    See the details for the exception ID in the log file
    Can you please send me the Sample Application WDExcelExport.zip. My mail id is  [email protected]
    Regards
    Nikhil Bansal

  • Xml report output in excel format without using options tab in EBS

    How to get xml publisher report output in excel format without using options tab in EBS?
    I am getting XML Publisher report output in excel format by using options tab while submitting the concurrent request .
    But i want to get excel output automatically.
    Can anyone give idea to get XML publisher Report output in excel without selecting options tab.
    Thanks in advance
    Sandeep V

    Hey Sandeep,
    I am working on a similar format for a report and if possible can you please give me some guidelines. I have initially created reports using XML Publisher, but for those , the output preview format was PDF. So, if I select the preview format as EXCEL will it give me output in Excel and for this to happen, how do I define the rtf template. I believe the working will be same as for PDF, create a rdf report, get output in XML and apply the template to get the data in Excel or there is something different to this.
    Thanks,
    Sunil

  • How could I export FCE project into XML format?

    Hello,
    I recently decided to upgrade from Final Cut Express to Final Cut Pro X. But I don't seem to be able to export my FCE unfinish projects. That is because FCE  does not export into XML format !!!
    Does anyone knows how to have FCE to generate a XML file? Or to have the FCP file format converted into a XML file format?
    Thanks

    If you are editing in FCE4, then you can open your FCE Project in FCP6 or FCP7 and do the .xml export there. Once you have that .xml file, you need to use the software 7toX to convert the file to FCP-X.
    http://assistedediting.intelligentassistance.com/7toX/
    It should be noted that the conversion of a sequence file to .xml and then .xml to FCP-X may not pass 100% of the information.
    There is information about what is and is not translated here:
    http://assistedediting.intelligentassistance.com/7toX/about.html
    MtD

  • Exporting DAC  metadata in XML format

    I would like to export DAC metadata in XML format . As per the administration guide it is possible to export/import metadata in XML format.
    Any information on this will be appreciated.

    you can only export complete containers to XML, you can't only export the updates (as far as I know that is)
    you can do this by selecting Tools, then select DAC Repository Management, then select Export.

  • Data Export in XML format

    Dear SAP Gurus;
    I had developed a <b><u>HR Data Extract Report</u></b> to export data in CSV format, but one of our vender application needs data in XML format - any assistance in writing code will be highly <b>appreciated</b> and reward points are <b><i>assured</i></b>.
    Best Regards,
    Aslam Riaz

    Hi We are also in version 4.7.
    Use the code below as refefence.  It works.  Please close the issue with appropriate points if helps.  Good luck.
    Selection Screen
    SELECTION-SCREEN BEGIN OF BLOCK selscr WITH FRAME TITLE text-s01.
    PARAMETER:p_file TYPE rlgrap-filename MODIF ID fil." Output File Name
    SELECTION-SCREEN END OF BLOCK selscr.
    Data Declaratiion
    TYPES: BEGIN OF address,
            street(20) TYPE c,
            apt(10)    TYPE c,
            city(20)   TYPE c,
            state(2)   TYPE c,
            zip(10)    TYPE c,
           END OF address.
    TYPES: BEGIN OF person,
            name(20) TYPE c,
            ssn(11) TYPE c,
            dob(12) TYPE c,
            address TYPE address,
           END OF person.
    DATA: BEGIN OF employee OCCURS 0,
           person TYPE person,
          END OF employee.
    Data for xml conversion
    DATA: l_dom TYPE REF TO if_ixml_element,
                  m_document TYPE REF TO if_ixml_document,
                  g_ixml TYPE REF TO if_ixml,
                  w_string TYPE xstring,
                  w_size TYPE i,
                  w_result TYPE i,
                  w_line TYPE string,
                  it_xml TYPE dcxmllines,
                  s_xml LIKE LINE OF it_xml,
                  w_rc LIKE sy-subrc.
    DATA: xml TYPE dcxmllines.
    DATA: rc TYPE sy-subrc,
    BEGIN OF xml_tab OCCURS 0,
                  d LIKE LINE OF xml,
    END OF xml_tab.
    Initialization
    INITIALIZATION.
    At Selection-Screen On Value Request
    AT SELECTION-SCREEN.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    Validating file
      PERFORM get_local_file_name USING p_file.
    Start-of-selection
    START-OF-SELECTION.
    Populate the internal table
      PERFORM populate_data.
    Create xml file
      PERFORM create_xml.
    END-OF-SELECTION.
    Down load the xml file
      PERFORM download_xml.
    *&      Form  populate_data
          text
    -->  p1        text
    <--  p2        text
    FORM populate_data .
      REFRESH employee.
      CLEAR employee.
      MOVE:   'Venu Test One'        TO employee-person-name,
              '111-11-1111'          TO employee-person-ssn,
              '01/01/1900'           TO employee-person-dob,
              '1111 Sanzo road'      TO employee-person-address-street,
              '111 A1'               TO employee-person-address-apt,
              'BALTIMORE'            TO employee-person-address-city,
              'MD'                   TO employee-person-address-state,
              '21209'                TO employee-person-address-zip.
      APPEND employee.
      CLEAR  employee.
      MOVE:   'John Smith'           TO employee-person-name,
              '222-22-2222'          TO employee-person-ssn,
              '02/02/1888'           TO employee-person-dob,
              '2222 John Smith road' TO employee-person-address-street,
              '222 B2'               TO employee-person-address-apt,
              'SANFRANSISCO'         TO employee-person-address-city,
              'CA'                   TO employee-person-address-state,
              '99999'                TO employee-person-address-zip.
      APPEND employee.
    ENDFORM.                    " populate_data
    *&      Form  create_xml
          text
    -->  p1        text
    <--  p2        text
    FORM create_xml .
      CLASS cl_ixml DEFINITION LOAD.
      g_ixml = cl_ixml=>create( ).
      CHECK NOT g_ixml IS INITIAL.
      m_document = g_ixml->create_document( ).
      CHECK NOT m_document IS INITIAL.
      WRITE: / 'Converting DATA TO DOM 1:'.
      CALL FUNCTION 'SDIXML_DATA_TO_DOM'
        EXPORTING
          name         = 'EMPLOYEE'
          dataobject   = employee[]
        IMPORTING
          data_as_dom  = l_dom
        CHANGING
          document     = m_document
        EXCEPTIONS
          illegal_name = 1
          OTHERS       = 2.
      IF sy-subrc = 0.
        WRITE 'Ok'.
      ELSE.
        WRITE: 'Err =',
        sy-subrc.
      ENDIF.
      CHECK NOT l_dom IS INITIAL.
      w_rc = m_document->append_child( new_child = l_dom ).
      IF w_rc IS INITIAL.
        WRITE 'Ok'.
      ELSE.
        WRITE: 'Err =',
        w_rc.
      ENDIF.
      CALL FUNCTION 'SDIXML_DOM_TO_XML'
        EXPORTING
          document      = m_document
        IMPORTING
          xml_as_string = w_string
          size          = w_size
        TABLES
          xml_as_table  = it_xml
        EXCEPTIONS
          no_document   = 1
          OTHERS        = 2.
      IF sy-subrc = 0.
        WRITE 'Ok'.
      ELSE.
        WRITE: 'Err =',
        sy-subrc.
      ENDIF.
      LOOP AT it_xml INTO xml_tab-d.
        APPEND xml_tab.
      ENDLOOP.
    ENDFORM.                    " create_xml
    *&      Form  get_local_file_name
          text
         -->P_P_FILE  text
    FORM get_local_file_name  USING    p_p_file.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        CHANGING
          file_name     = p_p_file
        EXCEPTIONS
          mask_too_long = 1
          OTHERS        = 2.
      IF sy-subrc <> 0.
        MESSAGE i007(zu).  " 'Error in getting filename'.
      ENDIF.
    ENDFORM.                    " get_local_file_name
    *&      Form  download_xml
          text
    -->  p1        text
    <--  p2        text
    FORM download_xml .
      CALL FUNCTION 'WS_DOWNLOAD'
        EXPORTING
          bin_filesize = w_size
          filename     = p_file
          filetype     = 'BIN'
        TABLES
          data_tab     = xml_tab
        EXCEPTIONS
          OTHERS       = 10.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
       SKIP 5.
       WRITE:(15) 'The ', p_file , 'is created successfully'.
      ENDIF.
    ENDFORM.                    " download_xml

  • Exporting 'managed list' - only XML format - why??

    Was wanting to export my actors list using the export button provided in 'managed lists'. It only allowed for xml format, which for 'joe punter' like me is useless. Of course, I could go into reports and print out 'cast list', but wanted a .csv file so I could use the data.
    Please explain.

    Wonderful! I never thought of providing an extension to file names, thinking Shake would have been more intuitive than that. Extensions are not needed when exporting files to Quick Time. Nevertheless, it works which is the important point.
    Thank you.

  • How to create new Custom XML Report without using Form Builder

    Hi,
    What are the steps to create new Custom XML Report without using Report Builder ?
    Thanks and Regards,
    Abhi

    Hi,
    Steps we now follow
    1)Create Data Model in Reports Builder
    2)Create xml
    3)Insert xml in Publisher to build Fomat
    4)FTp rdf
    5)Create Data Definition and Template
    6)Create executable and Concurrent Program
    Is there any way we can build reports without use of Report Builder ? By writing PL SQL Package for Before Report and After Report etc ...
    Thanks and Regards,
    Abhijit Rode

  • How to generate Campaign details in XML format for sending to downstream sy

    Dear gurus,
    we have a requirement to send the Campaign details from CRM to some Downstream system in the XML format through PI interfaces. We want to include the following campaign details in the structure.
    <SAPTOAL DATE="03-MAR-2011" TIME="13:25pm">
          <CAMPAIGN>
                <ID></ID>
                <NAME></NAME>
                <RUNDATE></RUNDATE>
                <RUNTIME></RUNTIME>
                <STARTDATE></STARTDATE>
                <ENDDATE></ENDDATE>
                <RECORDCOUNT></RECORDCOUNT>
          </CAMPAIGN>
          <TARGETGROUP>
                <ID></ID>
                <NAME></NAME>
    </TARGETGROUP>
          <BUSINESSPARTNERS>
                <BUSINESSPARTNER>
                      <ID>001</ID>
                <TARGETGROUPID></TARGETGROUPID>
                <FIRSTNAME></FIRSTNAME>
                      <LASTNAME></LASTNAME>
                      <TITLE></TITLE>
                      <SUFFIX></SUFFIX>
                      <EMAIL></EMAIL>
                      <REPFIRSTNAME></REPFIRSTNAME>
                      <REPLASTNAME></REPLASTNAME>
                      <REPPHONE></REPPHONE>
                      <REPSIGNATUREURL></REPSIGNATUREURL>
                      <REPPICTUREURL></REPPICTUREURL>
                      <REPEMAIL></REPEMAIL>
                </BUSINESSPARTNER>
                <BUSINESSPARTNER>
                      <ID>002</ID>
                <TARGETGROUPID></TARGETGROUPID>
                      <FIRSTNAME></FIRSTNAME>
                      <LASTNAME></LASTNAME>
                      <TITLE></TITLE>
                      <SUFFIX></SUFFIX>
                      <EMAIL></EMAIL>
                      <REPFIRSTNAME></REPFIRSTNAME>
                      <REPLASTNAME></REPLASTNAME>
                      <REPPHONE></REPPHONE>
                      <REPSIGNATUREURL></REPSIGNATUREURL>
                      <REPPICTUREURL></REPPICTUREURL>
                      <REPEMAIL></REPEMAIL>
                </BUSINESSPARTNER>
          </BUSINESSPARTNERS>
    </SAPTOAL>
    We have already tried the following things in SPRO.
    CRM --> Marketing --> Marketing Planning and Campaign Management --> Campaign Execution --> Define File Export Variants
    But with this we were not able to get the full XML structure, as required above. We got only this much.
    <?xml version="1.0" encoding="utf-8" ?>
    <DATA>
    <ITEM>
       <Field_1>Test Email.</Field_1>
       <Field_2>Test Email.</Field_2>
       <Field_3>ABC Company.</Field_31>
    </ITEM>
    </DATA>
    Any pointers or help on this will he greatly appreciated.rgrds,
    Randhir Soni

    Hi Prabhu,
    The program SAPFPAYM generates the payment Medium  on the basis of your configuration and background settings, this program does not bydefault give the output in the XML.
    Varient creation for the PMW in T. Code OBPM4, use the same program, which i already done it, even without this it is not be possible to create any payment Medium.
    Regards,
    Rony

  • Convert in xml format

    how to download any report in xml. directly thru code.
    means if a report is run report should be download in xml format.
    any fuction module ???
    points will be awarded.

    Hi check this one ......
    *& Report  ZTEST_XML2                                                  *
    REPORT  ZTEST_XML2                              .
    TYPE-POOLS: ixml.
      TYPES: BEGIN OF xml_line,
              data(256) TYPE x,
             END OF xml_line.
      DATA: l_ixml            TYPE REF TO if_ixml,
            l_streamfactory   TYPE REF TO if_ixml_stream_factory,
            l_ostream         TYPE REF TO if_ixml_ostream,
            l_renderer        TYPE REF TO if_ixml_renderer,
            l_document        TYPE REF TO if_ixml_document.
      DATA: l_element_flights TYPE REF TO if_ixml_element,
            l_element_airline TYPE REF TO if_ixml_element,
            l_element_flight  TYPE REF TO if_ixml_element,
            l_element_from    TYPE REF TO if_ixml_element,
            l_element_to      TYPE REF TO if_ixml_element,
            l_element_dummy   TYPE REF TO if_ixml_element,
            l_value           TYPE string.
      DATA: l_xml_table       TYPE TABLE OF xml_line,
            l_xml_size        TYPE i,
            l_rc              TYPE i.
      DATA: lt_spfli          TYPE TABLE OF spfli.
      DATA: l_spfli           TYPE spfli.
      START-OF-SELECTION.
      Fill the internal table
        SELECT * FROM spfli INTO TABLE lt_spfli.
      Sort internal table
        SORT lt_spfli BY carrid.
      Start filling xml dom object from internal table
        LOOP AT lt_spfli INTO l_spfli.
          AT FIRST.
          Creating a ixml factory
            l_ixml = cl_ixml=>create( ).
          Creating the dom object model
            l_document = l_ixml->create_document( ).
          Fill root node with value flights
            l_element_flights  = l_document->create_simple_element(
                        name = 'flights'
                        parent = l_document ).
          ENDAT.
          AT NEW carrid.
          Create element 'airline' as child of 'flights'
            l_element_airline  = l_document->create_simple_element(
                        name = 'airline'
                        parent = l_element_flights  ).
          Create attribute 'code' of node 'airline'
            l_value = l_spfli-carrid.
            l_rc = l_element_airline->set_attribute( name = 'code' value =
    l_value ).
          Create attribute 'name' of node 'airline'
            SELECT SINGLE carrname FROM scarr INTO l_value WHERE carrid EQ
    l_spfli-carrid.
            l_rc = l_element_airline->set_attribute( name = 'name' value =
    l_value ).
          ENDAT.
          AT NEW connid.
          Create element 'flight' as child of 'airline'
            l_element_flight  = l_document->create_simple_element(
                        name = 'flight'
                        parent = l_element_airline  ).
          Create attribute 'number' of node 'flight'
            l_value = l_spfli-connid.
            l_rc = l_element_flight->set_attribute( name = 'number' value =
    l_value ).
          ENDAT.
        Create element 'from' as child of 'flight'
          CONCATENATE l_spfli-cityfrom ',' l_spfli-countryfr INTO l_value.
          l_element_from  = l_document->create_simple_element(
                      name = 'from'
                      value = l_value
                      parent = l_element_flight  ).
        Create attribute 'airport' of node 'from'
          l_value = l_spfli-airpfrom.
          l_rc = l_element_from->set_attribute( name = 'airport' value =
    l_value ).
        Create element 'to' as child of 'flight'
          CONCATENATE l_spfli-cityto ',' l_spfli-countryto INTO l_value.
          l_element_to  = l_document->create_simple_element(
                      name = 'to'
                      value = l_value
                      parent = l_element_flight  ).
        Create attribute 'airport' of node 'from'
          l_value = l_spfli-airpto.
          l_rc = l_element_to->set_attribute( name = 'airport' value =
    l_value ).
        Create element 'departure' as child of 'flight'
          l_value = l_spfli-deptime.
          l_element_dummy  = l_document->create_simple_element(
                      name = 'departure'
                      value = l_value
                      parent = l_element_flight ).
        Create element 'arrival' as child of 'flight'
          l_value = l_spfli-arrtime.
          l_element_dummy  = l_document->create_simple_element(
                      name = 'arrival'
                      value = l_value
                      parent = l_element_flight ).
        Create element 'type' as child of 'flight'
          CASE l_spfli-fltype.
            WHEN 'X'.
              l_value = 'Charter'.
            WHEN OTHERS.
              l_value = 'Scheduled'.
          ENDCASE.
          l_element_dummy  = l_document->create_simple_element(
                      name = 'type'
                      value = l_value
                      parent = l_element_flight ).
        ENDLOOP.
        IF sy-subrc NE 0.
         MESSAGE 'No data into db table ''spfli'' type 'E'.
    please run program
    ***''SAPBC_DATA_GENERATOR'' with transaction ''SA38''' TYPE 'E'.
        ENDIF.
      Creating a stream factory
        l_streamfactory = l_ixml->create_stream_factory( ).
      Connect internal XML table to stream factory
        l_ostream = l_streamfactory->create_ostream_itable( table =
    l_xml_table ).
      Rendering the document
        l_renderer = l_ixml->create_renderer( ostream  = l_ostream
                                              document = l_document ).
        l_rc = l_renderer->render( ).
      Saving the XML document
        l_xml_size = l_ostream->get_num_written_raw( ).
        CALL METHOD cl_gui_frontend_services=>gui_download
          EXPORTING
            bin_filesize = l_xml_size
            filename     = 'c:\temp\flights.xml'
            filetype     = 'BIN'
          CHANGING
            data_tab     = l_xml_table
          EXCEPTIONS
            OTHERS       = 24.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    Regards,
    Prasad.

  • Is there any tool that export/imports db schema in xml?

    Hi all,
    Do you know if there is a open soource library/tool that exports the schema of a database in a xml formatted file and then imports it back?
    Could you please suggest me one?
    thank you in advance, Kostas

    What advantage is there to exporting it in XML? What does that buy you? Why isn't importing/exporting the SQL enough? All databases don't treat SQL the same, let alone an XML definition.
    Not sure what you're getting at here.
    Hibernate can create a database schema from an object model, given the right annotations, using XDoclet. It also helps with portability, because it "knows" about the common database dialects.
    Maybe you need to learn Hibernate.
    %

  • Help needed  while exporting crystal reports to HTML file format using java

    Help needed  while exporting crystal reports to HTML file format using java api(not using crystalviewer).i want to download the
    html file of the report
    thanks

    the ReportExportFormat class does not have HTML format, it has got to be XML. Export to HTML is available from CR Designer only.
    Edited by: Aasavari Bhave on Jan 24, 2012 11:37 AM

Maybe you are looking for

  • MBP (Mid-2012) Shuts Down While Attempting to Start Up (HardDrive I/O Error)

    Hey guys, I've been having some issues with my mid-2012 MBP (8 GB's RAM, 750 GB HardDrive). It has the latest version of OS X Yosemite installed. About a month ago, I turned on my MBP, typed in my password and it began loading the operating system. T

  • When do we get 32 Bit Multi touch Drivers? (Windows 7)

    Computer: HP TX2z Operating system: Windows 7 Home I am a little frustrated that over six weeks after the release of the 64 Bit drivers for our multi touch screens there is still nothing available for us 32 bit users. All I see is comments that they

  • Inappropriate ioctl for device

    Hello, I have some zones set up in solaris 10. When i try to scp a file to any of the zones, i get the following error: "shell-init: error retrieving current directory: getcwd: cannot access parent directories: Inappropriate ioctl for device" 1. /exp

  • Upgrading MR 10.1.0.5 ?

    We currently have installed Oracle AS (10.1.2.0.2) with Portal (10.1.4.0.0), SSO, OID, a Portal Repository and a MR (10.1.0.5). We wish to CPU patch these and will be patching to Oracle AS 10.1.2.2.3 to allow us to achieve this, is it possible to upg

  • Game not working in OS 9?

    Hi all! I'm trying to play the old game Munchies on OS 9/Classic via OS X, and it opens fine, but kind of freezes up and doesn't work when the game gets going. Anyone know why? To open it, I just click the program icon from my desktop. I just install