How can use sameAs property - ontology

I'm using Protege 4.3 to develop my ontology that will include some things that are already described in DBpedia. I read here that I have to use sameAs property, but I could not know how can I do it in protege. Please help me.

For instances, go to the "individual" tab, "description" frame, there's "Same Individual As". There you can see, add and remove individuals that are SameAs others.

Related

Is there a definitive list of properties that can be updated using the JS SDK?

After reading through the docs for the REST API and the JS SDK, as well as the class definitions for the newer partially complete lib on GitHub, I've been unable to find a definitive list of properties that can be updated via the JS SDK when using the .update() method. The only two shown are ActivitySid and FriendlyName - and the other docs have different casing on these properties. I thought casing might not be important, but the source for the JSSDK shows ActivitySid. Can someone please point me in the direction of what properties are actually available with the JSSDK? I'm assuming the best bet is that they match the properties listed here if someone could confirm?
Note: If you're from Twilio and see this, I'd be happy to open a PR with documentation corrections if it's possible. Otherwise, in the description of update() below - ActiveSid isn't a thing and it'd be helpful to see a list of properties for methods or at least a link to them.
Updates properties of a Worker. There are properties of a Worker, such as ActiveSid, FriendlyName, etc.
Thanks!

Adding and deleting contacts as a singular object package (like in Facebook messenger)

The problem I have had with this is just being able to type what I mean in few enough words to find anything meaningful in the internet.
This is what I want (sorry for the low quality image):
Search through a list of contacts, when you click on they are added as a contact package instead of a long name string. If then we click delete next to it then the whole contact is removed. This is the system used by most chat and txting services for adding contacts.
I am hoping that there will be a good github library online or, failing that, that someone can suggest the best way to proceed coding it myself.
Having thought about it somewhat I would think that I would want to treat the object a bit like I would an emoticon. Although it looks like a much longer word we would allocate a string package to the user which when detected would look up their name and output their name in the bubble. If we delete any of the string package then the whole thing becomes void and is deleted.
This is all much easier said than done of course.
So this question is trying to ask two main questions:
What is this actually called (this would be a great start to enable me to get more than 0 search results)
Is there a good github or online library that deals with this, if not then any advice on how to do it manually would be great
Thanks :)
I looked through lots of different libraries which enabled this. The problem about git hub libraries is always that you have to compromise between the one which is the best and the ones which are getting updated and have recent activity.
The one which I settled with and is working out excellently can be found here and is called the VENTokenField
If this link is broken then just search in google for VenTokenField and it is the github library by venmo.
I found it very easy to use:
Add the delegate to your header file: VENTokenFieldDelegate
Create a property in the header file too:
#property (weak, nonatomic) IBOutlet VENTokenField * _tokenField;
I then found the easiest way to set it up was to add a UITextField to the XIB file and class it as a VenTokenField. (don't forget to set the constraints to enable the tokenField to get bigger so constrain the uitableview to the bottom of the field)
Then you just need to link in your search logic but as this is a question about the library and not the code I won't go into it here.
Hope this helps and comment if you are struggling and I'll try to update the answer to make it more comprehensive.

the interface to make the content of the web page viewable in all types of browsers?

I am going to take Microsoft 70-486 (MVC) exam. So i am preparing for it. Came across one most important question asking in 70-486 exam but the answer is different across web, Please help to choose the correct answer.
Question
You are designing an HTML5 website. You need to design the interface to make the content of the web page viewable in all types of browsers, including voice recognition software, screen readers, and reading pens. What should you do?
Annotate HTML5 content elements with Accessible Rich Internet
Application (ARIA) attributes.
Convert HTML5 forms to XForms.
Ensure that HTML5 content elements
have valid and descriptive names.
Use HTML5 semantic markup elements
to enhance the pages.
Use Resource Description Framework (RDF) to
describe content elements throughout the entire page.
In some website it is mentioned as AD is correct answer check this enter link description here and others mentioned ABCD is correct answer check this enter link description here. I am confused between this 2 ans.
I would say that the correct answers are :
Annotate HTML5 content elements with Accessible Rich Internet Application (ARIA) attributes : It is the primary role of the aria attributes !
Use HTML5 semantic markup elements to enhance the pages : To help the screen readers to know that an element is a nav, an article...
Ensure that HTML5 content elements have valid and descriptive names : i.e. to help the screen readers to know that an input is the "FirstName", and not just a "Text input", a better approach is to use a label for the inputs, but after reading this article, it seems that only few screen readers manage the label element.
I'm gonna correct Djoul6's answer a bit.
Ensure that HTML5 content elements have valid and descriptive names.
This is not a correct answer. the name attribute can be whatever, screen readers do not read the name attribute out loud. From the source Djoul6 refered to there was this description. http://www.w3.org/TR/UNDERSTANDING-WCAG20/ensure-compat-rsv.html#namedef
name
text by which software can identify a component within Web
content to the user
Note 1: The name may be hidden and only exposed by
assistive technology, whereas a label is presented to all users. In
many (but not all) cases, the label and the name are the same.
Note 2: This is unrelated to the name attribute in HTML.
The correct answer should be
Annotate HTML5 content elements with Accessible Rich Internet Application (ARIA) attributes.
Use HTML5 semantic markup elements to enhance the pages.
So, correct answers:
Annotate HTML5 content elements with Accessible Rich Internet
Application (ARIA) attributes.
Use Resource Description Framework (RDF) to describe content elements
throughout the entire page.
Please note that the correct answer should be a complete solution for Accessible web application. HTML5 semantic markup cannot be complete solution, this only enhance the pages, also XForms cannot, and even not valid and descriptive names..
I think no question about ARIA attributes, but you can read about RDF - https://www.w3.org/TR/wai-aria/roles
For futher investigation please reffer W3C WAI-ARIA.
My understanding of HTML5 is that its semantic markup is meant to make it readable across browsers and readers. That would point to the 4th answer.

Drupal Translate Taxonomy Terms in views

Please Help
Here is my steps and my problem :
Installed Locale,Taxonomy, Taxonomy translation, Views translation modules
Added vocabulary
Chose this option Localize. Terms are common for all languages, but their name and description may be localized.
Created Terms for this vocabulary and translate them
Created view to display the taxonomies
This works fine if you accessed the term link and changed the language en/taxonomy/term/5 to gr/taxonomy/term/5, but not working when I get the data through views, I searched the whole web for a solution but I couldn't find one!
I found fix for my problem, i hope i can help any one how facing the same problem, using i18n_taxonomy_localize_terms function
https://drupal.stackexchange.com/questions/79037/get-translated-term-name/81047#81047

Example for DevExpress QuantumGrid Master-Detail

Where can I find a basic example of using QuantumGrid 6 of Developer Express in a Master-detail relation.
Thanks in advance.
The DevExpress QuantumGrid page have a very complex and large collection of samples that you can use.
Visit the Knowledge Base section and search for your question.
it's sure that you find somethig usefull.
Regards.
Are you aware of the Master-Detail Tutorial in the help file?
You should find it in "$(DXVCL)\ExpressQuantumGrid 6\Help\EXPRESSQUANTUMGRID6.HLP" I guess.
You need just add a level to your marter data and a sub-level to your detail data.
After do that, select your detail level and set DataControler's properties to:
1- MasterKeyFieldNames to PK of master data;
2- DetailKeyFieldNames to FK of detail data.
If you want handle records you still need define KeyFieldNames with the PK to both levels.
To see a detailed explanation about how do it, open EXPRESSQUANTUMGRID6.HLP e search for "master-detail".

Resources