How to apply ontology on the existing RDF model
Hi,
I am new to Semantic web technologies.I am facing following issue.
I have installed Oracle 11g with semantic support.
I have few tables which stores customer,products information. eg :CUSTOMER_MASTER,PRODUCT_MASTER.
Now used d2rq client and generated N-TRIPLE files by connecting to the above scheme i.e converted the tuples to triples generated RDF content.
I could store the RDF data into Oracle 11g using the jena APIs. I was successfull till this point.
Now , I have defined an ontology for the above entities using protege. I was able to store the model to Oracle 11g using Jena APIs.
But I am confused with following issues.
1. How can I apply my ontology definition to my existing RDF model.
i.e. - I have created a ontology definition MyOntology.owl and loaded into Oracle 11g name MyOntologyModel.
I already have another RDF model which got generated from the relational table i.e. CustomerRDFModel .
Now, how can I apply MyOntologyModel to CustomerRDFModel and execute meaningfull queries.
While defining the ontology, shall I use the same class names which are used in the CustomerRDFModel ? How can I link my ontology and RDF content ?
eg:- I have a entities such as CUSTOMER_MASTER and PRODUCT_MASTER .Now in my ontology, if I need to bring some ontology definitions , shall I use the same entity names while defining Ontology.
Otherwise, how we can apply ontology on existing relational tables ?
Is it not required to convert the tuples(relational data) to RDF data for running the semantic queries ?
Please provide me some pointers on these issues .
Thanks
Aneesh K
Let me explain it like this:
The triples (data) you automatically generated using D2RQ must conform to some ontology definition (lets use ontology schema in place of ontology definition for easier understanding). I believe D2RQ generates ontology schema/definition also, along with data. Please check once. But if it does not then it is your responsibility to either manually/automatically generate a ontology definition/schema that has the same class & property names (URIs) as what your data (generated thru D2RQ) has.
Once you have a ontology schema and ontology data (that conforms to our schema), you have two options to link them:
1) Load both schema and data to a single ontology model in oracle database.
2) Load them into separate models and while querying you can mention both the models in the query.
But I believe that the database does not do any kind of validation of data against schema in any of the above case (probably because that is what is intended in the W3C OWL specification - no distinction btwn data & schema) . But if you have schema in the database you can actually do a lot if inferencing (RDFS inferencing, OWL inferencing etc..)
Thanks,
Rajesh.
PS: All those Ontology pundits, correct me if I am wrong.
Edited by: rajesh narni on Jul 9, 2010 4:30 AM
Similar Messages
-
how can i import tables from a different schema into the existing relational model... to add these tables in the existing relational/logical model? plss help
note; I already have the relational/logical model ready from one schema... and I need to add few more tables to this relational/logical model
can I import the same way as I did previously??
but even if I do the same how can I add it in the model?? as the logical model has already been engineered..
please help ...
thanksHi,
Before you start, you should probably take a backup copy of your design (the .dmd file and associated folder), in case the update does not work out as you had hoped.
You need to use Import > Data Dictionary again, to start the Data Dictionary Import Wizard.
In step 1 use a suitable database connection that can access the relevant table definitions.
In step 2 select the schema (or schemas) to import. The "Import to" field in the lower left part of the main panel allows you to select which existing Relational Model to import into (or to specify that a new Relational Model is to be created).
In step 3 select the tables to import. (Note that if there are an Foreign Key constraints between the new tables and any tables you had previously imported, you should also include the previous tables, otherwise the Foreign Key constraints will not be imported.)
After the import itself has completed, the "Compare Models" dialog is displayed. This shows the differences between the model being imported and the previous state of the model, and allows you to select which changes are to be applied.
Just selecting the Merge button should apply all the additions and changes in the new import.
Having updated your Relational Model, you can then update your Logical Model. To do this you repeat the "Engineer to Logical Model". This displays the "Engineer to Logical Model" dialog, which shows the changes which will be applied to the Logical Model, and allows you to select which changes are to be applied.
Just selecting the Engineer button should apply all the additions and changes.
I hope this helps you achieve what you want.
David -
How to find time in the existing sap system
Hello all,
How to fine time in the existing sap system;where do find the define time in img;plz help me.
what is the difference between logical system and client?
plz sugest me
thanks in advanceDear Sameer
Go to STZAC where you set Time in IMG.
Thanks
G. Lakshmipathi -
I have enabled photostream on my imac but only a small selection of old photos from my iphone have streamed through. How do i get all the existing photos from both my iphone and ipad onto my iMac?
This usually happens because iCloud only keeps photo stream photos for 30 days (even though your last 1000 photos will remain on your phone until deleted). When you enabled photo stream on your Mac you only received photo stream photos from the last 30 days.
To get older photos to your Mac, create a shared photo stream containing them and invite yourself as a subscriber (see http://help.apple.com/icloud/#mmc0cd7e99). The be sure you check Shared Photo Streams in iPhoto>Preferences>Photo Stream. You can then import them to your iPhoto library by opening the shared photo stream album in iPhoto, then going to Edit>Select All, Control-clicking on any of the selected photos and selecting Import. -
How to apply Qos in the precedence of cache server
m in an isp and iwant to apply the QOS to enhance my network internet performance
actually i have two requests , i will start with showing brief topology about my network and start asking the questions .
here is the topology below :
from the topology above , my access is only on R1 which is BGP internet gateway router and R2 is my ISP router.
1- i want to apply Qos on R1 so that a subnet of 32 ips to have gurantee bandwidth of 30M .
assume the subnet is 10.20.30.0/27 that need to be bw gurantee .
2- i want the download traffic by idman or ftp on my Router R1 dont exceed 50 % of my total bw .
i mean that i have 450M bandwith from my isp , & sometimes we have a slow in browsing , so i want to enhance the browsing quality because its more important that downloading files from internet.
here is my two requests above , i dont know how it will work with the precedence of the cache server .
anyway , i will paste my config of router and i will replace my puplic ips with xxx for privacy .
7200Gateway#sh run
Building configuration...
Current configuration : 10149 bytes
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
hostname 7200Gateway
boot-start-marker
boot-end-marker
logging message-counter syslog
logging buffered 50000
enable secret xxxxxxxxxxxxxx
no aaa new-model
ip source-route
ip wccp 80 redirect-list CACHE80
ip wccp 90 redirect-list CACHE90
ip cef
no ip domain lookup
ip accounting-threshold 4294967295
login block-for 180 attempts 3 within 60
login quiet-mode access-class telnet
login on-failure log
login on-success log
no ipv6 cef
multilink bundle-name authenticated
username xxxxxx password xxxxx
archive
log config
hidekeys
interface GigabitEthernet0/1
description LAN
bandwidth 230000
ip address 10.160.150.2 255.255.255.0
ip wccp 80 redirect in
ip policy route-map CACHE-REDIRECT
load-interval 30
duplex auto
speed auto
media-type rj45
negotiation auto
interface FastEthernet0/2
no ip address
shutdown
duplex auto
speed auto
interface GigabitEthernet0/2
description Cache
bandwidth 150000
ip address x.x.x.x 255.255.255.248
ip wccp redirect exclude in
load-interval 30
duplex auto
speed 1000
media-type rj45
negotiation auto
interface GigabitEthernet0/3
description Internet
bandwidth 230000
ip address x.x.x.x 255.255.255.252
ip wccp 90 redirect in
load-interval 30
duplex full
speed 1000
media-type sfp
negotiation auto
router bgp zzzzzzz
no synchronization
bgp log-neighbor-changes
network xxxx mask xxxxx
network xxxx mask xxxx
network xxxx mask xxxxx
network xxxx mask xxxx
network xxxx mask xxxxx
network xxxx mask xxxx
redistribute connected
redistribute static
neighbor zzzzzzzz remote-as zzzzzzz
neighbor zzzzzzz password zzzzzzz
neighbor zzzzzz route-map Pipo out
no auto-summary
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 xxxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
no ip http server
no ip http secure-server
ip flow-top-talkers
top 200
sort-by bytes
cache-timeout 5000
ip access-list extended bb
permit ip xxxx.xxxx.xx.0 0.0.1.255 any
ip access-list extended CACHE80
permit tcp xxxxxxx any eq www
ip access-list extended CACHE90
permit tcp any xxxxx.0 0.0.0.255
ip access-list extended pipo
permit ip xxxxx xxxxxxx any
permit ip xxxxx xxxxxxx any
ip access-list extended private
permit tcp 172.16.0.0 0.0.255.255 any eq www
permit ip 10.20.30.0 0.0.0.255 any
ip access-list extended telnet
permit ip xxxxxx xxxxxxx.255.255 any log
permit ip xxxx xxxxx 0.0.0.255 any log
ip prefix-list bb seq 5 permit xxxxx
ip prefix-list bbseq 10 permit xxxxxx
logging history size 500
no cdp run
route-map pipo permit 10
match ip address prefix-list pipo1
route-map pipo permit 20
match ip address prefix-list newsubnet
set metric 500
set origin incomplete
set as-path prepend xxxxxxxxx
route-map permit 10
match ip address prefix-list bibo
route-map CACHE-REDIRECT permit 10
match ip address private
set ip next-hop 1vvvvvv
route-map CACHE-REDIRECT permit 20
match ip address bibo e1
set ip next-hop vvvvvv
route-map CACHE-REDIRECT permit 30
match ip address pipo
set ip next-hop vvvvvvvvvv
route-map CACHE-REDIRECT permit 100
snmp-server community xxxxxx RO
control-plane
dial-peer cor custom
line con 0
password xxxxxxxx
logging synchronous
login
stopbits 1
line aux 0
stopbits 1
line vty 0 4
exec-timeout 60 0
password xxxxxxxxxxxxxxxxx
logging synchronous
login local
endHi Vinay,
Please check the program. I have used the replace statement but it is not working.
IF NOT v_sap_bom_rec IS INITIAL.
Spliting the records at '~' delimiter
SPLIT v_sap_bom_rec AT c_del INTO wa_bom_file-model_name
wa_bom_file-product_code
wa_bom_file-description
wa_bom_file-product_type
wa_bom_file-mfg_part_num
wa_bom_file-mfg_part_desc.
REPLACE cl_abap_char_utilities=>horizontal_tab IN wa_bom_file-mfg_part_desc WITH space .
wa_bom_file-status = c_status.
APPEND wa_bom_file TO i_bom_file.
But it is not working.
Please help me..
Thanks
Neelima -
How to add id to the existing Authorization Object
Hi,
I want to add one id to the existing Authorization Object,How to add this?
Here is my Object and existing ID's
authority-check object 'Z_W2WALL' for user sy-uname
id 'ZFREEZE' field r_freeze
id 'ZLI01' field r_li01
id 'ZLI11' field r_li11
id 'ZLI14' field r_li14
id 'ZLI11R' field r_li11n
id 'ZLI20' field r_li20
id 'ZMI10' field r_mi10
id 'ZUPLOAD' field r_upload
id 'Z_ARTFRZ' field r_artfrz.
Now for this i want to add
id 'Z_BIN' field r_frz.
How to do this?
ThanksHi Sai,
as there are already defined other id's have been added, you could also do the same way
but this will also done through your basis end, where for this id your basis team will provide the
authority to this id for the same purpose..
authority-check object 'Z_W2WALL' for user sy-uname
id 'ZFREEZE' field r_freeze
id 'ZLI01' field r_li01
id 'ZLI11' field r_li11
id 'ZLI14' field r_li14
id 'ZLI11R' field r_li11n
id 'ZLI20' field r_li20
id 'ZMI10' field r_mi10
id 'Z_BIN' field r_frz
id 'ZUPLOAD' field r_upload
id 'Z_ARTFRZ' field r_artfrz. -
How to add subpartitions to the existing subpartition template
Hi All,
My Question is ,how to add Subpartition to the exiting subpartition template. e
like i have created a table with subpartition template with with 5 subpartitions like
subpartiton one_1 value (121)
subpartition two_2 value(122)
and now i one to add one more subpartitin to the existing subpartition template(Like modify the existing subpartition templete).
subpartition three_3 value(123)
Could any suggest me.
Thanks
Sree>
My Question is ,how to add Subpartition to the exiting subpartition template.
>
Follow the example in the section for 'Modifying a Subpartition Template' in the VLDB and Partitioning Guide
http://docs.oracle.com/cd/E11882_01/server.112/e25523/part_admin002.htm#i1007904
>
You can modify a subpartition template of a composite partitioned table by replacing it with a new subpartition template. Any subsequent operations that use the subpartition template (such as ADD PARTITION or MERGE PARTITIONS) now use the new subpartition template. Existing subpartitions remain unchanged.
If you modify a subpartition template of an interval-* composite partitioned table, then interval partitions that have not yet been created use the new subpartition template.
Use the ALTER TABLE ... SET SUBPARTITION TEMPLATE statement to specify a new subpartition template. For example:
ALTER TABLE emp_sub_template
SET SUBPARTITION TEMPLATE
(SUBPARTITION e TABLESPACE ts1,
SUBPARTITION f TABLESPACE ts2,
SUBPARTITION g TABLESPACE ts3,
SUBPARTITION h TABLESPACE ts4 -
How to add tags to the existing XML file?
Hi,
I have a requirement wherein I have to add a tag to the existing xml data.
For Eg:
<ROW>
<EVNT_ID>7333976</EVNT_ID>
<DISTRCT_CD>67</DISTRCT_CD>
<TIME_OFF>06-May-2008 10:50:04 AM</TIME_OFF>
</ROW>
The desired output is,
<DI_DATA>
<ROW>
<EVNT_ID>7333976</EVNT_ID>
<DISTRCT_CD>67</DISTRCT_CD>
<TIME_OFF>06-May-2008 10:50:04 AM</TIME_OFF>
</ROW>
</DI_DATA>
I have to add <DI_DATA> </DI_DATA>at the start and end of the input.
Could any of you help me on this?
Thanks,
GVIf your XML is just in a CLOB, you can just use string manipulation to prepend/append the nodes on. If you have it in an XMLType you could just do the following
select appendchildxml(XMLTYPE('<DI_DATA/>'),
'DI_DATA',
XMLTYPE('<ROW>
<EVNT_ID>7333976</EVNT_ID>
<DISTRCT_CD>67</DISTRCT_CD>
<TIME_OFF>06-May-2008 10:50:04 AM</TIME_OFF>
</ROW>')) -- this would be your variable
from dual;which will put your data within the DI_DATA node. -
How can you globally keep the existing origin points in CS4 files.
Is thre a way to globally keep the existing origin points in CS4 files.
I understand that there are now Global Rulers and Artboard Rulers in Illustrator CS5 -
...but ALL the origin points in our current Illustrator documents (saved in CS4) that we use as templates for new work (last count, over 300!) and in all archived completed work have all moved to the top left of the page. All these documents were saved with different origin points to define non printing objects on the page such as our custom slug line and colour bars. Do we have to open and re-save each document with a new Global origin.I am in a similar situation, but with thousands of Illustrator files with 0,0 origins placed at the bottom left of objects. Now when I open a legacy document and change to global rulers, the Y axis above 0 are now negative values, they were positive in CS4 and earlier. My X values are correct.
Is there a way to reverse the rulers so I don't have to enter negative values for everything above 0? Or is this a feature request / bug fix that needs a lobby? -
How to setup message type in existing distribution model?
hi,
how to setup (add) message type in existing distribution model?
thanks & regards
RubanHi,
Please try these ...
1. Go to transaction BD64.
2. Click on Change button (F9).
3. Place the cursor to the corresponding model view.
4. Click on Add Message Type button (CTRL+F7).
5. Enter the corresponding Sender, Receiver and Message Type then click on continue button.
6. Click Save button (CTRL+S).
Regards,
Ferry Lianto -
How to install odm in the existing database
I need to reinstall my odm schema in 10.1.0.3, how can I do it? I dropped user dmsys, but I do not known, which scripts im $OH/dm/admin directory should be started to install new repository? I reviewed some of this scripts and I have seen, that:
1. catdm.sql is running as ODM, catodm.sql and catodm1.sql as DMSYS. Which is the right owner of the repository?
2. some of the scripts should be started as user sys and make 'alter session set current schema = "DMSYS". But if the user dmsys does not exist, the script continues to create all dm objects in the sys schema - strange! You should catch this error.
Thanks
RobertSince ODM 10.1.0.3 is part of RDBMS 10.1.0.3 patchset release, the supported way to apply ODM 10.1.0.3 is to reinstall ODM 10.1.0.2 via ~dm/admin/dminst.sql, then run ~dm/admin/odmpatch.sql to apply ODM 10.1.0.3.
-
How to apply Site Policy to existing site collection?
Dear all,
I login as one of site collection's owner. In site settings -> Site colletion Administration -> Site policies, I created a site policy. But I cannot find anywhere to apply this policy. Did I misunderstand how site policy work? Thanks.
MarkHi Mark,
Please check the "Using the Site Policy" section under -
http://blog.cloudshare.com/2013/08/13/site-policies-in-sharepoint-2013/
Hope this helps.
Thanks & Regards Posting is provided "AS IS" with no warranties, and confers no rights. -
How to apply branding in the Flash object
Hello everyone,
How we can apply the CSS to the flash object in Nakisa 3.0 (orgchart). for example changing colors fonts, etc..
BrHi Ibrahim,
These elements cannot be changed without an enhancement from Nakisa. They have to include your new fonts/colours into the flash module. You must contact them directly to findout if/how/when this can be done and for what cost.
Best regards,
Luke -
How to automate refresh of the existing Xcelsius 4.5 dashboard
Hi,
I have bunch of dashboards developed in 4.5. These dashboards are manually refreshed via updating the spreadsheets and importing and exporting to swf file. Now my company wants all this process to be automated. I would like to know more about automation i.e about QAWS option etc ?Information like what are components I need to implement this automation and how to do etc. Please help. Thanks,Veena.Hi Veena,
I can provide feedback on Liveoffice at the moment.
Here is a summary of the steps.
1. Install Liveoffice (once you install this you will see a Liveoffice menu in excel)
2. Create the webintelligence reports (or crystal reports) that fetch the required data.
3. From excel go to Liveoffice >> Insert >> Web Intelligence Content (or crystal)
4. Select the required webi reports/tab/table.
5. This will bring the data into the excel file. (you can set options to refresh your data here within the Liveoffice component)
6. Use this excel file for your dashboard.
7. Insert a Connection Refresh button from Xcelsius.
These are high level steps, you might need more details for setting up connection to the server in question.
I believe you might be able to fish out some more detailed documentation elsewhere on this website.
Yes, it would mean that you have to create all the web intelligence reports in question if you already do not have those.
Hope this helps.
Edited by: Naresh Ganatra on Mar 10, 2009 9:41 PM -
How to install EP on the existing engine in NW04S-test
Pls help with the steps.
Message was edited by:
Rajesh TumkurHi
You can do so.You have to select EP as well as AS Java when you run sapinst.During the installation it will ask whether you want to create a new instance or install it on ur existing instance.That time you give the details of your existing instance.
Maybe you are looking for
-
Problem with User Command in alv report
Hi I have developed a ALV grid report with drill down capability to transaction code for user command. I am having a trouble with this. CASE ucomm. WHEN '&IC1'. CLEAR: wa_import. IF selfield-fieldname EQ 'ANLN1'. READ TABLE t_
-
Hardware - iMac 27 inch (Model 11,1 - late 2009), Processor 2.8 GHz Intel Core i7, Memory 16 GB 1067 MHz DDR3, OS X 10.9.3 (13D65), Storage Capacity 2 TB (Available 1.86 TB) Background (1) Me - I'm 72 years young, and am trying desperately to catch u
-
This should be an easy question to answer... If I have a printer connected to an Airport Express Base Station, can I print to it (from a MacBook Pro) and connect to the internet via a Linksys Base Station at the same time? I won't have to swap my Air
-
SharePoint Custom New Form with DataForm Webpart SharePoint 2010
Hi Guys, i have a Problem with my Custom NewForm.ASPX. I Created a CustomForm like this Guide: http://www.ilikesharepoint.de/2013/11/sharepoint-create-custom-list-forms-with-visual-studio-part-2/ Problem Now i set the DataFormWebpart for the Webpart
-
Web Dynpros -- possible to call a SAPGUI operation?
We're developing an Web Dynpro application in which it would be appropriate to invoke a "SAPGUI" operation, such as a TCode (ex., SE09), a call dialog, or a function module which displays a useful pop-up. Is this possible from a Web Dynpro? Our attem