How to design an ontology?
On a project we describe the meta data by RDF by using SIOC, FOAF, SKOS namespaces. After this step what we need to do to design an ontology for collaborate these informations? ...
On a project we describe the meta data by RDF by using SIOC, FOAF, SKOS namespaces. After this step what we need to do to design an ontology for collaborate these informations? ...
I have an application that lets users publish unstructured keywords. Simultaneously, other users can publish items that must be matched to one or more specified keywords. There is no restriction on the keywords either set of users may use, so simply hoping for a collision is likely to mean very few matches, when the reality is users migh...
Consider: args = ['-sdfkj'] print args for arg in args: print arg.replace("-", '') arg = arg.replace("-", '') print args This yields: ['-sdfkj'] sdfkj ['-sdfkj'] Where I expected it to be ['sdfkj']. Is arg in the loop a copy? It behaves as if it is a copy (or perhaps an immutable thingie, but then I expect an error would ...
Which HTML tags would you use to describe table like this: +--------+---------+---------+---------+ | TH1 | TH2 | TH3 | TH4 | +--------+--------+---------+---------+---------+ | TR1 | str1 | 1 | 1 | 1 | +--------+--------+---------+---------+---------+ | TR2 | str2 | 1 |...
Making a search result list (like in Google) is not very hard, if you just need something that works. Now, however, I want to do it with perfection, using the benefits of HTML5 semantics. The goal is to define the defacto way of marking up a search result list that potentially could be used by any future search engine. For each hit, I w...
The fields in my form have a label, some help text, some example text, and some contextual text. <!--With Help and Example--> <li> <label for="ingredients">Ingredients</label> <br/><!--Is this good practice?--> <span class="help">Enter one ingredient per line.</span> <br/> <textarea id="ingredients" name="ingredients...
It occurred to me today that although I've adopted and don't infrequently use the term "semantics" when referring to language elements and naming conventions, I don't have any sense of a formal definition. My attempt to find a formal definition in the programming domain made my eyes glaze over. I have a sense of its meaning from the co...
I have a database where various student musicians have their specialisms and departments listed (for example somebody could specialise in violin in the Historical Performance department). Also for example, consider Johann Sebastian Bach - he is a musician and composer in the Baroque style. Logically perhaps I'd want his specialism to fal...
This is a question I have been struggling with for a while. What is the proper way to mark up name/value pairs? I'm fond of the <dl> element, but it presents a problem: There is no way to separate one pair from another - they have no unique container. Visually, the code lacks definition. Semantically, though, I think this is the correct...
Did you ever submit a link in your Facebook status? When you do, they do something very nice: They get a title, summary, and bunch of relevant images from that page, and you can choose one of them as thumbnail. I need something like that right now. Is there any open-source piece of code that does this? (It needs to be in Python because ...
Is it possible (using HTML5 Shiv, for example) to implement HTML5 on a Webforms-based platform? Will ASP.NET Webforms allow the developer to semantically mark up a page using the new HTML5 elements? ...
I am going to begin my final year at university this September so I need to do a project for my dissertation. I had a look at the list with the projects suggested by the uni last year and I don't find any of them THAT interesting. That, combined to my "love" for "theoretical" computer science as a whole got me into thinking that it would...
I'm using the pellet reasoner on a number of ontologies and have run the info method on a list of IRIs (in this case URLs). The two metrics that interest me are the DL Expressivity and OWL Profile. The OWL Profiles I'm getting range from "OWL 2," "OWL 2 DL," "OWL 2 EL," "OWL 2 QL," "OWL 2 RL." When is says "OWL 2," does that mean the o...
I'm analyzing some ontologies with the pellet reasoner, but I'm getting some strange results. When I perform the "pellet info" method on an ontology, and compare the OWL Profile to the DL Expressivity, I sometimes get ontologies that have different expressivities bu the same profile. That seems at least plausible, but then I am also find...
I keep coming across the use of this word and I never understand its use or the meaning being conveyed. Phrases like... "add semantics for those who read" "HTML5 semantics" "semantic web" "semantically correctly way to..." ... confuse me and I'm not just referring to the web. Is the word just another way to say "gr...
How much of the concepts conveyed in natural language is RDF/OWL able to represent? I'm still learning RDF and other semantic technologies, but as I currently understand it, information is typically represented as triples of the form (subject,predicate,object). So I can imagine how the sentence "Bob has a hat" might be represented. Howev...
As I understand it, when you use the shorthand property background, the browser first sets all background properties to their default values and then puts in the values that you're declaring. Is it then better to use background-color:white; instead of background:white? Does this change when you are putting in more values such as backgrou...
Consider the following regular expressions: 7+ (7)+ Does anyone that is very familiar with regular expression theory in Mathematics agree that the two regular expressions are semantically the same? ...
Most of the time it makes sense to organize table data in rows. However right now I'm dealing with a table that compares data across several columns. Each column is a product, so I'd like to keep all product data grouped together. <tr> <td>Name</td> <td>Price</td> <td>Weight</td> <td>Height</td> <td>Compatibility</td> <td>...
Let's say you have a tab view controller on the navigation controller view stack. (For the sake of argument.) Your tab controller has an array of view controllers for each of its tab views. Your tab controller's navigationController is clearly set to the nav controller (since its view is on the stack.) But would you set the navigationCo...