Merge Ontology with Protege-OWL API - protege

I used protege to create two ontology and I save as A.owl, B.owl. I know that the protege-4.0 can merge many ontology. I want to use protege-owl API to merge ontology A.owl and B.owl to C.owl; But I don't know how to do it.
Could you help me. Thank you very much.

Assume that you have opened A.owl in Protege.
Go to the "Active Ontology" tab.
Click on the plus sign beside the Direct Imports text.
Click on the button for "Direct Imports" and import "B.owl".
Then go to "Refactor" > "Merge Ontologies".
This was done in Protege 5.2.

First load both A and B.
Then go to "Refactor > Merge Ontologies" from the menu.

Related

Use SPFx to modify the 'edit form' from a modern document library

Right now I am learning SPFx for SharePoint Online. My customer wants to modify the 'edit form' of a document library in a way that if a user starts typing keywords into the Summary field, predifined keywords are displayed which share the same letters in the beginning.
I was wondering if I can use SPFx to geht this job done
I thought maybe I can bind the ID of the summary textbox to a javascript file which then does the heavy lifting.
Thank you for your help
Yes, you can create a edit form with SPFx, however, you can't replace the default edit form with the one you created with SPFx.
The only way to replace the default edit form is using PowerApps or InfoPath to create a new form, however, I don't think that we can achieve the goal with these two solution.
Maybe you should create your own list web part, and implement the edit button of the web part, such that the web part will show your edit form with the auto completion.

Web Scraping into Excel

I would like to create a spreadsheet that I can refresh and pull in each weeks English premier League fixtures, each week I would like to refresh this and see the weeks future fixtures. I have tried to use the import function from Data/From Web and selected the box with the table of fixtures however no data gets pulled into the spreadsheet.
The website I am using is - "http://data.7m.com.cn/matches_data/92/en/index.shtml"
I am open to understand a better way of doing this import and also if there is a better website to use I am also happy to change. I have chosen this one as it seems to have the most simplified listing of the fixtures.
I have also tried this website - https://www.premierleague.com/fixtures
When the import completes it actually skips all the fixtures and returns all the other information.
Should i be looking to some of the HTML elements within the script of the web page to extract the data?
For example on the following site - https://www.premierleague.com/fixtures I am looking for a file received by the website that updates the fixtures each week (after some direction from Google) I hit the F12 command and look within the "Network" tab however I cant understand how the website, this or the others quoted create the weekly fixtures.
Any suggestions on how to pull this into Excel or another tool would be fantastic.
Welcome to [so]! it sounds like you haven't done as much research as you could have. Your first link, in the top corner has links to "Free Feed" which take you to customizable widgets and from there is a link to a customizable live template.The first page also has a link to "Data" , I'm not sure what that consists of or whether it will help (since I'm not much of a sports fan on my continent, and even less on yours!
As for importing into Excel, I didn't have an issue with the table I could see, but once again I'm not clear on what data you're trying to get and what you want to do with it.
On the ribbon's Data tab click From Web.
Enter the first URL from your question and hit Enter
When the Navigator window loads, click "Table 1" and then click Load.
Below is what Excel then automatically loaded as a table:
If instead of clicking Load, you were to click Edit then you are brought into the Power Query Editor, where you can customizable tons of stuff. The one I was interested in was Use First Row on Headers. After choosing that, and clicking Close & Load, and 30 seconds of formatting later I had:
With Power Query you can choose, remove, split, or combine columns from this or other tables. It's fairly advanced but you should be able to find a good Power Query tutorial online, to see examples of what you can do, to learn about other ways you can customize the import and/or analysis of the data.
Edit:
More Information:
Here are the instructions for all versions:
Office Support : Connect to a web page (Power Query)

Disable Advanced Filter in Excel 2013

I was wondering if anyone could help me to disable the Advanced Filter option in Excel 2013.
I have used the following to disable all other data ribbon options:
.Protect UserInterfaceOnly:=True
But advanced filter is still able to be selected. With this they can unfilter the data.
The following code used to work in older versions of Excel but I cannot seem to get it to work for Excel 2013:
Application.CommandBars("Worksheet Menu Bar").Controls _
("&Data").Controls("&Filter").Controls("&Advanced Filter...").Enabled = False
If anyone could help me out with this or point me in the right direction then it would be appreciated.
Thanks guys.
Solution Suggested
The approach will be hiding the button from the user interface: the advantage on this solution is that the code is not in VBA (entirely) so, is not that easy for the user to modify it (or know what is going on backstage).
Answer Explanation/Next steps
It's really a deep answer with many steps involved in it so, I'll just post guidance and some useful links, that way you may research about it first.
1. Download Custom UI Editor for Microsoft Office: this helps to modify the user interface for the document.
2. Look for tutorials; start to code there with something basic like adding a tab and a button, (this is a good one)
3. Back to Excel, look for life cycle and custom events, this is a good place to start
4. You'll need to catch the event when the Ribbon is loaded; in that time, you'd need to disable the button, these links (1,2) are useful to show the steps and some example workbooks for it.
5. Locate the ID for the button and disable it (Hint: The idMSO = AdvancedFilterDialog, if you 've followed the previous steps, it will make sense here-).
Further information/Answer Disclaimer
Excel is not a software that can handle security deeply; if you are trying to restrict the user somehow in the original file, you should try other approaches -IG: a copy of a workbook for reference only, while the master one is saved in a sharepoint only modifiable by people authorized for it-.
While FAQ in S.O is strict about referencing to other sites without using a proper reference for it, this is a deep step solution that would take pages to explain even a random example; appealing to the guiding topic, this answer should be ok.

Enterprise Architect edit Class Name before "::"

I used EA to import some source code. However, the name contains name::className. How can I get rid of name? If I highlight name::className it only displays className for editing?
Its an option in EA that you can turn on or off in order to show the namespace.
Check Tool|Options|Diagram and check the option "Disable fully scoped object name"
You can disable 'namespace' at individual diagram level as well. Go to 'diagram' properties-->diagram tab-->uncheck 'show namespace' option.
I know it is dirty but if the imported items need significant massaging, I will rename the .EAP to .MDB and then use sql updates in MS-ACCESS. Once I am done, I rename back to EAP.

How to find which solution has a ribbon button in MS CRM 2011

I have inherited a heavily customised - hardly documented CRM 2011 instance. There are over 80 in-house managed solutions and one of them contains a ribbon button that isn't working as desired.
What is the quickest way to find which solution contains the button?
I'm figuring that I'm going to have to export the most likely candidates unzip them and search through the files in what is looking like the most epic needle and haystack adventure of my life. I would like to avoid this brute force approach if I can.
If you already have a lot of solution, can you add one more :) in that solution you can only include your Application Ribbon component and Case entity. Fix appropriate button and import solution after 80 others.
Hope it helps.
EDIT: But if that is not an option, you can find that in database. Get record in table [RibbonDiffBase] where [RDX] column contains ID of your ribbon button. Then, when you have results, check SolutionId column. You have all solution IDs which have included definition for your ribbon button.
Next, go through [SolutionBase] table and find Name of your solution (based on SolutionID).
I still preffer my first answer, it is more elegant. But, also hope that second part of answer will be helpful.
Try using Ribbon Workbench:
http://www.develop1.net/public/page/Ribbon-Workbench-for-Dynamics-CRM-2011.aspx
You will get an error logg directly when you load each solution, hopefully sith the exact faulty ribbon button also, this is not the case always, mot often!
Good luck

Resources