semantic

How to map subjective data in the semantic web?

I've been looking at the freebase project for storing data. It seems to be a great place to store concrete, objective data like names, locations and dates. Is it a good place to store subjective data like opinions or ratings? Is there another/better open data, semantic data store or strategy for storing and querying this kind of infor...

setting rowspan on colgroup?

Simple (I hope), HTML question. Let's say I have a column group that spans 3 columns. But it also spans 9 rows. But in actuality, I want there to be 3 levels of columns (so basically, 3 columns, split across 9 rows). The only objectives really are: a) avoid embedding tables (for various reasons) b) keep the sections modular. c) allow ...

LSA - Latent Semantic Analysis - How to code it in PHP?

Hello! I would like to implement Latent Semantic Analysis (LSA) in PHP in order to find out topics/tags for texts. Here is what I think I have to do. Is this correct? How can I code it in PHP? How do I determine which words to chose? I don't want to use any external libraries. I've already an implementation for the Singular Value Deco...

Semantic Thumbnail Indication

Given the following link to an image: <a href="path/to/img.jpg">Title</a> What is the most semantically sound method for indicating the location of a thumbnail? The best I could come up with so far is using data- attributes like so: <a href="path/to/img.jpg" data-thumb="path/to/thumb.jpg">Title</a> However, it doesn't seem very se...

What informataion analysis techniques are there for the qualitative analysis of user generated data?

There's a few algorithms we have for sorting data, finding the maximum and minimum, finding the shortest path between nodes etc. I've started looking into the qualitative analysis of user-generated data and have come across latent semantic anaylsis. What other techniques exists for the analysis of textual data ... and possibly other med...

when to use UL or OL in html?

Seems interchangable? ...

Should I make it a priority to semantically mark up my pages? Or is the Semantic Web a good idea that will never really get off the ground?

The Semantic Web is an awesome idea. And there are a lot of really cool things that have been done using the semantic web concept. But after all this time I am beginning to wonder if it is all just a pipe dream in the end. If we will ever truly succeed in making a fully semantic web, and if we are not going to be able to utilize seman...

Ordering your title tags

I haven't found this question, feel free to close if it's already up here. What is you favorite way to set your titles in HTML? <h1> Main Part </h1> <h2> In here there are many sections</h2> <div id="section1"> <h1> Section 1 </h1> <h2> Subtitle </h2> </div> <div id="section2"> <h1> Section 2 </h1> <h2> Subtitle </h2> </div> ...

<p> instead of <br />

I've been wondering if I can use <p>&nbsp;</p> (just space in paragraph) instead of <br /> ... Because I love to keep my code semantic and thought if this is right has been bothering me for a while now. I have seen WYSIWSG editors (TinyMCE) use this, but I still rather ask then do it wrong. ...

Temporal Extraction (i.e. Extract date/time entities from free form text) - How?

Has anyone found a simple, but effective way to extract date references from text? I've done a fair amount of searching for temporal extraction tools, but there isn't a lot out there. There are a few white papers, but it seems to fall into a subset of the whole semantic web thingy but not given much attention. I'm just looking for s...

Treatment of error values in the SQL standard

I have a question about the SQL standard which I'm hoping a SQL language lawyer can help with. Certain expressions just don't work. 62 / 0, for example. The SQL standard specifies quite a few ways in which expressions can go wrong in similar ways. Lots of languages deal with these expressions using special exceptional flow control, or b...

Semantic analysis using Solr

I'm considering about adding semantic analysis to my Solr installation, but I don't exactly know where to start. Basically, I'd like Solr to be able to find "similar" words (taken from the body of the indexed documents). For example, if I search for "music", I should be able to query the semantic engine and obtain "rock", "pop", etc. (o...

What are the basic principles/tenets of semantic web that an architect should know?

Core principles and tenets for designing a system. is this really web 3.0? ...

What are "reduction semantics"? Please explain the use of PLT Redex in layman's term.

Somebody please explain the usage of reduction semantics and the PLT Redex in simpler language. Thanks. ...

RDF integration with C#

Hi, I'm working on a project where i had been asked to do a semantic search. The scenario is a database with a table containing 3 pieces of information, Doctor Name, Patient Name, and Date of Visit. I had been asked to create a form that contains 3 fields: Doctor, Patient and Date. So when a user wants to search for a patient's correspo...

Identifying a Page's Primary Content

Given an HTML page that is a text heavy article, I would like to identify and parse out the primary content. Using http://www.fivethirtyeight.com/2009/08/chavismo-obama-and-monroe-doctrine.html as an example, I want to identify div#post-4438372351887392855, which contains the title and article. I know nothing can be perfect or work 100...

Semantic html structure for a set of image link (with hover effect), title, and description?

i have a set of items (or a list of items, but i don't want to imply the usage of list), they contain an image link, a title, and a description. The image link needs an hover effect (alpha changes when mouse over), and there's a certain way I want to lay out them: image on the left, then title and description on the right. also there is ...

jQuery/PHP and multilingual confirm/alert boxes

Just when I was about to post this question, I came up with an easy solution kind-of-a solution. The problem was that I needed confirmation messages in multiple languages, depending on the selected language by the user. Since I always grab certain information from the HTML, I was trying to do it that way, but got stuck around this point...

pygtk: free variable referenced before assignment in enclosing scope

Very bizarre scoping error which I can't even see. Inside of an updater function, I have a nested helper function to... help w/ something: def attach_row(ws,r1,r2): es = [] for i,w in enumerate(ws): eb = gtk.EventBox() a = gtk.Alignment(xalign=0.0,yalign=0.5) a.add(w) e...

is it good semantic to give a dt more than one dd in the dl?

so i'm thinking something like: <dl> <dt>job title</dt> <dd>job duration</dd> <dd>job description</dd> <dd>company link</dd> </dl> the example is purely make up, so it might not be the best example. but i've come across couple times when there is need for using 2 dd for 1 dt. so do you guys this is good semantic or bad...